Creating images
We are expecting that you know how to create a virtual machine and install a Windows client or server. Below is a short manual on how to do so for some guidance.
Why create images?
It is way easier to create an updated image with all the updates etc. of an operating system and clone it then to install updates, software on every machine all the time.
Downloading ISO's
Windows ISO's can be downloaded from the Microsoft Evaluation Center. For this lab we will be using the following operating system so please download all four the ISO's under the Windows and Windows Server category:
Windows Server 2022
Windows Server 2019
Windows 10
Creating a virtual machine VMware
For this lab we will be creating images which can be used to quickly clone and deploy another server or client. Hopefully you already know how to create a virtual machine in the hypervisor you are using. For demonstration I will show how to create a virtual machine in VMware Workstation.
I would recommend creating all virtual machine images at the same time!
Open VMware workstation and in the top left click on File --> New Virtual Machine and a pop-up should come up to create a new virtual machine.
On the step "What type of configuration you want" select "Typical (recommended)" and click Next.
On the step "Guest Operating System Installation" select "Installer disc image file (iso)" and select the Windows Server 2019 ISO. Click Next.
On the step "Select guest Operating system" select "Microsoft Windows" and in the dropdown menu select "Windows Server 2019. Click Next.
Give the the name "Windows Server 2019 Image" and click Next.
Choose the default Disk Size and click Next.
Click Finish.
Repeat these steps for each Image we would like to create (Windows Server 2019, 2022 and Windows 10)
Creating a image
Start-up the virtual machine and quickly pres a key to boot to the CD.
Make sure the language is set to "English" and the keyboard layout to "US" or your own keyboard layout and click Next.
3. Click Install Now.
When asked to select an operating system select "Windows Server Standard Evaluation (Desktop Experience)" and click Next.
4. Accept the licene terms and click Next.
5. Select "Custom: Install Windows only" and select the disk, click on New and Apply.
6. Select the Primary Partition and click Next.
7. After the installation finishes the machine will reboot. Make sure you remove the ISO by going to the settings of the machine and disconnecting the CD drive.
8. Start the VM and go through the installation. For the Image just choose a simple Administrator password which you could remember, such as Welcome01!.
9. Click through next during the installation steps and I would recommend choosing the most privacy friendly settings.
For Windows 10 select "Domain Join instead" to create a local user account
Updating
Click Start and select the gear Settings Icon.
2. The Windows Settings menu appears, click on "Update & Security"
3. Click on "Check for Updates" and install all updates.
4. When the system asks for a reboot, reboot is and repeat till there are no more updates left.
Repeat these steps for each Image we would like to create (Windows Server 2019 and 2022, and Windows 10 and Windows 11)
Optionally
Cleanup
Make sure the downloads folder is empty.
Empty the recycle bin by rightcliking on it and selecting "Empty Recycle Bin"
Open explorer and click on "This PC", right click the C:\ disk and click "Properties".
4. Click on "Disk Cleanup", "Clean System Files", select everything and Click "OK"
Sysprep
To be able to clone the virtual machine without having any problems when joining the same machine to the domain, we have to run sysprep.
Press Windows + R, type sysprep and click OK.
2. Windows Explorer opens and click on the "Sysprep" application.
3. Select "Generalize", Choose Shutdown and click on "OK"
Finished
When the machine is fully shutdown the image is finished.
Last updated