Create Golden Image in Hyper-V with Sysprep on Windows Server 2022

This title was summarized by AI from the post below.

create a Golden Image in Hyper-V on Windows Server 2022 using Sysprep. Step 1: Create a New Virtual Machine 1️⃣ Open Hyper-V Manager 2️⃣ Click New → Virtual Machine 3️⃣ Configure the VM: Generation: Generation 2 (recommended) Memory: As required Disk: Create a new VHDX Attach the Windows Server 2022 ISO and start the VM. Step 2: Install Windows Server 2022 1️⃣ Start the VM and install Windows normally 2️⃣ Configure initial settings: Step 3: Run Sysprep C:\Windows\System32\Sysprep Run sysprep.exe Select: System Cleanup Action: Enter System Out-of-Box Experience (OOBE) Check: Generalize Shutdown Option: Shutdown Click OK. Sysprep will generalize the OS and shut down the VM. Step 4: Use the VM Disk as a Golden Image After shutdown: 1️⃣ Go to the VM’s VHDX file location 2️⃣ Copy the VHDX file 3️⃣ Store it in a Golden Image repository Step 5: Deploy New VMs from the Golden Image When creating a new VM: 1️⃣ Select Use an existing virtual hard disk 2️⃣ Choose the copied Golden Image VHDX 3️⃣ Start the VM #HyperV #WindowsServer2022 #SysAdmin #Virtualization #Microsoft #ITInfrastructure

To view or add a comment, sign in

Explore content categories