leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
820 stars 81 forks source link

"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." #171

Closed Ahmad-Hesham closed 2 years ago

Ahmad-Hesham commented 2 years ago

Hello,

I downloaded a compiled version of ntvdmx64 but whenever I try to access a 16-bit application I get one of the d/m errors. Without "Run as administrator": image With "Run as administrator": image

What am I doing wrong?

Thanks in advance,

leecher1337 commented 2 years ago

Iirc, there are some weird "detection" rules based on Filename within Windows that may enforce elevation, even though it may not really be needed. So either:

1) Rename the file to something not containing "STP" in its name

or

2) Move the file to a location that the elevated user can also access and run it elevated from there.

Ahmad-Hesham commented 2 years ago

I formatted the hard drive and performed a clean Windows 11 installation. ntvdmx64 worked but some functions of a 16-bit application did not work and no errors popped up. Can you do me a favor and compile the latest version of ntvdmx64 then send it to my e-mail ahmedhesham3@gmail.com? (If you have some time of course)

leecher1337 commented 2 years ago

What function didn't work? You need to provide full details, if you need help.

Sorry, I cannot compile and send it due to legal reasons. Which problems with compilation do you have? I would need a detailled problem report for your compilation issues as well in order to diagnose them.

Ahmad-Hesham commented 2 years ago

Actually I tried two different precompiled versions as the compilation steps were too complicated. Is there a step-by-step video tutorial for beginners?

leecher1337 commented 2 years ago

All steps are described in https://github.com/leecher1337/ntvdmx64/blob/master/ntvdmpatch/doc/autobuild.txt Release-Files for Autobuild: https://github.com/leecher1337/ntvdmx64/releases It's really easy, just download prereq. files to a directory and run a batch file, I don't think that this is really compilicated. Someone also wrote a tutorial even for autobuild, use Google Translate: https://www.planetkode.com/2021/05/tutorial-ntvdmx64-menjalankan-aplikasi.html

Ahmad-Hesham commented 2 years ago

Tried the autobuild tutorial and got this. Please advise image

leecher1337 commented 2 years ago

Well, I suggest to do what autobuild tells you to do? Press a key, download the Win 7 ISO from there, place it in the directory and then try again.

Ahmad-Hesham commented 2 years ago

Thank you for helping me out so far. But I am still in need for your further help. After installing ntvdmx64 I tried several 16-bit applications most of them worked properly but there is one Arabic application -that I am trying to get it to work for my father- that's driving me crazy, It works normally on Windows 10 x86 with native ntvdm. How can I get a report/log for you to investigate?

leecher1337 commented 2 years ago

Can you describe the error that you are experiencing? Also, which application is it? Can a copy of the application be obtained somewhere in order to test it? That would make things a lot easier, beacuse describing how to debug via the Github Issue tracked would be a tedious task. Is it a DOS application or a Win16 application?

Ahmad-Hesham commented 2 years ago

It does not display any errors it just freezes. It is some religious application. It can be obtained here https://ia800301.us.archive.org/0/items/sharawycd/El-Sharawy.iso It is a Win16 application.

Ahmad-Hesham commented 2 years ago

In order to install it: 1) Mount the ISO file. 2) Run the autorun.exe file. 3) Press the red rectangle on the left to initiate the installation then install the application. 4) After the application is installed return to the autorun.exe on the mounted ISO and press the yellow rectangle on the left to run the installed application. 5) After running the installed application select the third sentence from above you will be redirected to a page, On that page there are a Play and a Stop buttons under a GIF image. 6) Try pressing the Play button you are supposed to hear a lecture in Arabic, but you will not if you are using a x64 Windows, instead the application will not respond to any button pressing.

leecher1337 commented 2 years ago

If it's a Win16 application: Have you tried running it with https://github.com/otya128/winevdm ? Some applications work better with WineVDM, some others only work with NTVDMx64. NTVDMx64 gives WineVDM precedence over itself for Win16 application, if WineVDM is installed, when WineVDM gets uninstalled, you are back to NTVDMx64, so it's worth trying it out at least.

Ahmad-Hesham commented 2 years ago

Oh wow it worked! You and Otya are geniuses, Microsoft should fire their noobs and people like you are supposed to take the helm instead. The issue is now resolved. Thank you very much for your effort and time