ntvdmx64 icon indicating copy to clipboard operation
ntvdmx64 copied to clipboard

Error while setting up environment for the application

Open peter8777555 opened this issue 1 year ago • 3 comments

OS : Windows 11 (10.0.22631.2715 23H2)

OK: C:\Windows\system32\cmd.exe and run any DOS programs

NG: C:\Windows\SysWOW64\cmd.exe and run any DOS programs


16 bit MS-DOS Subsystem

Administrator: C:\Windows\SysWOW64\cmd.exe - pc Error while setting up environment for the application. Choose 'Close' to terminate the application.

Close(C) Ignore(I)

LOG.zip

peter8777555 avatar Dec 07 '23 22:12 peter8777555

OS : Windows 11 (10.0.22631.2715 23H2)

OK: C:\Windows\system32\cmd.exe and run any DOS programs

NG: Explorer.exe double click run any DOS programs.

16 bit MS-DOS Subsystem

G:\PC.EXE NTVDM has encountered a System Error Access denied。 Choose 'Close' to terminate the application.

Close(C) Ingore(I)

I use Administrator account.

By the way, Windows 7 X64 has no any problems.

Log.zip

peter8777555 avatar Dec 09 '23 22:12 peter8777555

Could this be caused because Microsoft removed the "Legacy console" feature in December 2023?

pcmicro avatar Jan 11 '24 17:01 pcmicro

So RegisterConsoleVDM call failed. Could be due to Legacy Console removal, as pcmicro said. You can try to reset symbols first with Release\reg\reloadsym.reg just to be sure that it is not related to some bad sybols which often causes weird problems. Otherwise a debugger would be needed to step into mentioned function and also on attached conhost process to check where it fails in particular.

I cannot reproduce the problem, tried on Windows 11 23H2 Build 22631 without any issues (but conhost V1 also still works for me on this release).

leecher1337 avatar Mar 02 '24 01:03 leecher1337