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

Latest version of windows 11 24H2 not working ntvdmx64 #281

Open
brobee11 opened this issue Oct 30, 2024 · 7 comments
Open

Latest version of windows 11 24H2 not working ntvdmx64 #281

brobee11 opened this issue Oct 30, 2024 · 7 comments

Comments

@brobee11
Copy link

Can someone verify if the latest version of Windows 24H2 is working with ntvdmx64 ?

Its broken with error "this app cant run on your PC.

Thanks

@leecher1337
Copy link
Owner

I treid 24H2, you have to reinstall NTVDMx64 after upgrade, as appcert-Key is being removed during upgrade, then loader works again.
BUT there is another big problem with 24H2: The Conhost V1 support is gone and therefore the console feature NTVDM relies on. Even though it has been promised to make the feature optional in microsoft/terminal#15038 (comment) I cannot find it in the list of Windows components. So I currently advise NOT to upgrade to 24H2. Someone would need to rewrite https://github.com/microsoft/terminal/ to re-add support for Conhost V1 features, hopefully someone capable who is able to understand all this messy C++ code in the Windows Terminal implementation can do it, any volunteers?

@leecher1337
Copy link
Owner

Seems that you can currently work around the issue easily:
Get ConhostV1.dll from 23H2 and just place it in your Windows\system32 directory and you are back in action:

image

@leecher1337
Copy link
Owner

leecher1337 commented Oct 31, 2024

If you don't have the previous Windows release and its ConhostV1.dll at hand, just extract it from the installation media:

  1. Download old 23H2 ISO in the appropriate language version:

Assuming de-de_windows_11_consumer_editions_version_23h2_updated_oct_2024_x64_dvd_4728d672.iso in this example

  1. Extract file, i.e. using 7-zip:
set PATH=%PATH%;"C:\Program Files\7-Zip"

7z e de-de_windows_11_consumer_editions_version_23h2_updated_oct_2024_x64_dvd_4728d672.iso sources\install.wim

7z e install.wim 3\Windows\system32\conhostv1.dll
  1. Copy extracted conhostv1.dll to windows\system32 directory on machine where you want to install NTVDMx64

leecher1337 added a commit that referenced this issue Nov 2, 2024
…hat it can run there too, as Microsoft has forgotten to include it in 24H2 and it is a mandatory requirement for NTVDM. #281
@leecher1337
Copy link
Owner

Seems like this is way easier than expected. ConhostV1 is still available, it just has to be installed as a "Capability":

powershell Add-WindowsCapability -Online -Name "Microsoft.Windows.Console.Legacy~~~~"

leecher1337 added a commit that referenced this issue Nov 5, 2024
…o an optional component, update installer to install missing component #281
@brobee11
Copy link
Author

Is there any way to get the properties option back for cmd?
There is no properties option available by right-clicking cmd window using 24H2?

@leecher1337
Copy link
Owner

Turn off QuickEdit mode in console Window properties:

image

@brobee11
Copy link
Author

Used the chkdsk and SFC /scannow command, brought back the properties !

Thanks

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

2 participants