How to solve NTVDM error on Windows 10?

1. Open the command prompt.

2. Go to right-click properties.

3. Tick on Legacy Control Output.