Skip to content

Instantly share code, notes, and snippets.

@djibe
Last active March 26, 2025 18:17
Show Gist options
  • Save djibe/87b6ae5157c309fb611b428445e9fce9 to your computer and use it in GitHub Desktop.
Save djibe/87b6ae5157c309fb611b428445e9fce9 to your computer and use it in GitHub Desktop.
Install Windows 11 24H2 without TPM and Secure Boot requirements

Install Windows 11 24H2 without TPM and Secure Boot requirements

  1. Create a Windows 11 ISO with Microsoft's Media Creation Tool
  2. Install Setup Patchium and run it (or try latest Rufus version directly and patch from there)
  3. Home tab: Select ISO, wait during processing
  4. Go to Install > Uncheck Remove upgrade and Check Disable Windows 11 compatibility restrictions, click Apply
  5. Optional: To install without a Microsoft account, go to Install OOBE tab. Click Integrate lumOOBE. This will break sysinstall.
  6. Click on Create ISO button
  7. Use Rufus or Ventoy (prefered) to run installation from a USB drive

Upgrade Windows 11

Download Windows 11 24H2.

  1. Download MediaCreationTool.bat
  2. Unzip archive and navigate to the /bypass11 folder.
  3. Find the file Skip_TPM_Check_on_Dynamic_Update.cmd, select it, right click > Run as Administrator.
  4. Then run a mounted Windows 11 installer ISO (See previous chapter or download from Microsoft)
    Right click on ISO file > Mount. Then launch the installer from the virtual Drive.

Or use Flyby11

Want to create a script to configure Windows ? Use WinScript

@ohlalayeah
Copy link

Hello.

How to do at Step 4 of upgrading Windows 11?

@djibe
Copy link
Author

djibe commented Dec 14, 2024

Once you unzip MediaCreationTool.bat, go to the /bypass11 folder.
Then right click on Skip_TPM_Check_on_Dynamic_Update.cmd and Run as admin.

Then launch the Win11 installer from a mounted ISO

@AndrewBienhaus
Copy link

AndrewBienhaus commented Jan 16, 2025

Hello - and thanks for the short and to the point explanation. :-)

Once installed fresh, using the no microsoft account method, it would seem that using sysprep to OOBE the machine, doesn't work,
Is there something somewhere, that once "ready to go", I can delete from the new install, so that sysprep will then run the whole OOBE experience, and I can use that to setup the user properly?

thanks much!
Andrew

PS: the why.... is that the OOBE is nice for a fresh machine for resale... or... to trigger the "we found your old install, would you like to restore settings from MS?" options that come up, particularly when you're replacing a failed hard drive on a customer machine. :-)

@djibe
Copy link
Author

djibe commented Jan 17, 2025

Hi @AndrewBienhaus.

  • Did you succeed ?
  • Did you use Microsoft ISO or it failed with lumOOBE ?

@AndrewBienhaus
Copy link

AndrewBienhaus commented Jan 17, 2025

Hello!
I both have and have not suceeded, depending on your perspective. :-)

I used the Microsoft ISO, with your instructions above, to make my USB stick, and have used it many times now, and was very happy that I didn't have to fight with the mandatory microsoft account, etc., and can go straight to 24h2.
So, I believe that is using the lumOOBE.

But, once installed, booted, running, updated, with all the drivers in place, and the system the way I like it... in the past before 24h2/lumOOBE... I would sysprep a system, so the user could then take their machine back, and walk through the steps on their own, with their own MS account.
I was giving them a "fresh" machine.

With your lumOOBE enabled, is there any way to remove that, once the system is running?
So that sysprep will work again?

Merci!
andrew

@djibe
Copy link
Author

djibe commented Jan 18, 2025

@AndrewBienhaus Do you succeed with this ? (use a translator ;)): https://www.it-connect.fr/effectuer-sysprep-windows-11-24h2/

@AndrewBienhaus
Copy link

AndrewBienhaus commented Jan 20, 2025

Hello - and thank you. :-)
I ran through those pages, and I can say, no, that doesn't work.
I do NOT use the generalize, as I do not want to remove SID, or drivers, or anything else - I just want to reset the user account to default, and ask all the "usual" questions.
At the point I am at, I have updated drivers, setup everything to the hardware, and I am NOT using it for HyperV - in fact, I have already activted the license successfully and everything.
It's a "ready to use" machine.

I just need to execute the standard OOBE "script".... so people can put in their own MS account.

but if I do the sysprep with oobe defaults, it just reboots back into what I assume is the lumOOBE.... same default account... no password... everything I picked from the usbstick win11 24h2 install that the instructions created. :-(

Yes, bitlocker is off.

I wonder if there are settings that lumOOBE introduced, that I can remove?
an answer file that can be delete or reset?

thank you!
Andrew

@AndrewBienhaus
Copy link

for what it is worth - if it helped - I have 3 machines right now sitting in my "resale" pile, that are in this state.
if you want me to try messing with something, I am happy to experiment. :-)

@djibe
Copy link
Author

djibe commented Jan 21, 2025

Ni idea :(

@AndrewBienhaus
Copy link

Ok, so for the search engines, here's what I have figured out as of today. :-)

My best google-fu, couldn't unlock the mystery of removing the lumOOBE, resetting it, disabling it, or anything like that.
No matter what I did, sysprep couldn't seem to reset the user experinece to the default oobe.

So - I made a new ISO, using the SetupPatchium tool above, and dumped to USB with Rufus, without the lumOOBE.
Everything worked perfectly.
System setup, just the way I wanted it, and then sysprepped it for a new customer. Tested. Working.
Interestingly enough, using Rufus 4.6.2208 - it actually asked me if I wanted to disable hardware checking, oobe, and a few other things, before it made the USB stick... so I guess Rufus has the same support now for 24h2?

So - I made another USB, using the earlier downloaded iso from MS of 24h2, the one I had fed to SetupPatchium, and selected those options at usb creation time, and it worked perfectly.

BOTH of them - go through the OOBE, but if you unplug the ethernet cable at the "setup for personal use" step, it then bypasses the MS account need, and you can plug the cable back in, one screen later.

The only thing SetupPatchium does do for you, is allow you to select the old pre-24h2 install menus & screens... but there's nothing wrong with the new ones that I have found yet. :-)

@djibe
Copy link
Author

djibe commented Jan 22, 2025

Great. Thx for sharing.

Maybe Rufus is enough for patching the official ISO then.
Enjoy

@AndrewBienhaus
Copy link

.... maybe... but I want you to know I appreciate your original post!
My brain is storing 100,000 trivial things in the IT world... and I truly always appreciate someone saving me some work, and spelling it out!
:-)

@djibe
Copy link
Author

djibe commented Jan 22, 2025

Glad it helps.

You can share Gists too ;)

@djibe
Copy link
Author

djibe commented Jan 25, 2025

@djibe
Copy link
Author

djibe commented Jan 26, 2025

@AndrewBienhaus
Copy link

thank you!
DISM has always been a pain.... I will look into that for sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment