Install Windows 7 in Uefi mode

Hello, forum!

Several months ago I asked a question about Windows 7 on NVMe installation. Recently I succeeded, but I had to use an mbr disk and legacy booting. I found a strange detail - if I install Windows 7 in legacy mode and replace the C:\Windows\System32\drivers\acpi.sys file to avoid 0x000000A5, it actually starts working, but the same actions in Uefi mode bring me to 0x0000007B - Inaccessible Boot Device. I don’t have a clue why does this happen since this BSoD is often met during old Windows NT installation because of lack of AHCI and RAID controllers drivers, but in this case it’s supposed to work because a legacy install works properly. Also, I tried integrating specific drivers by @Fernando with Dism++, but it didn’t work. Also, I learned about this update, but I didn’t manage to install it neither with Dism++ nor NTLite - NTLite simply skippes its integration when building an iso, Dism++ throws a weird error. If it helps, here are some hardware properties:

  • Device: Lenovo Legion 5 15ARH05H

  • Standard SATA AHCI controller: PCI\VEN_1022&DEV_7901&SUBSYS_382D17AA&REV_81

I think I looked through entire internet, but the only thing I found were exactly same issues on the UefiSeven GitHub page without any solutions. I believe once I will succeed with Windows 7 in Uefi mode. Any help is welcome!