Attune Project: Automate Windows Installation with autounattend

This Attune Project provides an efficient and streamlined approach to creating customised Windows installation ISOs using the autounattend.

The project caters to various Windows distributions and employs multiple methodologies to facilitate the creation of these tailored installation media. Whether you're working with large 5GB ISOs or building a lightweight WinPE installer, this project has the resources and blueprints you need to automate the process effectively.

Target Audience

IT professionals and system administrators who regularly set up Windows environments.

Organisations looking to streamline their OS deployment process.

Individuals seeking an efficient way to install or reinstall Windows on their computers.

Key Features

Versatile Windows Support: The project includes blueprints for a range of Windows distributions, allowing for broad application across different Windows environments.

Comprehensive Methodologies: From mounting large 5GB ISO files to constructing a WinPE installer ISO, the project encompasses diverse techniques to suit various requirements and preferences.

Autounattend.xml Integration: Central to the project is the utilisation of autounattend.xml, which automates the Windows installation process and eliminating manual input.

Blueprints for Customisation: Each blueprint within the project is designed to be clear and user-friendly, ensuring that even users with minimal experience in Windows automation can achieve successful outcomes.

Efficient ISO Creation Process: The project streamlines the ISO creation process, making it faster and more reliable, whether you are an IT professional setting up multiple systems or an individual user installing Windows on a new PC.

autounattend Installation Methods

There are three methods to autounattend install Windows OS in this Project.

  1. Single ISO
  2. Dual ISO
  3. WinPE ISO

Single ISO

This is the simplest installation possible with the least dependencies and configuration.

The large 5GB Windows installation ISO is extracted and repackaged with the drivers and configuration files.

Ideal Use Case: Great fallback method for when no other methods are easy.

Advantages: Simple setup and process

Disadvantages: Each installation being performed requires unpacking, repacking, and transfering around a unique 5GB ISO file.

Dual ISO

The unalted Windows Installation ISO is deployed directly to the device. Drivers and configuration files are attached to the device in a separate ISO file.

Ideal Use Case: Preferred method for a small number of machines to build.

Advantages: * Simple setup and process * Light work load

Disadvantages: Host requires capability to attach a second CD-ROM (eg. oVirt cannot attach a second CD-ROM).

WinPE ISO

Small WinPE ISO file for each device. Any aditional files required during the installation are copied from a Samba Share on the network.

Ideal Use Case: Great for building a large number of machines or if a small ISO file is required.

Advantages: * Best for Enterprise * Small files * Fastest installation * Network efficient

Disadvantages: Requires significant once off setup to gather the WinPE files and setup a Samba Share.

Get Started

If you haven't already, download and install the free Attune Community Edition.

Clone the Automate Windows Installation with autounattend Project.

Review the autounattend Installation Methods and select a method.

Review the description of the Blueprint you will run and following the instructions.

Learn More

Visit the Attune Documentation - Automate Operating System Installation to learn how Attune streamlines the OS installation process.

For other guides, visit the Attune Documentation - How-to Guides .

This documentation is generated by Attune

This project contains the following documentation and instruction sets:

Create Windows 10 (Win10) autounattend Single ISO on macOS or Linux Worker

Creates a single Windows Desktop 10 ISO with autounattend.xml for unattended installation.

The ISO will be created at {ksAttuneBaseDir}/kickstart_{kickstartedNode.fqn}.iso.

For both BIOS and UEFI kickstarts.

For BIOS kickstarts please set isWin10Bios to the string 'true'.

For UEFI kickstarts please set isWin10Uefi to the string 'true'.

Please set isWinPEKickstart to the string 'false'.

This blueprint assumes the drivers drop in directory is at {automationWorkerWindowsBaseDirectory}/drivers-{newOsNode.fqn} and has the correct drivers dropped in.

Create Windows 10 (Win10) autounattend Single ISO on Windows Worker

The Windows worker can run Linux commands using Windows Subsystem for Linux.

Create Windows autounattend WinPE ISO on macOS or Linux

This Attune Blueprint creates a WinPE ISO file to install Windows OS on a specific device.

Builds Windows workstations and Windows Server machines with either BIOS or UEFI boot.

The process take the WinPE Essential files for the boot configuration being built and repackages the ISO file with the requries configuration files to automate the installation.

The steps in the Blueprint are performed on macOS or Linux.

A single WinPE ISO is created.

Create Windows Server 2016 (Win2016) autounattend Single ISO on macOS or Linux Worker

Creates a single Windows Server 2016 ISO with autounattend.xml for unattended installation.

The ISO will be created at {ksAttuneBaseDir}/kickstart_{kickstartedNode.fqn}.iso.

For both BIOS and UEFI kickstarts.

For BIOS kickstarts please set isWinServerBios to the string 'true'.

For UEFI kickstarts please set isWinServerUefi to the string 'true'.

Please set isWinPEKickstart to the string 'false'.

This blueprint assumes the drivers drop in directory is at {automationWorkerLinuxBaseDirectory}/drivers-{newOsNode.fqn} and has the correct drivers dropped in.

Create Windows Server 2019 (Win2019) autounattend Single ISO on macOS or Linux Worker

Creates a single Windows Server 2019 ISO with autounattend.xml for unattended installation.

The ISO will be created at {ksAttuneBaseDir}/kickstart_{kickstartedNode.fqn}.iso.

For both BIOS and UEFI kickstarts.

For BIOS kickstarts please set isWinServerBios to the string 'true'.

For UEFI kickstarts please set isWinServerUefi to the string 'true'.

Please set isWinPEKickstart to the string 'false'.

This blueprint assumes the drivers drop in directory is at {automationWorkerBaseDirectory}/drivers-{newOsNode.fqn} and has the correct drivers dropped in.

Create Windows Server 2022 (Win2022) autounattend Single ISO on macOS or Linux Worker

Creates a single Windows Server 2022 ISO with autounattend.xml for unattended installation.

The ISO will be created at {ksAttuneBaseDir}/kickstart_{kickstartedNode.fqn}.iso.

For both BIOS and UEFI kickstarts.

For BIOS kickstarts please set isWinServerBios to the string 'true'.

For UEFI kickstarts please set isWinServerUefi to the string 'true'.

Please set isWinPEKickstart to the string 'false'.

This blueprint assumes the drivers drop in directory is at {automationWorkerBaseDirectory}/drivers-{newOsNode.fqn} and has the correct drivers dropped in.

Deploy and Extract Win10 ISO to Samba Share on Linux

This Blueprint deploys the Windows 10 ISO files to the Samba Share server.

Deploy and Extract Win2016 ISO to Samba Share on Linux

This Blueprint deploys the Windows Server 2016 ISO files to the Samba Share server.

Deploy and Extract Win2019 ISO to Samba Share on Linux

This Blueprint deploys the Windows Server 2019 ISO files to the Samba Share server.

Deploy and Extract Win2022 ISO to Samba Share on Linux

This Blueprint deploys the Windows Server 2022 ISO files to the Samba Share server.

Extract ISO and Configure Folder Permissions for Samba Share on Linux

This blueprint is a repeatable process for the Deploy and Extract {windows_distribution} ISO to Samba Share blueprints.

Perform Test Win Node

Performs basic tests for the built node.

WinPE Essentials Extraction on macOS or Linux

This Attune Blueprint extracts the essential WinPE files from a full 5GB Windows installation ISO, reducing the ISO file size to less than 500MB.

The steps in the Blueprint are performed on macOS or Linux.

Two WinPE ISOs are created, one for BIOS boot and another for UEFI boot.

WinPE Essentials Extraction on Windows

Sets up the "plain" WinPE skeleton files on Windows Worker at C:\WinPE_amd64.

This folder can be copied and then it's .\media\sources\boot.wim file can be modified for an automated unattended Windows install.

This folder works for both BIOS and UEFI boot methods.

Attune - Powered by ServerTribe

Automate with Attune

Download the Attune Community Edition.

DOWNLOAD!!!

Discuss this Project in Discord

Join our Discord channel and connect with like-minded individuals who share your passion. Engage in lively discussions, gain valuable insights, and stay updated on the latest trends in our industry. Don't miss out on this opportunity to network, learn, and grow together.


Click the link below and become a part of our vibrant community on Discord today!

Join NOW!!!