leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
778 stars 80 forks source link

16bit program cannot find haxm #236

Open SkillGodAk opened 11 months ago

SkillGodAk commented 11 months ago

I installed HAXM versions But executing the program I want to run shows that haxm is not installed I'm sure hyper-v is off and vt in bios is on Use cmd to check and make sure it is open. Where is the problem?

01

leecher1337 commented 11 months ago

Wrong service. You mustn't run IntelHaxm service! It has to be IntelHaxmNtvdm shipped with HAXM build. To be safe, ensure that original IntelHaxm driver doesn't run.

https://github.com/leecher1337/ntvdmx64/blob/0f7f33e295024b81681d506cc86b8606960ef713/ntvdmpatch/doc/haxm.txt#L93

SkillGodAk commented 11 months ago

I built IntelHaxm and IntelHaxmNtvdm using HAXM in the forum, no error pops up when I execute the program, but nothing responds when I execute the program. Please help tell what is the problem? The software I use is cracking software, and he has cracked files that need to be placed under c:\system to run. I don't know if it will affect By the way, I have also installed the ccpu version of ntvdmx64 before, and the running program is the same as the current HAXM version without any response This software can run successfully on OTVDM, but it shows an error on NTVDMX64 attached log USER.LOG

Attach the program here, can you help me find out where the problem is? https://mega.nz/file/ByNWXSwA#gT_3sDhbAeCYmaYDCkZ-ZYvqSsdSLDJ0qFxwG3g2RhY

theliz12x commented 5 months ago

Hi i am tring to install the HAXM version of NTVLDMX64 becouse the CCPU seems quiet slow with softwares but i am a bit in trouble. i've installre the Version 7.8.0 from https://github.com/intel/haxm at first attempt to launch an application (simpe EDIT) i've received an error "cannot setup exception bitmap for "BOPping" you are running our custom haxm version... close" then i've checkd all the requirement into the readme.txt (checktool.exe show all requirements present) i suppose i am using the official HAXM downloaded from The latest HAXM release for Windows and macOS hosts are available https://github.com/intel/haxm/releases/latest

is that my fault? (i've deleted also the present service called IntelHAXMNtvdm that now is not present anymore) in the project https://github.com/leecher1337/haxm there is not haxm release versions that i can download? i've deleted also the service called IntelHAXM and now i receive the message that no Intelhaxm is installed

i did it in the way i've copied the "patched" IntelHaxm.sys in the intel haxm original installed folder. but i still receive message that HAXM is not installed. if i query the service instalhaxmntvld it is stoped, if i try to start it the system tells me that a certificate is explicit revoked is there a way to start the service? i've made the bcdedit /set hypervisorlaunchtype off bcdedit /set testsigning on VT-x in BIOS, is present

last note @leecher1337 Secure bios is not active on the win10 i'm using

leecher1337 commented 4 months ago

Hi, Unfortunately, leaked NVIDIA code signing certficate was blocked on most Windows installations by now and therefore isn't useful any longer, so running Windows in test signing mode using the old driver seems to be the only way, as can be seen bey the error message you got. It's mandatory to use my custom IntelHAXM-version, as Intel refused to integrate my improvements in their main driver, unfortunately (I tried many times to persuade them, but to no avail, even though, these are only enhancements fully compatible with the main driver). Thus, try test signing mode with older IntelHaxm driver with test signed certificate now that I reverted back now in last commit.

theliz12x commented 4 months ago

Hi, Unfortunately, leaked NVIDIA code signing certficate was blocked on most Windows installations by now and therefore isn't useful any longer, so running Windows in test signing mode using the old driver seems to be the only way, as can be seen bey the error message you got. It's mandatory to use my custom IntelHAXM-version, as Intel refused to integrate my improvements in their main driver, unfortunately (I tried many times to persuade them, but to no avail, even though, these are only enhancements fully compatible with the main driver). Thus, try test signing mode with older IntelHaxm driver with test signed certificate now that I reverted back now in last commit.

i've tried your custom version (i did it in the way i've copied the "patched" IntelHaxm.sys ) but with the same result, "not installed" and i see that the service is not started i suppose becouse of the "signed certificate issue". if i use your patched version shuold i cross the problem or i missunderstood?

theliz12x commented 4 months ago

i've tried your custom version (i did it in the way i've copied the "patched" IntelHaxm.sys ) but with the same result, "not installed" and i see that the service is not started i suppose becouse of the "signed certificate issue". if i use your patched version shuold i cross the problem or i missunderstood?

Da: leecher1337 @.> Inviato: giovedì 29 febbraio 2024 12:58 A: leecher1337/ntvdmx64 @.> Cc: theliz12x @.>; Comment @.> Oggetto: Re: [leecher1337/ntvdmx64] 16bit program cannot find haxm (Issue #236)

Hi, Unfortunately, leaked NVIDIA code signing certficate was blocked on most Windows installations by now and therefore isn't useful any longer, so running Windows in test signing mode using the old driver seems to be the only way, as can be seen bey the error message you got. It's mandatory to use my custom IntelHAXM-version, as Intel refused to integrate my improvements in their main driver, unfortunately (I tried many times to persuade them, but to no avail, even though, these are only enhancements fully compatible with the main driver). Thus, try test signing mode with older IntelHaxm driver with test signed certificate now that I reverted back now in last commit. — Reply to this email directly, view it on GitHub https://github.com/leecher1337/ntvdmx64/issues/236#issuecomment-1970983855 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BFMISYLFAZBHOXUVPGKT73LYV4LSVAVCNFSM6AAAAAA3CVULLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQHE4DGOBVGU . You are receiving this because you commented. https://github.com/notifications/beacon/BFMISYPC66Y3HG5KMFV572TYV4LSVA5CNFSM6AAAAAA3CVULLWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTVPLJ26.gif Message ID: @. @.> >

leecher1337 commented 4 months ago

So, did you take this version (that I downgraded 2 hours ago, you need the new .cer and the new .sys and add the .cer to the store): https://github.com/leecher1337/ntvdmx64/tree/master/ntvdmpatch/haxm

And did you enable test signing mode?

bcdedit /set testsigning on
certutil -addstore "TrustedPublisher" haxm\IntelHaxm.cer

In testsigning mode, it shouldn't be too picky about the certificate as long as it is installed in the store of trusted publishers.

theliz12x commented 4 months ago

not yet, it was a version of 1 year ago , i will let you now that you

theliz12x commented 3 months ago

Hi @leecher1337 , i did it , now with this last version the service is started and then i do not receive anymore the message about "haxm not installed" but i still have another issue an error message if i try to use edit.com "16 bit application not supported" , etc etc

theliz12x commented 3 months ago

it works, following other issues i were checking file folders, i had to take ownership of syswow64 so that the installation process could replace corretly all the files so that maybe this can help others. @leecher1337 it will works until 23.03.2026 (the date of certificare expiration?) there is no way to let the service starts without need of the signed certs? thank you now the speed of TP compiler is 2 seconds for 1 million lines, the same of an old I7 of 10 years ago :)

leecher1337 commented 3 months ago

@theliz12x Glad to hear that it worked for you now! 👍 The issues with Syswow64 ownership is strange, never encountered this on a system yet, I thought admin user that is needed to install it will have permissions to write ot syswow64 anyway. Normally the installer does takeown /f only for wow32.dll and user.exe, as these are files that are already present from Windows and need to be replaced, but the other stuff normally isn't there on a new system so it should be able to write it. Anyway, good that you documented it here! If anyone else is also experiencing this problem, informations on how to reproduce this are welcome.

Regarding the signature expiration date of the certificiate: This is not a problem. It is just necessary that the certificate is valid at the time of signing the driver.

Currently I don't have a way to allow the driver to be loaded outside of test signing mode, due to now having contact to a company that posesses a driver signing certificate and is willing to pass the driver through Microsoft's signing process. If anyone is able to sign the driver, I would be delighted!

There are hacks like "Bring your own vulnerable driver": https://github.com/hfiref0x/KDU This requires a signed vulnerable driver to chain-load your driver, but it's a hack and these drivers frequently get blacklisted too, so it's also only a temporary fix. So I guess it's not much better than the leaked certificate I used before.

Your use-case is the one that haxm support was developed for - speeding up textmode applications. Good to hear that it gets used

theliz12x commented 3 months ago

Yes i will use it. Great job!!! i still use some old compilers on 32b machines. It works very well, i will let you know if any issue can occur. Rightnow i've found only that problem with LPT connected with net use as i told you in another post. DOSPRN can be a workaround i will try it. Thank you