How to Fix The Virtual Desktop is Not Sysprep Generalized

In this post, I will show you how to fix the virtual desktop is not Sysprep generalized. You will likely experience this issue when deploying a Windows image to new PCs and when also deploying virtual desktop infrastructure (VDI). IT administrators must first generalize a Windows image before they can distribute it to new PCs. Please see how to Disable Integrated Graphics on Windows, and Security researchers bypass Windows Hello with fake fingerprints with Raspberry Pi 4
Sysprep stands for System Preparation Tool. It is a Microsoft Windows utility used primarily by system administrators and IT professionals. It is used to prepare and configure Windows operating system installations for imaging or deployment across multiple machines. When the image is generalized, computer-specific information such as installed drivers and the computer security identifier (SID) is removed.
To generalize your image and prepare it for deployment, you can use Sysprep alone or in conjunction with an unattend answer file.
The Sysprep process helps create a standardized system image that can be replicated on multiple computers. Thereby saving time and effort in deploying Windows operating systems across various hardware setups.
Fix the Virtual Desktop is Not Sysprep Generalized
To fix this issue, go through the below steps. See how to Create Hyper-V Virtual Switch. Also, see how to Remove Remote Desktop Services Role on Windows Server and Remove a Remote Desktop Service collection.
Step 1: Launch the Hyper-V Manager.

From the Hyper-V manager, right-click and click on Start to start the virtual machine template that you want to build other VMs from.

Step 2: From the VM template, run the Windows Command Prompt as an Administrator

Step 3: Run the cd sysprep command to enter the Sysprep console.
On the Sysprep console, run:
sysprep.exe /oobe /generalize /shutdown /mode:vm

The cleanup process will start as soon as you run the above command. In the next steps, the system will run the generalized phase.

Then, finally, the system will shut down and make the VM template ready for you to use and deploy other VM images.

In this post, you have learned how to fix the virtual desktop is not Sysprep generalized error. I hope you found the post useful. Please feel free to leave a comment below.