This is expected behavior within the Microsoft Windows operating system.
To work around this issue, the disk information are required to be preserved prior to running sysprep for the first time.
- Before running Sysprep, export the registry key HKLM\SYSTEM\MountedDevices from the registry on the virtual machine that you want to clone.
- Run Sysprep using the /quit command to complete the initial Sysprep:
For example:
sysprep.exe /quit
- Import the exported key from step 1 into the registry before shutting down the server. This ensures that the same mounted drives will be ONLINE during starting and future Sysprep runs.