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

Windows 7 now supports native UEFI and Secure Boot!!! #41

Open
YuZhouRen86 opened this issue Oct 30, 2022 · 104 comments
Open

Windows 7 now supports native UEFI and Secure Boot!!! #41

YuZhouRen86 opened this issue Oct 30, 2022 · 104 comments

Comments

@YuZhouRen86
Copy link

Just start WinPE, extract the Win7 ISO and use Dism++ to install KB5017361 patch from Microsoft Update Catalog, and restart your computer, start installing Win7! But if your computer supports CSM, you have already installed Win7 and want to use Secure Boot, unfortunately, you should reinstall the system! Here is a blog about this exciting news: https://blog.csdn.net/sheng137855864/article/details/127179111 (use Microsoft or Google translate).

@vxiiduu
Copy link
Owner

vxiiduu commented Oct 30, 2022

Interesting, that they make this big update only a few months before end of ESU. Does this allow installing on 9th gen to 11th gen intel without patching files?

@YuZhouRen86
Copy link
Author

Yes, it works. This blog says "It has been tested on the Intel 10th and 12th generation platforms, and there is no problem with Starting Windows and the Logo". In HKEPC, someone has tested this and successfully installed Win7 with Secure Boot. The biggest company that provides Win7 drivers for new computers in China, SysCEO, has tested this too.

@ghost
Copy link

ghost commented Oct 30, 2022

I'm definitely going to try this out, thanks for the info!

EDIT: It seems like my laptop is disabling Secure Boot while booting Windows 7 (proven by the fact the OS boots fine with Secure Boot off, that should not happen). I have installed Windows 7 with a replaced setup from 10 while having Secure Boot on.
no idea what's going on..

@AnErrupTion
Copy link

That's amazing! I'll try on my side too :D

@AnErrupTion
Copy link

@YuZhouRen86 I've integrated the update into a Win7 ISO (along with other updates) and used a Win10 installer, but I can't get it to work. When I boot I get a BCD error from Windows Boot Manager, and when I use my firmware's Boot Override feature to boot, it gets stuck on "Setup is updating registry settings" for a while then hard resets.

I'll try with a Win7 installer to see what happens as well.

@AnErrupTion
Copy link

So I've tried with a Win7 installer, but yeah, it's stuck on the boot logo (it's frozen). What I did is update the install.wim, then copy the boot files from install.wim/Windows/Boot to boot.wim/Windows/Boot, but to no avail. Unfortunately, updating an image takes a long time, so I'm not sure what to do here.

@vxiiduu
Copy link
Owner

vxiiduu commented Oct 30, 2022

What hardware and uefi settings are you using?

@AnErrupTion
Copy link

It's a Samsung laptop (NP350E7C-S07FR) with an i5 3210M. As for UEFI Settings, I have UEFI with no CSM + Secure Boot enabled. It actually works without Secure Boot (even base Windows 7), but it doesn't without Secure Boot, so that's what I wanted to test with this new update.

@vxiiduu
Copy link
Owner

vxiiduu commented Oct 30, 2022

What happens if you just apply the latest Simplix pack to the iso before installing?
I don't actually have any (working) secure boot enabled hardware to test at the moment unfortunately.

@YuZhouRen86
Copy link
Author

It's a Samsung laptop (NP350E7C-S07FR) with an i5 3210M. As for UEFI Settings, I have UEFI with no CSM + Secure Boot enabled. It actually works without Secure Boot (even base Windows 7), but it doesn't without Secure Boot, so that's what I wanted to test with this new update.

I have a HP 2th Gen Desktop Computer that runs Windows 7, but there isn't Secure Boot in BIOS, so I cannot test. The i7-10510U Laptop's HDD was broken, so I cannot break the main system in SSD and do test.

@AnErrupTion
Copy link

@vxiiduu

What happens if you just apply the latest Simplix pack to the iso before installing?

It seems like Simplix's UpdatePack 7 software applies updates on live operating systems, but I want them to be applied on an ISO image. How would I go about that? I can't seem to be able to do that.

@vxiiduu
Copy link
Owner

vxiiduu commented Oct 30, 2022

@AnErrupTion You take the simplix .EXE file, and then you drag and drop a Windows 7 ISO on top of the EXE.

@DizzyTwinss
Copy link

how do I do this without dsim++, because it gave out a error when I tried running it.
Dism++x64_xpyi19Foac

@AnErrupTion
Copy link

You could use plain DISM (/Add-Package command). Note that the update is actually an ESU, so you'll need to find a way to apply it if you don't have ESU.

@DizzyTwinss
Copy link

so would it look like this?
image

@AnErrupTion
Copy link

More of something like this:
dism /add-package /image:Path/To/Mounted/Image /packagepath:Path/To/Update/Package.msu

@DizzyTwinss
Copy link

DizzyTwinss commented Oct 31, 2022

if so, would be like this
image

@AnErrupTion
Copy link

The image needs to be a path to a mounted WIM image.

@DizzyTwinss
Copy link

DizzyTwinss commented Oct 31, 2022

image

like this?

@AnErrupTion
Copy link

Yes, but you need to mount it first:
dism /mount-image /imagefile:D:\sources\install.wim /index:your_index_here /mountdir:Directory/For/Mounted/Image

To get the index, use:
dism /get-wiminfo /wimfile:D:\sources\install.wim

@AnErrupTion
Copy link

@vxiiduu I've tried the UpdatePack on the ISO, but it's still stuck on the boot logo (frozen). From what I saw it didn't include that new update, and it didn't include all updates in the boot.wim either.

@DizzyTwinss
Copy link

image

and then I do this right?

image

@AnErrupTion
Copy link

/Image needs to point to the root of where you mounted your WIM. Say if you mounted to /mountdir:E:\, then you would use /image:E:\.

@DizzyTwinss
Copy link

so it would be in C:\Users\DizzyTwins\Desktop\mounted right?

@AnErrupTion
Copy link

Well yeah in whatever directory you mounted it to.

@DizzyTwinss
Copy link

alright

@DizzyTwinss
Copy link

image
I gave me this

@AnErrupTion
Copy link

Yeah, so you need to install other updates. I suggest you take a look at the Integrate7 script from the MyDigitalLife forums. It has a way to use ESU + it integrates other updates. You could just integrate the update yourself.

@DizzyTwinss
Copy link

image
all I did was just put in the update in the hoxfixes folder

@AnErrupTion
Copy link

Hmm, so I integrated the updates in both the boot.wim and the install.wim again, and now it doesn't freeze at the boot logo (Starting Windows), but it's just stuck there. I can see the logo animated, it's not frozen, but it's just stuck.

@arukateru
Copy link

Doesn't work for me either, used Integrate7/NTLite. Gets stuck on Starting Windows like before. However interesting to note, that when booting in safe mode, instead of the last driver successfully loaded being disk.sys like usual it's ahcix64s.sys

@AnErrupTion
Copy link

Doesn't work for me either, used Integrate7/NTLite. Gets stuck on Starting Windows like before. However interesting to note, that when booting in safe mode, instead of the last driver successfully loaded being disk.sys like usual it's ahcix64s.sys

Well, it's still progress I suppose!

@AnErrupTion
Copy link

It seems like applying updates to the boot.wim makes VirtualBox not recognize my virtual hard disk. Weird...

@he3als
Copy link

he3als commented Nov 5, 2022

Okay, i just tested it. UEFI and Secure Boot works but the VGA drivers haven't been updated since 2009.

If the VGA drivers have not been updated, newer UEFI class 3 systems will not be able to boot (without CSM) as a legacy BIOS interrupt is missing. However, you can use https://github.com/manatails/uefiseven, which is a boot loader mod that emulates that legacy interrupt and fixes the issue. It works completely fine for me, but the setup/installation can be a bit annoying. Personally, I made a short batch script to install UefiSeven that I integrated into my boot.wim, just so it's a bit easier.

You should also use the Windows 10 setup (by replacing the install.esd/wim) instead of the regular Windows 7 one, as it has proper driver and UEFI support.

@Gold-Phoenix
Copy link

I've got 3 separate PC's that are both UEFI class 3 and have secure boot, 2 x570's and a amd 3200g, if someone can help me understand what im supposed to do i'll happily test it on my hardware

@he3als
Copy link

he3als commented Nov 7, 2022

I've got 3 separate PC's that are both UEFI class 3 and have secure boot, 2 x570's and a amd 3200g, if someone can help me understand what im supposed to do i'll happily test it on my hardware

Follow the instructions on the UefiSeven README.md

@Gold-Phoenix
Copy link

Gold-Phoenix commented Nov 8, 2022

So i dont need to slipstream an ESU update into windows 7 using DISM? Also just using pure UEFISeven on UEFI class 3 doesnt work, ive already tried it

@aleksuks
Copy link

aleksuks commented Nov 9, 2022

From what I could gather, is that none of this actually works?

@he3als
Copy link

he3als commented Nov 9, 2022

UefiSeven works fine for me, make sure that you have UefiSeven's EFI file named as bootmgfw.efi and the original named as bootmgfw.original.efi. Make sure you're booting in to the bootmgfw.efi file as well, but I do not know about secure boot support.

I am not using that update on my system, UefiSeven works completely fine on it.

@AnErrupTion
Copy link

From what I could gather, is that none of this actually works?

I think the best combo would be to apply this update + use UefiSeven. I haven't tried this because last time I did it, the setup wouldn't complete probably because UefiSeven is not digitally signed by Microsoft, so it just failed.

@Gold-Phoenix
Copy link

Can confirm UEFISeven does not work

Just for reference, I have a AMD Ryzen 5900X, a RTX 3090 Xtreme, MSI Meg Ace x570, and a WD Black SN850 NVME drive

image20221110_122735969

@Gravarty
Copy link

UEFISeven works fine with the latest Windows 7 Update (I had to switch from AMD to NVidia, though, because AMD just softlocks on boot)

@he3als
Copy link

he3als commented Nov 10, 2022

It might not work with certain setups, you can report an issue on UefiSeven's GitHub page, or you can try and remove/disable the vga.sys driver, which I don't recommend. I don't think that secure boot will work with UefiSeven, but I am not sure, you can try it.

@Ten2O
Copy link

Ten2O commented Dec 8, 2022

So basically the update doesn't work at all? Haven't seen a single comment here saying it's worked once.

@he3als
Copy link

he3als commented Dec 8, 2022

Probably does something, I am not sure what though. As I said, if the vga.sys driver was not updated, on new UEFI (class 3) systems you will freeze on boot without UefiSeven.

@rounk-ctrl
Copy link

rounk-ctrl commented Dec 29, 2022

I got it to work, but like my system supports windows 7. I didnt test secure boot, only native uefi

i used integrate 7 script with the instructions here https://www.sevenforums.com/installation-setup/417827-integrate7-script-automatically-download-slipstream-all-updates-22.html#post3476102

so it removes the vga.sys driver and you have to integrate the graphics driver so during setup, it installs your graphic driver.

@LazytownSpo666
Copy link

This issue is not relevant to VxKex.

@crucknova
Copy link

Hey, guys. I also want to install windows 10 on my Dell Latitude 3400 i3 8140u, i installed the windows 7 but after reboot, i got a red bar on top of the screen while starting logo animation and system just shuts down. My bios doesnt has legacy or csm support only uefi.

@he3als
Copy link

he3als commented Jun 27, 2023

Get UEFISeven

@crucknova
Copy link

ok, but i dont understand how to use efi shell

@he3als
Copy link

he3als commented Jun 27, 2023

Use WinPE or use 10, what do you need 7 for at this point anyways?

@crucknova
Copy link

Win 10 is too slow, i tried the uefiseven but not working, stuck at boot animation, while i tried safe mode, it struck at disk.sys
i tried the version 1.30 and version 1.24, not working

@Ten2O
Copy link

Ten2O commented Jun 27, 2023

Win 10 is too slow, i tried the uefiseven but not working, stuck at boot animation, while i tried safe mode, it struck at disk.sys i tried the version 1.30 and version 1.24, not working

Windows 8.1 is faster than Windows 7 and 10, try that.

@TurtleShroom
Copy link

WOW! If I convert my BIOS operation to UEFI, I can upgrade my hardware and still run my OS, given that nothing uses BIOS on the motherboard anymore!

@crucknova
Copy link

crucknova commented Jun 28, 2023

is win 8.1 directly supports intel 8th gen?? To be more specific, does it support dell latitude 3400 16gb ram and intel i3 8th gen

@crucknova
Copy link

i have installed win 8.1, all drivers are installed except for wifi adapter, intel ac 9560, its onl compatible for windows 10, is there any way where i can install those drivers in windows 8 and make it work

@antermin
Copy link

My Windows 7 should have included the update as I have applied UpdatePack 7 on it.
However, pure UEFI boot still does not work, and I have to use uefiseven.

@01apoorv
Copy link

So I installed Windows 7 in UEFI mode through UefiSeven, and after installing I applied the ESU update. However, even with the updated bootmgfw.efi, I still run into the same c0d error and end up still having to use UefiSeven. So my guess is the only way to actually do this is by applying the update to a 7 image beforehand and doing a clean install. Will try that and see how it goes.

@GithubersEver
Copy link

Use this patched bootx64.efi
Extract it on your Win 7 ISO in the “efi\boot” folder and rename it to bootx64.efi
https://winraid.level1techs.com/uploads/short-url/cO7hh6F4VX6SAr5Ue4PseiNX4Oz.zip

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