NOTE: If logon scripts are used, please change the file extension from *.BAT to *. CMD. This allows the scripts to run without starting the NTVDM subsystem.
To modify the 16-bit Windows On Windows subsystem:
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
- Start Registry Editor (Regedt32.exe).
- Locate the CMDLINE (for MS-DOS applications) and WOWCMDLINE (for 16-bit Windows applications) values under the following key in the registry:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW
- Adding a character to the beginning of the string will keep the subsystem from running, but it will keep the old value in tact to easily revert back to the old setting.
- Quit Registry Editor. These registry changes are dynamic and it is not necessary to restart.
This keeps 16-bit and MS-DOS programs from running. Also, an error message may be displayed giving file and path information for the program you are trying to run.
Windows cannot find edit.com
This program is needed for opening files of type "MS-DOS application"
Cannot find d:\WTSRV\system32\sysedit32.exe. Windows needs this file to run d:\WTSRV\system32\sysedit32.exe.
ID d'article : 220159 - Dernière mise à jour : 22 juin 2014 - Révision : 1