I tried to install MikTex 2.9 on windows 8.1, but the operation failed with the following error:

MikTex setup wizard

The operation failed for some reason

Details: C:\Program Files (x86)\MikTex2.9\miktex/bin\initexmf.exe

Does anyone know how to fix this please ??

  • Welcome to TeX.SX! Maybe you can try TeX Live, instead. – egreg Nov 30 '15 at 20:36
  • @egreg problem solved thnx – amira14 Nov 30 '15 at 21:23

Try this,

  1. Right click on My PC/My Computer and select properties. (Should lead to Control Panel\All Control Panel Items\System)

  2. Select "advanced system settings"

  3. Under the advanced tab click "Environment variables"

  4. Find PATHEXE in the user AND system variables. If it's not there, insert .EXE into the lists of extensions. Make sure C:\WINDOWS\System32 is in both of the PATH lists too.

  5. Restart your computer.


  • I tried that and it's working now .. thank you !! – amira14 Nov 30 '15 at 21:21
  • kindly click on the answered (green tick) to help others ! – Sari Dec 2 '15 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.