The following service lets you create an autounattend file for your bootable USB installation drive:
Windows Autounattend File Generator
(Note: The domain is German, but the entire website is in English.)
We'll manually add the final file to our bootable USB installation drive later in the guide.
This file automates most of your Windows installation process, removing unwanted Microsoft apps and services before you even get to the desktop for the first time.
- Create a local account
- Prevent device encryption (Windows 11 otherwise forces Bitlocker by default)
- Remove 55+ preinstalled default apps (You can still keep apps you use)
- Uninstall Edge (Supported by Microsoft since recent updates)
For those looking for my personal file, it's available in this repository for download.
However, you’ll still need to upload and import the file on the website linked above and make any necessary edits.
- Click the
autounattend.xml
file in this GitHub repo. - Click the 3 dots in the top right corner of the file page.
- Click Download or press
CTRL+Shift+S
to save it on your PC. - Go to the website linked in step 1.
- Select Choose File to upload the saved file.
- Click Import File next to it.
- Make changes as mentioned in the next step.
- Windows display language: I use English (United States).
- Keyboard layout: I use German.
- Processor architectures: I use Intel/AMD 64-bit.
- Time zone: I use UTC+1 (Berlin).
- User account name: Change it from "Lucky" to your preferred name.
- Default apps: I leave only Notepad, Terminal, Paint, Photos, and Calculator installed.
You'll need:
- A USB drive with at least 8GB of space, formatted to FAT32.
- The Media Creation Tool (download the second button on the page under "Create Windows 11 Installation Media").
- TL;DR: Using either of these tools might lead to bluescreens during installation for unknown reasons.
- This could be related to turning off device encryption or disabling the new Recall feature, but this is just a guess.
- Run the Media Creation Tool and select your already formatted USB drive.
- Wait for the tool to finish and close it.
- Copy your
autounattend.xml
file into the root of the USB drive.- It should now appear alongside files like
bootmgr
,bootmgr.efi
, andsetup.exe
.
- It should now appear alongside files like
- Ensure your finished bootable USB drive is connected to your PC.
- Shut down the PC and turn it back on.
- Hold down the DEL key (or the respective key for your motherboard) to enter BIOS/UEFI.
- Set your USB drive to priority 1 in the boot order, save changes, and exit.
- Your PC should now boot into the Windows installation process, and the
autounattend.xml
file will start doing its magic.- The only thing you'll need to do is format the drive where Windows will be installed.
Here are the personal steps I follow for perfecting the Windows installation.
- Prepare a second USB drive with all necessary drivers.
- Download them from your motherboard vendor's website.
- Unzip and install all of them, then reboot your PC.
- I recommend using NVCleanStall for a debloated NVidia driver.
- Example of my custom settings:
- (1) - Components: Component Settings
- (2) - Tweaks: Tweaks Settings
- I always use NextDNS to block ads and malware in all apps.
- A free alternative is Cloudflare DNS.
- Changing DNS is easy, just search for guides online.
- Search for "Activation Settings", then enter your product key (preferably Pro).
- Enable "Hardware accelerated GPU scheduling" (Search for "Graphics settings").
- Highly recommend turning off "Memory integrity" (Search for "Device security" > "Core isolation").
My go-to tool is the Windows Utility, a popular GitHub Powershell project.
- Run all Windows updates (Search for "Check for updates") - MANDATORY.
- Reboot after completing all updates - MANDATORY.
- Open the Microsoft Store once to trigger/fix WinGet package manager (Can be closed immediately).
- Search for "Powershell" and run it as admin.
- Type the following and hit enter:
irm "https://christitus.com/win" | iex
- Head to the "Tweaks" tab and (optionally) copy my Settings.
- Click "Run Tweaks" and wait for it to finish (check console output).
- I also recommend adding the Ultimate Performance Profile in the "Tweaks" tab and enabling Security Settings in the "Updates" tab.
Here are a few apps and tools that I use, though they’re not recommended for everyone. Make sure you understand their purpose and can make use of them.
- O&O ShutUp10++ – Privacy tool to disable spying/telemetry.
- Sysinternals Autoruns – Clean up what's loading on Windows startup.
- nvidiaProfileInspector – Customize your Nvidia GPU settings.
(Here's what I do: Example)
- Nilesoft Shell – Personalize and skin the right-click context menu.
- ExplorerPatcher – Advanced customization (Not recommended unless you know what you’re doing).
- Vencord – Modifies Discord with plugins/themes (Technically against ToS).
- Brave Browser – A great browser if you can’t move away from Chrome.
- Firefox Browser – What I use and recommend.