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

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

 2008-12-30 16:52:01 来源:WEB开发网   
核心提示: 准备源虚拟机迁移过程最重要的一部分就是准备源虚拟机,当部署到Virtual Server时,如何转换VMware虚拟磁盘镜像到Virtual Server(2),新虚拟机不会在启动时出现蓝屏,为了保证迁移成功, _4, "REG_DWORD" ' Disable

准备源虚拟机

迁移过程最重要的一部分就是准备源虚拟机。当部署到Virtual Server时,新虚拟机不会在启动时出现蓝屏。

为了保证迁移成功,将使用我的prepvm.vbs脚本以禁用任何可能遗留的VMware驱动,避免Windows启动时阻碍虚拟机。下面是这个脚本:

'prepvm.vbs

'Removes VMware-specific drivers from a system

On Error Resume Next

' Instantiate Shell Object

Set objShell = CreateObject("WScript.Shell")

' Disable VMware Tools Service

objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesVMToolsStart", _4, "REG_DWORD"

' Disable VMware vmx_svga video driver

objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesvmx_svgaStart", _4, "REG_DWORD"

' Disable VMware vmmouse driver

objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesvmmouseStart", _4, "REG_DWORD"

' Disable VMware vmscsi driver

objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesvmscsiStart", _4, "REG_DWORD"

' Disable VMware PCnet driver

objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesPCnetStart", _4, "REG_DWORD"

' Disable VMware Buslogic driver

objShell.RegWrite "HKLMSYSTEMCurrentControlSetServicesuslogicStart", _4, "REG_DWORD"

' Disable SCSI Miniport drivers

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

Tags:如何 转换 VMware

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