Very small and compatible script to streamline, optimize and automatically cleanup Windows 11 upon install of any official version.
Automatically bypasses hardware checks, optimizes the NTFS file system on your drives, removes the majority of the bloat, and adjusts a few QoL registry tweaks/policies. The install process is streamlined to get you into a local user account as soon as possible. No Microsoft account needed.
Recommended to use with Windows 11 Pro or Enterprise edition, but should still work effectively on Home edition. (Group Policy tweaks do not work on Home edition.)
Designed to be as vanilla as possible, with no visibility or interaction, and very compatible with updates.
- Get the latest Windows 11 install media on your USB/ISO (see https://www.microsoft.com/software-download/windows11)
- Download this repo and place "sources" and "autounattend.xml" into the root of your Windows 11 install media
- Install Windows 11 with a fresh install from boot (upgrading/refreshing will probably not work)
- Don't forget to set your time zone in Settings! (unfortunately not available during setup)
To disable automatically setting Dark theme on first login, delete the "Roaming" folder under "sources\$OEM$\$1\Users\Default\AppData". Do not delete "Local"!
To see what the script changes, open "sources\$OEM$\$$\Setup\Scripts\specialize.ps1".