Build a custom Windows 11 install USB that skips the Microsoft account and hardware checks, then installs your chosen apps on its own using winget. It suits anyone setting up a new PC or reinstalling Windows who wants a repeatable, hands-off setup. You need a spare 8GB or larger USB stick and a Windows PC to prepare it.
YouTube video: The Perfect Windows 11 Setup USB.
Caption availability is unknown. Check the CC control in the YouTube player.
Choose a chapter (12)
- Video length
- 26 min 32 s
- Time to do it
- 45 minutes
- Difficulty
- Medium
- Steps
- 9
What you need
Steps
Download Rufus and the Windows 11 Media Creation Tool from their official sites. Plug in your USB stick and back up anything on it, since it will be wiped.
Run the Media Creation Tool and choose to create installation media for Windows 11. Pick your language and edition, then save the ISO file to your PC.
Open Rufus, select your USB stick as the device and your new ISO as the boot selection. Set the partition scheme to GPT and the target system to UEFI.
Tick the box to remove the requirement for a TPM 2.0 and Secure Boot check, and the box to skip the Microsoft account setup, so you can use a local account.
Start the write and let Rufus finish. When it is done, open the USB and create a folder called Sources\$OEM$\$$\Setup\Scripts.
In that Scripts folder, create install-apps.ps1. Add a short sleep, then a list of winget app IDs, and a loop that runs winget install --id with the --exact, --silent and agreement flags.
Create SetupComplete.cmd in the same folder. Add a RunOnce registry entry that launches your PowerShell script hidden with ExecutionPolicy Bypass, then exit with code 0.
Test the USB in a virtual machine first, such as VirtualBox, and watch for your apps installing silently after setup finishes.
Once the test works, boot your target PC from the USB and run through Windows setup. Your apps should install by themselves at the end.
Tips and common mistakes
Use exact winget package IDs, or the install command will fail silently and you will not notice until later.
Keep the 30 second sleep at the start of the script so winget is ready before it runs.
Check each app ID with winget search before adding it to your list.
Test in a virtual machine before wiping a real PC, since a bad script can leave setup half finished.
Questions
Do I need a Microsoft account to finish setup?
No. The Rufus option skips the Microsoft account screen, so you can create a local account instead.
Will this work on a PC that does not meet Windows 11 requirements?
Yes, if you tick the Rufus box that removes the TPM 2.0 and Secure Boot checks. The install may still be unsupported by Microsoft.
Can I add my own apps to the list?
Yes. Add each app's winget ID to the list in the PowerShell script, one per line, before you write the USB.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


