# MikTeX 2.9 does not respond under Windows 10 Pro 64 bit

Two weeks ago I installed MiKTeX 2.9 64 bit on my laptop with OS Windows 10 Pro 64 bit. When working a while on a document (article) MiKTeX all of a sudden no longer responds. This invariably happens when I activate a menu option (for example to compile or to enlarge the pdf compilation) or simply when moving the mouse across the menu bar. The program seems to 'hang' itself. Both screens, code and pdf (I use the option pdfLaTeX when compiling), are visible and can be clicked down to the taskbar, but that's it. Closing the program, saving the work, using menu options and working in the document is no longer possible. No error or warning messages appear. The only option left is closing the program using the task manager, and then start it up again. But after a while the problem reoccurs. What goes wrong here? The installation went fine. I tried, but to no avail: - uninstall MiKTeX 2.9 64 bit and install MiKTeX 2.9 32 bit; - updating MiKTeX 2.9 64 bit and 32 bit; - running or not running other programs at the same time as MiKTeX 2.9. I previously worked with MiKTeX 2.9 32 bit on a desktop with Windows Vista Ultimate 32 bit and experienced no problems. Does someone have an idea?

Cor Vermeulen The Netherlands

• What does mean "working on a document"? You used an editor? Which one? Do you have a log file? If yes, what does it shows? Errors, warnings, ... Please explain better what exactly you did. Did you tried another code, a simple "Hello Word" to compile? – Kurt Feb 10 '16 at 19:07
• With "working on a document" I mean that I'm typing text, formula's etc. in the code section of MiKTeX. Every few lines I compile it to see if it looks good. After a while the program 'freezes'. No warnings or error messages pop up. After closing down the program with the task manager, I start the program up again. Then everything is normal. I open the document again and I go on entering text, formulas etc. Then the problem reoccurs. The program simply no longer responds. I'm not an experienced user yet. I hope I made clear just what happens. – Cor Vermeulen Feb 10 '16 at 19:34
• Sorry for asking again: "the code section of MiKTeX" means you use an editor to type your code like TeXnicCenter, WinEDT, Notepad++, etc.? Please name the program you use to write the code. I guess it is more a problem of your used editor and not MiKTeX. – Kurt Feb 10 '16 at 19:39
• I'm sorry. I really don't understand your comment. I'm not using an editor. I'm just using MiKTeX, the program itself. There I type what I mean. Then I compile it in a pdf file. In other words: I open TeXworks and create a new or I open an existing LaTeX file. – Cor Vermeulen Feb 10 '16 at 19:58
• Aha, okay. You are using the editor TeXworks, that has been installed with MiKTeX. TeXworks calls at last MiKTeX to compile your code. So please open a new file, call it HelloWorld.tex with the code \documentclass{article} \begin{document} Hello World!\end{document} and compile. Result? If TeXworks can not compile, please use the terminal and compile with the command pdflatex HelloWorld.tex. Result? Please check if you got a log file HelloWorld.log. Check it for errors or warnings. – Kurt Feb 10 '16 at 20:05

Well, it seems that your installation of MiKTeX has problems. I do not use Windows 10, but I had an similar problem with Windows 8.1.

I got from time to time error messaged from windows 8 that an application crash happend. Please check your system panel for error messages and report them to the MiKTeX support.

At last I got rid of this problem by doing the following things:

1. uninstall MiKTeX and editors
2. Reboot windows
3. I forced an update of windows
4. Reboot windows
6. Install MiKTeX. Please make sure, that the installation is complete. It could happen, that the downloading and installing of MiKTeX can be interrupted by an unreachable download server (one student of mine had to restart the MikTeX installer for 11 times!).
7. Reboot windows
8. Run the package manager of MiKTeX (you have to do that, the installer does not always install the current versions of packages. The package manager checks that and show you all packages with newer versions available.
9. Reboot windows. Check if you got unusual windows errors with the system panal.
10. Test MiKTeX with commandline and compile your HelloWorld.tex with pdflatex HelloWorld.tex. Check the log file for errors or warnings. There should be none of them.
11. Download the installer for your prefered editor and install it. Check that the installation is complete. If you need to configure the editor do it.
12. Reboot windows to make sure the new program can work properly.
13. Test your editor compiling HelloWorld.tex. Check the log file again. There should be no warnings or error messages.

I ask you to do the reboots to be sure windows had finished the installing and updating MiKTeX. All my students following this advice have no problems running MiKTeX.

It seems that windows needs the reboots to be able to finish the installation process. If you omit the reboot it can be that the installing is not finished and that results in variing error situations.

• Short summary: {reboot windows}\loop. – A Feldman Apr 12 '16 at 12:41
• @AFeldman Sorry should that be funny or do you just not know windows and the problems with installing programs with windows? – Kurt Apr 17 '16 at 19:28
• That was supposed to be funny. I am well familiar with the problems you addressed in your answer. – A Feldman Apr 17 '16 at 21:00
• @AFeldman Well, do you think it is then worth to be upvoted? – Kurt Apr 18 '16 at 18:50
• Absolutely plus 1. – A Feldman Apr 19 '16 at 1:28

Uninstall the existing MiKTeX from your system and download the latest MiKTeX 'basic miktex-2.9.5872 64 bit and install the same in your system. After installation open the texworks editor (coming along with miktex) and navigate to edit >> preference. A popup will come. In that go to typesetting and check that if the path is correctly set.Then in text editor create one file called first.tex with the code \documentclass{article}\begin{document} Hello world to \LaTeX \end{document}and then compile with pdflatex command. It will work.