Skip to content

A PowerShell script that makes your Windows lighter, faster, and better during the Windows installation

License

Notifications You must be signed in to change notification settings

deadproject/UnattendedWinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project's Unattended Windows installation

Introduction

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

Why Use an Answer File?

Security

  • 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.

Automation

  • Enables automated configuration across multiple devices, saving time and effort by eliminating repetitive manual setups.

Versions

Version 2 Release (Latest) Version 1 Release

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

Installing Windows with an 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.

Method 1: Create a Bootable Windows Installation Media

  1. Download your preferred autounattend.xml file and save it on your computer.
  2. 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.
  1. Copy the autounattend.xml file you downloaded in Step 1 to the root of the Bootable Windows Installation USB you created in Step 2.
  2. Boot from the Windows Installation USB, do a clean install of Windows as normal, and the scripts will run automatically.

Method 2: Create a Custom ISO File

  1. Download your preferred autounattend.xml file and save it on your computer.
  2. Download the Windows 10 or Windows 11 ISO file depending on the version you want.
  3. 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 the autounattend.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.
  4. 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.
  1. Boot from the Windows Installation USB, do a clean install of Windows as normal, and the scripts will run automatically.

Feedback and Community

If you have feedback, suggestions, or need help with UnattendedWinstall, please feel free to join the discussion on GitHub or our Discord community:

![Join Discord Community])

Requirements

  • Windows 10 or Windows 11
    • (Tested on Windows 10 22H2 & Windows 11 24H2)
    • (32-bit, 64-bit and arm64 is supported)

Sources and Contributions

Click to Show

Key Features

  • 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.