UefiSeven: Easily boot Windows 7 on UEFI class 3 devices

I’ve been following some threads about installing Windows 7 on pure EFI systems.

Then I found out about VgaShim which I thought to be the best solution.
But the project was deserted a long time ago, it was buggy and was not compatible with my newest devices

After playing around with OVMF firmware and some hardware, I came up with many fixes and improvements.
I decided to take this a bit further and forked my own project named UefiSeven

https://git.mananet.net/manatails/uefiseven

It aims to be the straightforward solution for installing Windows 7 on UEFI class 3 devices.

-Easy to install
-Informative logs
-Configurable verbose mode
-Serial debug console from VGA ROM for debugging
-Experimental, hack-ish support for non-1024×768 capable screens

Usage Instructions:

1. Prepare Windows 7 installation USB Drive
2. Rename bootx64.efi at (UsbDrive)\EFI\Boot\ to bootx64.original.efi
3. Unpack bootx64.efi from UefiSeven archive and copy it to (UsbDrive)\EFI\Boot\
4. (Optional) Copy UefiSeven.verbose to the same directory to enable verbose mode
5. Install Windows
6. Rename bootmgfw.efi at (HDD)\EFI\Microsoft\Boot\ to bootmgfw.original.efi
7. Copy UefiSeven bootx64.efi to (HDD)\EFI\Microsoft\Boot\bootmgfw.efi using EFI shell

Download:
https://git.mananet.net/manatails/uefiseven/-/releases

PoC

Windows 7 running on a Samsung Galaxy Book 12 (Kaby Lake SoC), 2160×1440 screen with native 1024×768 GOP support

Windows 7 running on a GPD MicroPC (Gemini Lake SoC), 720×1280 rotated portrait screen holding 1024×768 framebuffer (Glitchy but useful enough to complete the setup)

I hope this makes life easier for many people who do not want to accept Windows 10 tyranny.

13 thoughts on “UefiSeven: Easily boot Windows 7 on UEFI class 3 devices”

  1. Good work! The loader works on my surface pro 3 but still hangs on the boot animation. Goona try another vgashim fork and see what happens.

  2. 안녕하십니까? 윈도우 7 부트캠프 미 지원 맥북프로2015년 버전에 설치하려다 보니
    검색에 검색을 통해 무언가에 도착한 느낌이 들어 조심스레 질문드려 봅니다.

    작성해 주신 UEFISeven을 통해 멀티부팅방식으로 맥북을 지원할 수 있을까요?
    감사합니다.

  3. Hi manatails,

    I’ve already asked You questions about this topic in MDL-Forums (with the same username) back in late 2020/2021, but right now, I cannot access MDL-Forums, so I’m asking it here:

    I procured a new motherboard of the *exact same model* after my former board suddenly died a few months ago. Despite being the same model, I cannot anymore successfully boot to my Windows 7 (UEFI, GPT, CSM off with “UefiSeven”). The boot entry (“Windows Boot Manager”) and the drive, on which Win7 is installed on, are shown and selectable without issues in the UEFI-BIOS.

    After selecting, the boot process also works perfectly fine until the Windows 7 logo is fully animated *and* the keyboard light starts blinking (which is a sign of successful initialization). But then, before reaching Win7 login screen, the screen suddenly turns black and immediately reboots. After the 2nd (failed) attempt, my motherboard POST message tells me, the selected operating system needs CSM in order to work (despite having been successfully installed AND booted without CSM by implementing Your solution) and indeed, when I enable CSM and *then* select the same boot entry, Windows 7 successfully and completely boots!

    I already feared that I could be confronted with such a scenario and now it really happened… (I’m not surprised, though, since it’s a new motherboard – is any kind of OS or boot information physically stored in the *old* boards ROM memory?)

    I hope You can walk me through this…

    Thanks

    1. Even when the marketed model number is the same there might be a change in the hardware revision or installed firmware(BIOS). Try flashing the BIOS to a previous version and see if it makes any changes, but other than that I am afraid that I cannot be much of help.

      1. ANYTHING except having to reinstall Win7 (doing everything all over again…) would be of great help! 😉

        I guess, I have to repeat steps 6 and 7 of your instruction above? But how? I’ve used Macrium Rescue Live-CD instead of EFI shell for my last successful installation

        Is it possible to successfully boot Win7 *from the installation media* (USB-Stick or DVD), from which it was originally installed without actually reinstalling it, in order to “kick it to work” again like a dynamo, so to speak? (similar like “kicking” a car to make the engine start)

    2. Hello Manatails,
      I tried this on my modern gaming laptop (ASUS TUF F15 2020 – Intel i7-10870H Comet Lake, 1650 Ti, 16 GB RAM and an NVMe SSD), however after install once I replaced the bootmgfw with the Uefiseven one, it just simply freezes at starting Windows and constantly restarts. How do I solve this?

    1. pacfcp ,

      (HDD) is the drive that you installed Windows 7, you can find the folder on that drive.

  4. Hello,

    When trying to use UefiSeven and boot from USB, I get the message:

    Int10h IVT entry points at location (0000:0000) outside VGA ROM memory area (C0000..D0000), rejecting handler

    Failure unlocking memory at C0000 with MTRRs

    Unable to find a way to unlock memory at C0000, proceeding without unlocking…

    Unable to unlock VGA ROM memory at C0000, aborting

    Is there any way to get around this and make it work?

    Thank you.

    Asus A17 TUF706IU Ryzen 7 4800H nVidia GTX 1660Ti

  5. hi, does this mean rename bootx64 to bootmgfw.efi or just copy it there , several forums have them both ways so not sure which way thanks
    7. Copy UefiSeven bootx64.efi to (HDD)\EFI\Microsoft\Boot\bootmgfw.efi using EFI shell

    thanks for all you do

Leave a Reply to pacfcp . Cancel reply

Your email address will not be published.