WEB开发网
开发学院服务器虚拟化 如何转换VMware虚拟磁盘镜像到Virtual Server 阅读

如何转换VMware虚拟磁盘镜像到Virtual Server

 2008-12-30 16:52:01 来源:WEB开发网   
核心提示: objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicessymc810Start", _4,如何转换VMware虚拟磁盘镜像到Virtual Server(3), "REG_DWORD"objShe

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.创建虚拟机的备份副本,并在余下步骤使用这个副本。为克隆准备副本,确保在克隆期间发生错误时,源虚拟机仍然可用。

上一页  1 2 3 4 5 6  下一页

Tags:如何 转换 VMware

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接