[Tex/LaTex] Uninstalling MiKTeX 2.9


I installed MiKTeX 2.9 on windows 7 but I was not able to compile files in Texmaker. Then I installed TeX Live, which is working fine. Now when I try to uninstall MiKTeX from Control panel, it gives following error: "Windows API error 5: Access is denied".
How to uninstall it now. I am beginner in LaTeX.

Best Answer

I suppose you have a standard installation. Go to C:\Program Files\MiKTeX 2.9\miktex\bin\x64\internal\. Right-click on uninstall_admin.exe and select Execute as Administrator.

If you have MiKTeX 32 bit, go toC:\Program Files (x86)\MiKTeX 2.9\miktex\bin\x64\internal\.