Create Windows General Image for Hyper-V with Sysprep

By | May 8, 2018

With Sysprep (The System Preparation tool) cleans up computer security identifier (SID), user-specific and computer-specific settings and data.

First steps after installing windows on Hyper-V is to update system

 cd C:\Windows\System32\Sysprep

sysprep directory

 sysprep.exe /oobe /generalize /shutdown /mode:vm

sysprep command

After that VHD or VHDX file is ready to be attached on new server.