[Tex/LaTex] Can’t write on file *.pdf

miktexpdftex

I can no more compile any of my tex files, they all generate an error "can't write on file *.pdf". I suspect a Windows update (it occurred just after that) but I am not sure and I cannot find any reason for that…

Even the simple "hello world" does not work and generates the same error:

\documentclass{article}
\begin{document}
hello
\end{document}

I am using Windows 10 and Texmaker. I know that Adobe can lead to this error but the PDF is neither open, nor created on my computer.

So, the file is not open, I have reinstalled both Miktex & Texmaker, I am not using Dropbox & co, I tested with other editors leading to the same result, searched on google for hours, restarted my computer many times, I have enough space on my computer.

But I am now lacking solutions… Does anyone have a suggestion ?

Best Answer

The last two who had this error had a problem with a virus program kicking in (Avast in both cases).

See e.g. https://github.com/MiKTeX/miktex/issues/585