How to Fix: NTVDM encountered a System Error when running 16bit applications on Windows 10 (Solved)
The problem: When you try to launch any 16bit application on Windows 10 (32bit), you get the following error: "16 bit MS-DOS Subsystem. <Program's name>. NTVDM has encountered a System Error. The handle is invalid. Choose 'Close' to terminate the application."Â
This tutorial contains instructions to resolve the "NTVDM has encountered a System Error" issue when open 16-bit applications on Windows 10.
How to fix NTVDM encountered a System Error in Windows 7 & Windows 10. *
* Notes:
1. If you face the NTVDM error in Windows 7, try to change the compatibility mode of the DOS program to "Windows 98/Windows ME" and if the problem persists apply the instructions in Step 3.
2. If you face the NTVDM error in Windows XP, change the compatibility mode of the DOS program to "Windows 98/Windows ME" and if the problem persists apply the instructions uninstall the Updates KB2707511 and KB2709162.
Step 1. Enable NTVDM Component.
1. Simultaneously press the Win + R keys to open the run command box.
2. Type the following command and press OK.
- control panel
3. Change the View by to Small icons on the top right to view all control panel items.
4. Open Programs and Features and then click Turn Windows Features on or off from the left.
5. Expand Legacy Components, check the NTVDM option and click OK.
Step 2. Enable Legacy console.
1. Simultaneously press the Win + R keys to open the run command box.
2. Type cmd to open command prompt.
3. Right-click at the Command Prompt top bar (next to title) and choose Properties.
4. Check the "Use Legacy console (requires relaunch)" option and click OK.
5. Close Command Prompt and launch your MS-DOS application. The NTVDM problem must be resolved until now.
* Note: If you still receive the NTVDM error when running 16 bit applications then proceed to the next step.
Step 3 (Optional *). Enable Access to 16-bit Applications from Registry or Group Policy.
* Notice: The instructions at this step are optional. Apply them only if you still have problems when running 16-bit programs on Windows 10 (or in Windows 7 OS).
Windows 7 & 10 Home or Pro.
– To enable access to 16-bit applications on Windows 10 Home:
1. Simultaneously press the Win + R keys to open the run command box.
2. Type regedit and press Enter to open Registry Editor.
3. Navigate to this key from the left:
- HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
4. Right click on Windows and choose New > Key.
5. Name the new key "AppCompat" (without quotes) and press Enter.
6. Highlight the AppCompat key and then right click at the right pane and choose New > DWORD (32-bit) Value.
7. Name the new value "VDMDisallowed" (without quotes) and press Enter..
8. Double click at the VDMDisallowed value and type 0Â in the data box.
7. Click OK when done and close Registry Editor.
8. Restart your computer.
Windows 7 & 10 Pro.
– To enable access to 16-bit applications on Windows 10 Pro.
1. Simultaneously press the Win + R keys to open the run command box.
2. Type gpedit.msc and press Enter to open the Local Group Policy Editor.
3. In Group Policy Editor navigate (from the left side) to:
- Computer Configuration > Administrative Templates > Windows Components > Application Compatibility.
4. Double click to open the Prevent access to 16-bit applications (at the right pane).
5. Click Disabled, click OK and close Group Policy Editor.
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
We're hiring
We're looking for part-time or full-time technical writers to join our team! It's about a remote position that qualified tech writers from anywhere in the world can apply. Click here for more details.
Ali
May 15, 2021 @ 3:40 am
Thanks for ur help
MANSOUR
November 30, 2020 @ 12:34 pm
THANK YOU
Uike
June 13, 2021 @ 3:31 am
Thanks
Sherzod
October 27, 2020 @ 11:43 am
Thank you! This guide has helped me
lord dick
August 21, 2019 @ 11:40 pm
am using windows7 how can i fix NTVDM ENCOUNTERED ERROR
lakonst
August 28, 2019 @ 10:58 am
@lord dick: For Windows 7, follow the instructions on step-3 above.
jaroslaw
December 10, 2018 @ 12:05 am
Druga opcja przez cmd – > wlaÅ›ciwoÅ›ci -> starsza konsola ok zadziaÅ‚aÅ‚o
pierwsza opcja przez włącz-wylacz funkcje systemu win NIE pomogło
asdf
January 24, 2018 @ 1:37 pm
legacy component is not there ! :(
lakonst
January 24, 2018 @ 5:47 pm
@asdf: Ι 'm sure that is there. (just checked).
Mustaq
February 10, 2018 @ 10:48 am
legacy component is not there in mine also windows 7 professional 32 bit
lakonst
February 11, 2018 @ 10:47 am
@Mustaq: This guide was written for Windows 10. At your case (windows 7 32bit) first check your computer for malware and then try to run your DOS application in clean boot state. If the DOS application doesn't run then execute the below 2 commands (in Command Prompt Admin mode) to repair system files:
1. Dism.exe /Online /Cleanup-Image /Restorehealth
2. SFC /SCANNOW
p.s. If the DOS application run without problems in "Clean Boot State" then some application that load at startup (e.g. antivirus) cause the problem.
peter gras
January 17, 2018 @ 5:14 am
Lifesaver!