Very small and compatible set of scripts 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 (IoT) edition. Home edition is untested, but should still work effectively. (Group Policy tweaks do not work on Home edition.)
These scripts are designed to be as vanilla as possible, with no visibility or interaction, and very compatible with updates.
The main script is split between specialize.ps1 during the initial setup on first boot; and setupcomplete.ps1 on the second boot before the OOBE starts.
These scripts and all registry tweaks can be found and customized for your needs under sources\$OEM$\$$\Setup\Scripts.
- 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"!