Forum Discussion
Kennedyro1965
May 14, 2020Copper Contributor
Drive letters change after sysprepping Windows 10
When trying to capture a sysprepped Windows 10 image I noticed that the drive letters have changed. I went into the registry and exported HKEY_LOCAL_MACHINE\System\MountedDrives, sysprepped the VM and then imported the file back but that did not make any difference.
I am using VmWare Workstation and a VM where I installed a fresh copy of Windows 10 PRO vs 1909.
Any ideas?
1 Reply
- Hi Kennedyro1965,
This key has changed and is named HKEY_LOCAL_MACHINE\System\MountedDevices, you will find the drive letters there.
I'm exporting it before sysprepping a machine and not shutting it down, then after sysprep finished I import it again.
SysPrep must be invoked with the /quit flag in order to avoid the shutdown.