Page 1 of 1
Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 00:51
by Sopalajo de Arrierez
Hello, friends.
I have a problem when running old DOS programs in Windows XP SP3 and SP2: the process ntvdm.exe takes high CPU times and windows VM guest becomes unusable

I have tryed dos-idle with no results (no difference at all), even starting it in "c:\WINDOWS\system32\AUTOEXEC.NT".
Any help, please?
Thanks in advance.
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 10:28
by stefan.becker
Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results.
http://www.dosbox.com/
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 14:20
by vbox4me2
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 16:21
by Sopalajo de Arrierez
stefan.becker wrote:Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results.
http://www.dosbox.com/
Thanks for your suggestion, stefan.becker, but no luck

. My old DOS program even does not start. When I use DOSBox it just says and gets stuck at:
Code: Select all
DOS/16M Protected Mode Run-Time Version 6.01
Copyright (C) Tenberry Software Inc. 1987 - 1994
Of course, C: drive has benn mounted and has writing permissions, I have checked it.
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 16:23
by Sopalajo de Arrierez
Thanks a lot for your help, vbox4me2. Your idea works great

. Or so it seems.
The look of my DOS windows is a bit different (fonts and so on), but I believe all my problems have now disappeared using TAME DOS.
Thanks you very much.
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 16:34
by stefan.becker
Sopalajo de Arrierez wrote:stefan.becker wrote:Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results.
http://www.dosbox.com/
Thanks for your suggestion, stefan.becker, but no luck

. My old DOS program even does not start. When I use DOSBox it just says and gets stuck at:
Code: Select all
DOS/16M Protected Mode Run-Time Version 6.01
Copyright (C) Tenberry Software Inc. 1987 - 1994
Of course, C: drive has benn mounted and has writing permissions, I have checked it.
Have you installed it in the guest or on the host?
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 18:46
by Sopalajo de Arrierez
stefan.becker wrote:Sopalajo de Arrierez wrote:stefan.becker wrote:Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results.
http://www.dosbox.com/
Thanks for your suggestion, stefan.becker, but no luck

. My old DOS program even does not start. When I use DOSBox it just says and gets stuck at:
Code: Select all
DOS/16M Protected Mode Run-Time Version 6.01
Copyright (C) Tenberry Software Inc. 1987 - 1994
Of course, C: drive has benn mounted and has writing permissions, I have checked it.
Have you installed it in the guest or on the host?
In the guest, of course

. The host is a Linux (Ubuntu) machine.
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 19:03
by stefan.becker
Tht is the problem. DosBox has to be installed on the host. VM in VM does not work. But no problem, you have already a solution.
Re: Running old DOS programs: ntvdm.exe takes 100% CPU time
Posted: 16. Oct 2011, 20:33
by Sopalajo de Arrierez
stefan.becker wrote:Tht is the problem. DosBox has to be installed on the host. VM in VM does not work. But no problem, you have already a solution.
Re-reading your first post, I can see you wrote "directly on the host", indeed

. I had ignored it, because my host is a Linux one, and I need to enable remote connections to the VM (I don't think this could be possible in DOSBox).
Thanks again, stefan.becker.