Microsoft KB Archive/196453

= Troubleshooting NTVDM and WOW Startup Errors =

Article ID: 196453

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q196453



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This is a step-by-step troubleshooter for troubleshooting NTVDM or WOW startup issues. Please note that Sysedit.exe is a 16-bit program available in Windows NT available for troubleshooting these issues. If it starts up, both the WOW and NTVDM DLLs and executables are okay and you need to concentrate on the environmental steps below. If SYSEDIT does not start up, try to run only the MS-DOS shell "command.com" from the command prompt. Please note that, if SYSEDIT does not run, all of the steps below apply.



MORE INFORMATION
 Check the Autoexec.nt and Config.nt for anything unusual or anything that can be commented out. Rename Autoexec.bat. Check for changes in Win.ini or System.ini, or replace by expanding the original files off of the installation media. Rename all other *.ini files if possible  In the Config.nt file, allow only: dos=high, umb device=%SystemRoot%\system32\himem.sys files=60 shell=%SystemRoot%\system32\command.com /e:4096 NOTE:  The default entries off of the installation disk will allow SYSEDIT to run, but other entries as outlined above may be needed for other applications to run.</li> Files has a valid range of: files = 5 to 254.</li></ul> </li> Verify the environment variables by doing either of the following:

<ul> Click Start, click Settings, click Control Panel, double-click System, and then click the Environment tab. In Windows 2000, click Settings, click Control Panel, double-click System, click the Advanced tab, and then click Environment Variables.

-or-</li> Run the SET command at the command prompt and check all environmental variables for nulls, blanks, double equal sign (==) marks, or other unknown entries.</li></ul> </li> Ensure that the path is the same as the default path off of the CD; that is, that there are no entries prepended to the path; if a nonstandard entry is there, remove it.</li> Check path length for lengths after expansion that are near 200 characters. Path is a combination of path in Autoexec.nt and on the Environment tab in the System tool of Control Panel. If the path is over 100 characters, change it for testing.</li> Check the following registry entries. The easiest way is to check them out is to see if they are populated first. (There are some cases where keys or subkeys just disappear.) Then, if the keys are fully populated, do not try to determine the correct values, just download them and load on a test system to see if the problem can be reproduced.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

<ul> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\WOW: Parameters for WOW startup</li> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WOW: System.ini settings</li> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\IniFile\Mapping: Mappings for Win.ini, System.ini, Winfile.ini,Progman.ini, and Control.ini</li> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment: Environment Settings</li> Other INI settings that can be found in the registry: see pages 905 through 908 of the Windows NT Workstation 4.0 Resource Kit.</li></ul> </li> If this does not work, you have missing or corrupted files. (More likely, the files will be corrupted rather than missing; try to replace these first.)

<ul> Ntio.sys</li> Ntdos.sys</li> Ntvdm.exe</li> <li>Ntvdm.dll (3.1 only)</li> <li>Redir.exe</li> <li>Wowexec.exe</li> <li>Vdmredir.dll</li> <li>Krnl386.exe</li> <li>Krnl286.exe (Windows NT 3.1 only)</li> <li>Gdi.exe</li> <li>User.exe</li> <li>Wow32.dll (not in Windows 3.1)</li> <li>Commdlg.dll</li> <li>Version.dll</li> <li>Shell32.dll</li> <li>Gdi32.dll</li> <li>User32.dll</li> <li>Advapi32.dll</li> <li>Compobj.dll</li> <li>Ddeml.dll</li> <li>Ole2.dll</li> <li>Ole2dist.dll</li> <li>Storage.dll</li> <li>Rpcrt4.dll</li></ul>

Under system look for:

<ul> <li>Avicap.dll</li> <li>Avifile.dll</li> <li>Commdlg.dll</li> <li>Keyboard.drv</li> <li>Lzexpand.dll</li> <li>Mciavi.drv</li> <li>Mciseq.drv</li> <li>Mciwave.drv</li> <li>Mmsystem.dll</li> <li>Mmtask.tsk</li> <li>Mouse.drv</li> <li>Msvideo.dll</li> <li>Olecli.dll</li> <li>Olesvr.dll</li> <li>Setup.inf</li> <li>Shell.dll</li> <li>Sound.drv</li> <li>System.drv</li> <li>Tapi.dll</li> <li>Timer.drv</li> <li>Ver.dll</li> <li>Vga.drv</li> <li>Wfwnet.drv</li> <li>Winspool.drv</li></ul>

Missing or corrupted DLLs second step:

If it was not one of those, you can try the DLLs under the following registry key:

Value: Known DLLs; here is the list of the DLLs, but most are in the list above.

At this point, you may want to try the brute force method: do a parallel installation with all updates and just copy over %SystemRoot%\System and %SystemRoot%\System32 from the parallel installation to the new system.

<ul> <li>Comm.drv</li> <li>Commdlg.dll</li> <li>Ctl3dv2.dll</li> <li>Ddeml.dll</li> <li>Keyboard.drv</li> <li>Lanman.drv</li> <li>Mapi.dll</li> <li>Mmsystem.dll</li> <li>Mouse.drv</li> <li>Netapi.dll</li> <li>Olecli.dll</li> <li>Olesvr.dll</li> <li>Pmspl.dll</li> <li>Shell.dll</li> <li>Sound.drv</li> <li>System.drv</li> <li>Toolhelp.dll</li> <li>Vga.drv</li> <li>Wfwnet.drv</li> <li>Win87em.dll</li> <li>Winoldap.mod</li> <li>Winsock.dll</li> <li>Winspool.exe</li> <li>Wowdeb.exe</li> <li>Timer.drv</li> <li>Rasapi16.dll</li> <li>Compobj.dll</li> <li>Storage.dll</li> <li>Ole2.dll</li> <li>Ole2disp.dll</li> <li>Ole2nls.dll</li> <li>Typelib.dll</li> <li>Msvideo.dll</li> <li>Avifile.dll</li> <li>Msacm.dll</li> <li>Mciavi.drv</li> <li>Mciseq.drv</li> <li>Mciwave.drv</li> <li>Progman.exe</li> <li>Avicap.dll</li></ul> </li></ol>

Additional query words: tshoot wowexec subsystem vdm

Keywords: kbinfo kbtshoot KB196453

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.