I installed PGF but are unable to compile the following document:
\documentclass[10pt]{article}
\usepackage{pgf,tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) --(1,2);
\end{tikzpicture}
\end{document}
This is the console output:
initexmf.exe: Windows API error 5: Access is denied.
initexmf.exe: Data: C:\
texify.exe: The operation failed for some reason.
texify.exe: Data: C:\Program Files\MiKTeX 2.9\miktex\bin\initexmf.exe
What to do?
Access is deniedmight be caused by that. Did you tried to reboot and try it again? Under Windows this is always good advice. – Martin Scharrer Apr 13 '12 at 17:41initexmf --admin --update-fndbin the console as mentioned in the link. – Martin Scharrer Apr 13 '12 at 17:43