Symptoms
After running Sysprep and cloning the virtual machine, the volume that does not contain the operating system on the cloned virtual machine is marked as OFFLINE.You experience this issue when the source virtual machine:
Is running Microsoft Windows Server 2008 Enterprise, Datacenter or any version of Windows Server 2008 R2 or laterContains more than one disk or volumeAll volumes are marked as ONLINEHas a SAN policy set to OnlineALL
Cause
This issue occurs due to the introduction of a new policy in Microsoft Windows 2008 and later related to SAN disks. When the Sysprep tool is run on the virtual machine, this SAN policy is not preserved in the volumes that do not contain the operating system and are marked as OFFLINE.
Note: The preceding link was correct as of September 25, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.
Resolution
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.
Related Information
複数のディスクが接続されている Windows Server 2008 以降の仮想マシンをクローンすると、OS がインストールされたディスク以外のすべてのディスクが 「オフライン」 と表示される