UnattendedWinstall leverages Microsoft's Answer Files (or Unattend files) to automate and customize Windows installations. It enables modifications to Windows Settings and Packages directly in the Windows ISO during setup. !Note This is Answer file Created by Project,its just Verison of Memory tech tips for my personal use
- Provides transparency by allowing inspection of all changes in the answer file.
- Runs directly on official Windows ISOs from Microsoft, eliminating the need for unofficial sources.
- Utilizes a Microsoft-supported feature designed for streamlined mass deployment of Windows installations.
- Enables automated configuration across multiple devices, saving time and effort by eliminating repetitive manual setups.
Note
UnattendedWinstall has been tested and optimized for personal use. For those interested in customizing further, create your own answer file This answer file was created for my personal use, based on Schneegans' project and inspired by Memory Tech Tips Answer File
In short, you need to include the autounattend.xml
answer file on your Windows Installation Media so it can be read and executed during the Windows Setup. Here are a few ways to do it:
Note
- The filename included on the root of the Windows Installation Media must be
autounattend.xml
or else it won't execute.
- Download your preferred
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.xml
file 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.
- Download your preferred
autounattend.xml
file and save it on your computer. - Download the Windows 10 or Windows 11 ISO file depending on the version you want.
- Download and Install AnyBurn
- In AnyBurn, select the “Edit Image File” option.
- Navigate to and select the Official Windows ISO file you downloaded in Step 2.
- Click on “Add” and select the
autounattend.xml
file you downloaded in Step 1 or just click and drag theautounattend.xml
into the AnyBurn window. - Click on “Next,” then on “Create Now.” You should be prompted to overwrite the ISO file, click on “Yes.”
- Once the process is complete, close AnyBurn.
- Use the ISO file to Install Windows on a Virtual Machine OR use a program like Rufus or Ventoy to create a bootable USB flash drive with the edited Windows ISO file.
Important
- When using Rufus, don’t select any of the checkboxes in “Customize Your Windows Experience” as it creates another
autounattend.xml
file that might overwrite settings in the UnattendedWinstall file.
- Boot from the Windows Installation USB, do a clean install of Windows as normal, and the scripts will run automatically.
If you have feedback, suggestions, or need help with UnattendedWinstall, please feel free to join the discussion on GitHub or our Discord community:
- Windows 10 or Windows 11
- (Tested on Windows 10 22H2 & Windows 11 24H2)
- (32-bit, 64-bit and arm64 is supported)
Click to Show
- Base Answer File Generation:
-
Ability to choose Windows Edition (Pro is not enforced anymore as in v1.0.0)
-
Allows execution of PowerShell scripts by default
-
bypass the online account
-
bypass the Wi-Fi selection
-
bypass windows 11 requirements (tpm, secure boot, etc)
-
add the ability to Sign in with local account
-
Sets privacy-related registry keys to disable telemetry
-
Configures Windows services for optimal performance
-
Enables the Ultimate Performance power plan
-
Limits Windows Update to install only security updates for two year
-
Support Arm, amd/intel 64 bit, amd/intel 32 bit
-
Apps preinstalled
- Microsoft edge
- terminal
- notepad (modern)
- media player (modern)
- photos
-
What else?
- remove home & gallery from file Explorer
- remove home page from settings
Made by Project
UnattendedWinstall
Note
You need to reboot your system after the first logon, so the UanttendedScript.ps1 can apply the necessary system changes.