Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while setting up environment for the application #248

Open
peter8777555 opened this issue Dec 7, 2023 · 3 comments
Open

Error while setting up environment for the application #248

peter8777555 opened this issue Dec 7, 2023 · 3 comments

Comments

@peter8777555
Copy link

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
Copy link
Author

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

@pcmicro
Copy link

pcmicro commented Jan 11, 2024

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

@leecher1337
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants