How To Create a Windows 11 Golden Image with Preinstalled Software
Manually configuring Windows 11 for every new hire is a recipe for inconsistency and wasted billable hours. Between debloating the OS, toggling privacy settings, and installing the standard "must-have" software suite, a single workstation can eat up half a day.
By creating a Windows 11 Golden Image, you move from manual labor to automated precision. In this guide, we’ll walk through the process of using Audit Mode and Sysprep to build a clean, pre-configured master image that ensures every machine in your fleet is identical, secure, and ready for production on day one.
Prerequisites
| Requirement | Recommendation / Source | Why it’s needed |
| Hypervisor | To build the image in a controlled, hardware-agnostic environment. | |
| Windows 11 ISO | The base operating system for your Golden Image. | |
| AnyBurn | To modify and re-package the ISO with your new image. | |
| Software Assets | Ninite / Individual Installers | The "Preinstalled" part of your Golden Image. |
Hypervisor
Windows 11 ISO
AnyBurn
.WIM file and swap it back into a bootable ISO format. This is the "secret sauce" for creating a deployable disk.Software & Licensing
Gather your installers beforehand to save time.
For Freeware: Use
to create a singleNinite .exethat installs all your basics (Chrome, VLC, 7-Zip, etc.) in one go.
For Commercial Software: Ensure you have your Volume License (VL) keys or sufficient retail seats.
Preparing The VM
Centralize Your Deployment Assets
C:\GoldenImage_Build). Move your Windows 11 ISO, AnyBurn setup, and all your software installers into this folder. Keeping everything in a single, easily accessible path prevents broken directory links and makes mounting files to your VM much faster later on.Setup VM
Open VMware (or your preferred hypervisor) and initiate the setup for a new Virtual Machine. Name the VM and save it to your preferred directory.
While you can leave most basic parameters at their defaults, you must configure the following to meet Windows 11's strict hardware requirements:
Security (Encryption & vTPM): Because Windows 11 requires a TPM chip, VMware will automatically prompt you with an Encryption Information screen during the setup wizard.
Under Choose Encryption Type, select "Only the files needed to support a TPM are encrypted." (This is faster and less resource-intensive than encrypting the entire VM).
Type a secure password or use the auto-generated one provided.
Check the box to "Remember the password on this machine in Credential Manager" so you aren't prompted for it every time you boot the VM.
- Firmware: Set the boot type to UEFI and enable Secure Boot.
CPU & RAM: Allocate at least 2 Cores and 4GB of RAM (8GB is recommended for a smoother build process).
Install Windows
When prompted to "Select Setup Option", select "Install Windows 11" and toggle "I agree everything will be deleted including files, apps, and settings" and click "Next".
On the next step it will ask for the product key. As we are creating a custom OS, click on "I don't have a product key".
In the next step it will ask you to select image we want to install. While it doesn't matter which image you chose at this stage as Windows will enable/disable features based on the product key you use to activate Windows 11, I will use Windows 11 Pro image anyway.
In the next window, the wizard will ask you to confirm the installation. Click "Install" and wait for the installation to finish.
- Press Shift + F10 to open a Command Prompt.
- Type taskmgr and press Enter to open the Task Manger
Accessing Audit Mode
VMware Tools
Partitioning & File Sharing
Adding an Extra HDD
Select Hard Disk from the hardware list and click Next. You can proceed through the rest of the wizard using the default values until the setup is complete.
Once you have added the new hard disk, it is time to configure a shared folder between the host and guest machines.
Enable Shared Folders
On the right side of the window, under the Folder sharing settings, select the Always enabled option. Then, click the Add button at the bottom to continue. This will open a wizard. Click Next.
In the wizard that appears, click the Browse... button and navigate to the folder on your host machine that contains all your necessary files—such as setups, ISOs, and other software. Then click Next.
Formatting the Extra HDD
As soon as Disk Management opens, an Initialize Disk window will automatically pop up. Ensure your newly added disk is checked, select GPT (GUID Partition Table) as the partition style, and click OK.
Locate the Unallocated space on your new disk, right-click it, and select New Simple Volume from the context menu.
The wizard will now ask you to specify the volume size. Leave the default maximum value exactly as it is to use the entire disk, and click Next.
This screen will prompt you to configure the formatting settings. You can enter a Volume label of your choice (e.g., "Data"), leave the File system and Allocation unit size at their default settings, and click Next.
Finally, review your settings on the summary screen and click Finish to complete the volume creation and close the wizard.
Your new partition is now fully formatted, mounted, and ready to use. You can now use this dedicated space to store the customize image.
Install Software
Bypass the Microsoft Account Requirement (Disable NRO)
During the standard Windows Out-of-Box Experience (OOBE), Microsoft forces users to connect to the internet and log in with a Microsoft account. Since most of us prefer using local accounts for base images, we need to disable this network requirement.
Note: If you are creating this image for mass enterprise deployments, you can skip this step, as you can bypass the requirement later using an unattend.xml answer file.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBERunning Sysprep to Generalize the Image
In the System Preparation Tool window select the Generalize option, and select Shutdown from Shutdown options menu. Then click OK
Capturing The Image
Select your keyboard layout again when prompted, and then select "Troubleshoot" from the "Choose an option" window.
Before starting the capture process, we first need to identify the correct drive letter for our Windows partition and the Data partition. While you might assume that the Windows partition is the
C: drive, the Windows recovery environment frequently reassigns drive letters. Use the following commands to open DiskPart and list your attached volumes:diskpartlist disk
list volume Based on the example output above, the drive letter assigned to our Windows partition is actually
D:, while our new Data partition is C:. To confirm this is correct, we will exit DiskPart, switch to the D: drive, and list its directories to ensure it contains our OS files. Run the following commands:D:
dir
Now that we have confidently identified both the Windows and Data partitions, we can initiate the capture process. First, switch back to the X: drive (the temporary WinPE environment where the DISM tool is located), and then run the capture command.
Note: Be sure to replace the placeholder tags with your actual drive letters, and remember that this process may take some time depending on the size of your image and the speed of your disk.
X:
dism /capture-image /imagefile:<Data_Partition>:\install.wim /capturedir:<Windows_Partition>:\ /Name:Win11
Customizing the Windows ISO
When you boot the VM again after the Sysprep generalization process, Windows will take you back to the initial Out-of-Box Experience (OOBE) setup screen. Press Ctrl + Shift + F3 to bypass this screen and switch back into Audit Mode, logging you in as the built-in local Administrator.Click on Edit image file, navigate to your previously shared folder on the vmware-host, and select your previously downloaded Windows 11 ISO file. Then click Next.
Click the Add button, navigate to the Data partition where you saved your custom/captured image, and select the new install.wim file you captured earlier using the DISM command.
Then click Next, and in the following window, enter a descriptive name for your new ISO (e.g., Custom_Win11_25H2_English_x64.iso) and set the destination path to your shared folder.

Comments
Post a Comment