Personalized Unattended Answer Files that helps automatically debloat and customize Windows 10 & 11 during the installation process.
5,978
stars
86
commits
Jun 3, 2026
updated
UnattendedWinstall leverages Microsoft's Answer Files (or Unattend files) to automate and customize Windows installations. It allows uninstallation of Windows Apps and Features and changes to Windows Settings during the Windows setup process.
[!NOTE] UnattendedWinstall has been tested and optimized for personal use. For those unsatisfied or interested in customizing further, consider creating your own answer file using:
- Winhance Unattend Generator following this video guide.
- Schneegans Unattend Generator following this video guide.
If UnattendedWinstall has been useful to you, consider supporting the project, it really does help!
If you have feedback, suggestions, or need help with UnattendedWinstall, please feel free to join the discussion on GitHub or our Discord community:
The UnattendedWinstall answer file comes with detailed descriptions for nearly all configurations and registry tweaks, which are available for inspection here on GitHub. For customization, download the answer file and open it in editors like Cursor or VSCode.
[!TIP] Use Winhance once Windows is installed (can be installed using the 'Install Winhance' desktop shortcut) to install software, re-apply or revert settings and manage your Windows apps and settings.
It can also be used to achieve the same experience UnattendedWinstall provides on an existing Windows installation without reinstalling Windows, see this video for more info.
To use an answer file, include autounattend.xml at the root of your Windows Installation Media to be executed during Windows setup.
[!IMPORTANT]
Ensure the answer file is namedautounattend.xml; otherwise, it won’t be recognized by the installer.
To use WIMUtil, follow these steps:
Download and install Winhance from Winhance.net or GitHub.
Launch Winhance, click on the "Advanced Tools" navigation button (bottom left) and select WIMUtil.
Once launched, WIMUtil guides you through a wizard:
Once the ISO file is created:
For more info, check out the full video guide.
Download the autounattend.xml file and save it on your computer.
Create a Windows 10 or Windows 11 Bootable Installation USB drive with Rufus or the Media Creation Tool.
Important
- Some users have reported issues with the Media Creation Tool when creating the Windows Installation USB. Use it at your own discretion.
- When using Rufus, don’t select any of the checkboxes in “Customize Your Windows Experience,” as it creates another
autounattend.xmlfile that might overwrite settings in the UnattendedWinstall file.
Copy the autounattend.xml file you downloaded in Step 1 to the root of the Bootable Windows Installation USB you created in Step 2.
Boot from the Windows Installation USB, do a clean install of Windows as normal, and the scripts will run automatically.
autounattend.xml file and save it on your computer.autounattend.xml file you downloaded in Step 1, or just click and drag the autounattend.xml into the AnyBurn window.Important
- When using Rufus, don’t select any of the checkboxes in “Customize Your Windows Experience,” as it creates another
autounattend.xmlfile that might overwrite settings in the UnattendedWinstall file.
autounattend.xml file and save it on your computer.ISO and Templates. ISO folder, create a new folder called Windows.ISO\Windows folder.autounattend.xml into the Templates folder.VentoyPlugson.exe file.Auto Install Plugin menu from the list.Add button.Windows folder. F:\ISO\Windows (Replace F with your drive letter.)autounattend.xml file. F:\Templates\autounattend.xml (Replace F with your drive letter.) autounattend.xml files, you can add them later on!)OK and you should see a message saying that the configuration has been saved successfully./Templates/autounattend.xml file.autounattend.xml will be automatically executed during installation.To resolve this, follow these steps:
After installation, you should be able to connect to the internet.
[!TIP]
You can use WIMUtil in Winhance to extract and add the drivers from your current operating system to the Windows installation media. These drivers should then be installed automatically during the Windows installation process, preventing any internet connection issues.
[!NOTE]
For v1.0.0 you need to download theSource Code.zipfile. Once extracted, you’ll have access to all the previous v1.0.0 files.
UWScript.ps1 file that was in V2.1.0?autounattend.xml file?For registry entries or PowerShell Code that can be applied system wide (HKEY_LOCAL_MACHINE or HKEY_CLASSES_ROOT), find this section of the file:
# ADD YOUR SYSTEM WIDE POWERSHELL SCRIPT CONTENTS BELOW
# Start here
# End here
Add the code between the # Start here and # End here lines.
For registry entries or PowerShell Code that should be applied to the user profile (HKEY_CURRENT_USER), find this section of the file:
# ADD YOUR USER SPECIFIC POWERSHELL SCRIPT CONTENTS BELOW
# Start here
# End here
Add the code between the # Start here and # End here lines.
[!IMPORTANT]
The code that is added to the file must be valid PowerShell code, or else the script will fail and no changes will be made to Windows.
Personalized Unattended Answer Files that helps automatically debloat and customize Windows 10 & 11 during the installation process.
5,978
stars
86
commits
Jun 3, 2026
updated
UnattendedWinstall leverages Microsoft's Answer Files (or Unattend files) to automate and customize Windows installations. It allows uninstallation of Windows Apps and Features and changes to Windows Settings during the Windows setup process.
[!NOTE] UnattendedWinstall has been tested and optimized for personal use. For those unsatisfied or interested in customizing further, consider creating your own answer file using:
- Winhance Unattend Generator following this video guide.
- Schneegans Unattend Generator following this video guide.
If UnattendedWinstall has been useful to you, consider supporting the project, it really does help!
If you have feedback, suggestions, or need help with UnattendedWinstall, please feel free to join the discussion on GitHub or our Discord community:
The UnattendedWinstall answer file comes with detailed descriptions for nearly all configurations and registry tweaks, which are available for inspection here on GitHub. For customization, download the answer file and open it in editors like Cursor or VSCode.
[!TIP] Use Winhance once Windows is installed (can be installed using the 'Install Winhance' desktop shortcut) to install software, re-apply or revert settings and manage your Windows apps and settings.
It can also be used to achieve the same experience UnattendedWinstall provides on an existing Windows installation without reinstalling Windows, see this video for more info.
To use an answer file, include autounattend.xml at the root of your Windows Installation Media to be executed during Windows setup.
[!IMPORTANT]
Ensure the answer file is namedautounattend.xml; otherwise, it won’t be recognized by the installer.
To use WIMUtil, follow these steps:
Download and install Winhance from Winhance.net or GitHub.
Launch Winhance, click on the "Advanced Tools" navigation button (bottom left) and select WIMUtil.
Once launched, WIMUtil guides you through a wizard:
Once the ISO file is created:
For more info, check out the full video guide.
Download the autounattend.xml file and save it on your computer.
Create a Windows 10 or Windows 11 Bootable Installation USB drive with Rufus or the Media Creation Tool.
Important
- Some users have reported issues with the Media Creation Tool when creating the Windows Installation USB. Use it at your own discretion.
- When using Rufus, don’t select any of the checkboxes in “Customize Your Windows Experience,” as it creates another
autounattend.xmlfile that might overwrite settings in the UnattendedWinstall file.
Copy the autounattend.xml file you downloaded in Step 1 to the root of the Bootable Windows Installation USB you created in Step 2.
Boot from the Windows Installation USB, do a clean install of Windows as normal, and the scripts will run automatically.
autounattend.xml file and save it on your computer.autounattend.xml file you downloaded in Step 1, or just click and drag the autounattend.xml into the AnyBurn window.Important
- When using Rufus, don’t select any of the checkboxes in “Customize Your Windows Experience,” as it creates another
autounattend.xmlfile that might overwrite settings in the UnattendedWinstall file.
autounattend.xml file and save it on your computer.ISO and Templates. ISO folder, create a new folder called Windows.ISO\Windows folder.autounattend.xml into the Templates folder.VentoyPlugson.exe file.Auto Install Plugin menu from the list.Add button.Windows folder. F:\ISO\Windows (Replace F with your drive letter.)autounattend.xml file. F:\Templates\autounattend.xml (Replace F with your drive letter.) autounattend.xml files, you can add them later on!)OK and you should see a message saying that the configuration has been saved successfully./Templates/autounattend.xml file.autounattend.xml will be automatically executed during installation.To resolve this, follow these steps:
After installation, you should be able to connect to the internet.
[!TIP]
You can use WIMUtil in Winhance to extract and add the drivers from your current operating system to the Windows installation media. These drivers should then be installed automatically during the Windows installation process, preventing any internet connection issues.
[!NOTE]
For v1.0.0 you need to download theSource Code.zipfile. Once extracted, you’ll have access to all the previous v1.0.0 files.
UWScript.ps1 file that was in V2.1.0?autounattend.xml file?For registry entries or PowerShell Code that can be applied system wide (HKEY_LOCAL_MACHINE or HKEY_CLASSES_ROOT), find this section of the file:
# ADD YOUR SYSTEM WIDE POWERSHELL SCRIPT CONTENTS BELOW
# Start here
# End here
Add the code between the # Start here and # End here lines.
For registry entries or PowerShell Code that should be applied to the user profile (HKEY_CURRENT_USER), find this section of the file:
# ADD YOUR USER SPECIFIC POWERSHELL SCRIPT CONTENTS BELOW
# Start here
# End here
Add the code between the # Start here and # End here lines.
[!IMPORTANT]
The code that is added to the file must be valid PowerShell code, or else the script will fail and no changes will be made to Windows.