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. *
* Important 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 uninstall the Updates KB2707511 & KB2709162.
3. If you experience the NTVDM System error on a virtual machine running Windows XP or Windows 7 in VirtualBox version 7.0, then uninstall VirtualBox v7.0 and install VirtualBox version 6.1.48 from: https://www.virtualbox.org/wiki/Download_Old_Builds_6_1
Step 1. Enable NTVDM Component on Windows 10 32-bit. *
* Note: This method applies only to 32-bit versions of Windows 10 Pro or Home (x86).
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.
- FIX: Hyper-V did not find Virtual Machines to import from location. - September 3, 2024
- How to Move a Hyper-V Virtual Machine to another Host? - August 28, 2024
- How to Install Windows 11 in Hyper-V. - July 31, 2024
May 15, 2021 @ 3:40 am
Thanks for ur help
November 30, 2020 @ 12:34 pm
THANK YOU
June 13, 2021 @ 3:31 am
Thanks
October 27, 2020 @ 11:43 am
Thank you! This guide has helped me
August 21, 2019 @ 11:40 pm
am using windows7 how can i fix NTVDM ENCOUNTERED ERROR
August 28, 2019 @ 10:58 am
@lord dick: For Windows 7, follow the instructions on step-3 above.
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
January 24, 2018 @ 1:37 pm
legacy component is not there ! :(
January 24, 2018 @ 5:47 pm
@asdf: Ι 'm sure that is there. (just checked).
February 10, 2018 @ 10:48 am
legacy component is not there in mine also windows 7 professional 32 bit
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.
January 17, 2018 @ 5:14 am
Lifesaver!