如何转换VMware虚拟磁盘镜像到Virtual Server
2008-12-30 16:52:01 来源:WEB开发网objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicessymc810Start", _4, "REG_DWORD"
objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicessymc8xxStart", _4, "REG_DWORD"
objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicescpqarrayStart", _4, "REG_DWORD"
objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicespcntn4mStart", _4, "REG_DWORD"
objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicescpqnf3Start", _4, "REG_DWORD"
objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesMRaidNTStart", _4, "REG_DWORD"
' Restart Computer
strComputer = "."
'Prompt user of impending reboot
WScript.Echo("The system is prepared for imaging and will now shutdown.")
WScript.Sleep(3)
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Shutdown)}!\" & _
strComputer & "ootcimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
objOperatingSystem.Shutdown()
Next
照以下步骤准备源虚拟机
1.创建虚拟机的备份副本,并在余下步骤使用这个副本。为克隆准备副本,确保在克隆期间发生错误时,源虚拟机仍然可用。
更多精彩
赞助商链接