Welcome to Auto Clean! This repository provides a completely safe, automated (autounattend.xml) deployment script designed to give you a pristine, debloated Windows environment right out of the box.
By leveraging this script, you can bypass tedious setup screens, permanently remove built-in bloatware, disable telemetry, and apply power-user system tweaks automatically during the Windows installation process.
-
Completely Safe: A thoroughly tested, zero-touch setup script that ensures a clean, reliable, and debloated Windows installation without compromising system stability.
-
Powered by Community Tools: Integrates the startup installer from the Chris Titus PowerShell install utility for applied system tweaks and optimizations.
-
Hardware Check Bypasses: Automatically skips TPM, Secure Boot, CPU, RAM, and Storage checks for Windows 11 installations.
-
Deep System Debloat: Natively removes Microsoft Edge, OneDrive, Copilot, Windows Recall, and various telemetry tracking tasks.
-
DIY Customization: Want to tweak this further? You can generate your own custom unattended script using the excellent Schneegans Unattend Generator.
You can deploy this configuration using either Ventoy (for multi-boot drives) or Rufus (for single-OS bootable USBs).
Ventoy is highly recommended as it allows you to boot multiple ISOs from a single USB drive.
- Install Ventoy onto your USB flash drive.
- On the Ventoy USB, create a folder named
ventoyat the root of the drive. Inside that folder, create another folder namedconfigs(e.g.,USB:\ventoy\configs\). - Place the
autounattend.xmlfile into theconfigsfolder. - Create a file named
ventoy.jsoninside theUSB:\ventoy\directory and paste the following configuration:
{
"control": [
{ "VTOY_DEFAULT_MENU_MODE": "0" },
{ "VTOY_TREE_VIEW_MENU_STYLE": "0" }
],
"auto_install": [
{
"image": "/windows_10.iso",
"template": "/ventoy/configs/autounattend.xml"
},
{
"image": "/windows_11.iso",
"template": "/ventoy/configs/autounattend.xml"
}
]
}"image" values in the JSON config above.
- Name your Windows 10 ISO:
windows_10.iso - Name your Windows 11 ISO:
windows_11.iso(If you prefer to keep your original ISO names, simply update the"image"paths in theventoy.jsonfile to match them).
If you prefer a traditional, single-boot installation USB, Rufus makes it incredibly easy.
- Download and open Rufus.
- Select your USB drive and select your Windows ISO file.
- Click START. (Note: Rufus may prompt you with its own "Windows User Experience" customization window. You can uncheck these options, as our script handles all of this automatically).
- Wait for Rufus to finish creating the bootable USB.
- Once complete, navigate to the root directory of your newly created Windows USB drive.
- Copy and paste the
autounattend.xmlfile directly into the root of the USB drive. - Boot your PC from the USB. Windows Setup will automatically detect the XML file and execute the clean, unattended installation.
Curious about what the provided autounattend.xml actually does? Here is a quick overview of the embedded scripts:
-
remove-packages.ps1: Strips out default provisioned packages (like Clipchamp, Zune, Bing Search, and legacy legacy apps). -
wintweaks.ps1: Creates a desktop shortcut for the Chris Titus WinUtil, enables .NET 3.5, optimizes SVCHOST, and disables scheduled telemetry tasks. -
localmachine.cmd: Disables Copilot, Recall AI, Bing Search in the Start Menu, location tracking, and forces Windows Update to security-only settings. -
currentuser.cmd: Aligns the Windows 11 taskbar to the left, hides the search icon, disables "Suggested Content" ads, and restores the classic right-click explorer menu. -
edgeremoval.bat: Forcefully and completely removes Microsoft Edge and its WebView components.