vsmt
62Step1 : Install Microsoft Virtual Server 2005.
Step2 : Install Automated Deployment Services in the same or
different machine then Virtual Server 2005.
Step3 : Install Virtual Server Migration Toolkit
Step4 : If you install the ADS on the same machine of
DHCP Server you need configure ADS with this
command: C:\Program Files\Microsoft ADS\bin\ADSdhcpconfig.wsf /add
Step 5 : On samples directory of you VSMT
installation, execute the script CreateVirtualNetwork.vbs, to
create VM0 network definition in your Virtual
Server 2005. All the executables below are in your
VSMT installation directory:
Step 6 : Execute the command: gatherhw.exe on the
machine that you will migrate, this command will
generate one XML that will be used by VSMT; send
the file to VSMT directory.
Step 7: Execute the command: VMScript.exe /hwvalidate /hwinfofile:.xml ,
this will check for hardware compatibilities. You may get something like this after running
the hwvalidate:
Warning: A required patch file is missing. Refer
to thedocumentation for more info on how to
provide this file.File ntoskrnl.exeVersion 5.00.2195.7133
Language 1033Potential source of this
file is KB931784.
Look at each KB article that is listed and download the hotfix
for each one listed.
/x extract the hotfix to a directory with the same
name as the KB article so you can keep them in order.
C:\Program Files\Microsoft VSMT>vmpatch /s:"c:\program files\microsoft vsmt\patches\931784"
And repeat that for each KB article listed from the hwvalidate output
Once you finish running vmpatch for all the KB's then move onto the next step
Step 8: Execute the command:
vmscript /hwGenerateP2V /hwInfoFile:.xml /name: /vmConfigPath:\vmconfig /virtualDiskPath:d:\vmdisk /hwDestVS: /virtualDiskDynamic /vmMemory:256
Here is the command that I ran:
C:\Program Files\Microsoft VSMT>vmscript /P2V /hwInfoFile:"C:\Program Files\Microsoft VSMT\test.xml" /name:testvm /vmConfigPath:"C:\Program Files\Microsoft VSMT\vmconfig" /virtualDiskPath:"E:\Virtual Machines\testvm" /hwDestVS:vmh01 /virtualDiskDynamic /vmMemory:256
The source and destination settings in this command need to be the same, so if you are converting test the destination has to be test not testvmOtherwise it writes the scripts and see's the target to try to convert as testvm which is actually the destination Target and destination have to be the same.
Here is the corrected command line
C:\Program Files\Microsoft VSMT>vmscript /P2V /hwInfoFile:"C:\Program Files\Microsoft VSMT\test.xml" /name:test /vmConfigPath:"C:\Program Files\Microsoft VSMT\vmconfig" /virtualDiskPath:"E:\Virtual Machines\test" /hwDestVS:vmh01 /virtualDiskDynamic /vmMemory:256
You may have to create the vmconfig directory under the microsoft vsmt directory because its not there by default
After running the command the vmconfig directory is empty but it did dump all the files into the Writing output to: C:\Program Files\Microsoft VSMT\P2V\ directory (????)
Step 9: At this point all scripts were generated and we can start the migration process. You need check if your guest machine have support for PXE boot on the network card, if not, you can generate one RIS disk to try the boot. On VSMT server, start the command: C:\\p2v\\_Capture.cmd Reboot your guest machine using PXE.
Here is the correct file pathC:\Program Files\Microsoft VSMT\p2v\test\test_capture.cmd
After running the capture cmd file I get this outputC:\Program Files\Microsoft VSMT\p2v\test>test_capture.cmdCheck for existing images
'adsimage' is not recognized as an internal or external command,operable program or batch file.
After getting this error message I copied the C:\Program Files\Microsoft ADS\tools directory directly into the C:\Program Files\Microsoft VSMT\p2v\test directory and the command started working
Had to do a few things to get PXE to work
-added the "option 60" to DHCP options on the DHCP server Using this command 'netsh dhcp server add optiondef 60 "Class ID" STRING' Then went into the option and added PXEClient as the string within the DHCP console Tried to get the target machine on the same subnet but still would not PXE boot
Went back into the OS and checked connectivity and it was OK Moved the cable to a different NIC NIC#2(??) and rebooted in PXE
It failed on the first nic then the second one picked up and it booted in PXE and got an IP address
Now when I reboot the server in PXE boot it gives this error "Windows could not start due to an error while booting from a RAMDISK"
Need to prepopulate the C:\Program Files\Microsoft ADS\nbs\repository\User\PreSystemDirectory with the Network and Mass Storage controller drivers located on systemstart CD
Downloaded the drivers for the correct NIC and for the array controllerTried the SNAP again and it failed
Installing hotfixes
Changed INF file for the NIC cardDropped the INF into the presystem folder
When ADS finish the capture process, the server will shutdown guest machine.
It worked!
Step 10: This step will create configuration file in Virtual Server 2005 machine. C:\\p2v\\_CreateVM.cmd
C:\Program Files\Microsoft VSMT\p2v\test>test_createvm.cmdCreate Virtual Machine: test on vmh01Executing VMClient on remote machine: vmh01===>Remote job output:47VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -vmCreate:True -vmConfigPath:"C:\Program Files\Microsoft VSMT\vmconfig" -vmMemory:"256"CreateVirtualMachine:test with memory:256MBName: testStatus: SavedGUID: {748B53BA-4CA8-4BD5-8168-7A4E6DF65383}Memory: 256 MBMAC[0]: 00-03-FF-DE-14-FFVMClient.exe returned 0
<===Remote job outputRemove all NICs so as to start with no nicsExecuting VMClient on remote machine: vmh01===>Remote job output:48VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -removeVirtualNic:True -mac:"00-00-00-00-00-00"Removing Nic from testRemoving NIC 000000000000VMClient.exe returned 0
<===Remote job outputAdding Network Card with MAC:00080225364F. Corresponding source device MAC:00080225364FExecuting VMClient on remote machine: vmh01===>Remote job output:49VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addVirtualNic:True -mac:"00080225364F" -hostNetwork:"VM0"Adding Nic to testAdding NIC 00-08-02-25-36-4FVMClient.exe returned 0
<===Remote job outputinsert Ris floppyExecuting VMClient on remote machine: vmh01===>Remote job output:50VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -floppy:True -floppyImage:"ris2003.vfd"Set floppy for VM test to ris2003.vfdAttaching floppy ris2003.vfdVMClient.exe returned 0
<===Remote job outputAdd SCSI controller 1/1Executing VMClient on remote machine: vmh01===>Remote job output:51VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addSCSI:TrueAdding SCSI to testVMClient.exe returned 0
<===Remote job outputCreate disk:0 with size:34760MBCreating Virtual Disk E:\Virtual Machines\test\test_disk_1.vhd:34760MBsNote: This operation may take a couple of minutes depending on thesize of the virtual disk being created. ===>Remote job output:52VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -CreateVirtualDisk -VirtualDiskSize:34760 -VirtualDiskPath:"E:\Virtual Machines\test\test_disk_1.vhd" -virtualDiskDynamicMicrosoft (R) Virtual Server Migration Toolkit - VmClient Tool ver.5.2.5149.0Copyright (C) 2004 Microsoft Corporation. All rights reserved.
Creating Virtual Disk E:\Virtual Machines\test\test_disk_1.vhd:34760MBsNote: This operation may take a couple of minutes depending on thesize of the virtual disk being created.
Error: Directory does not exist E:\Virtual Machines\testError: Result Code: 2VMClient.exe returned 2
<===Remote job outputError: Result Code: 8Error occured, Cleaning up.:(8)release control of device testADSDevice: Warning: Device test did not match any devicesADSDevice: Error: The device does not exist.remove device testADSDevice: Warning: Device test did not match any devicesADSDevice: Error: The device does not exist.Delete Virtual Machine:test on vmh01 Created directory test on e:\virtual machines\ That worked!The target directory has to be there in order for it to create the VM's Step 11: This step will power on the virtual machine, connect to ADS and deploy the image created in step 9. C:\\p2v\\_DeployVM.cmd
In the job detail within ADS it looks like the job stalls at "deploy image" but it really just doesn't refresh. If you look at the file size of the VHD that its deploying to its actually growing so it is deploying.
Also there is nothing on the screen of the VM that indicates its actually doing anything, but just be patient.
Got errors trying to deploy the image to the VM
C:\Program Files\Microsoft VSMT\p2v\test>test_createvm.cmdCreate Virtual Machine: test on vmh01Executing VMClient on remote machine: vmh01===>Remote job output:47VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -vmCreate:True -vmConfigPath:"C:\Program Files\Microsoft VSMT\vmconfig" -vmMemory:"256"CreateVirtualMachine:test with memory:256MBName: testStatus: SavedGUID: {748B53BA-4CA8-4BD5-8168-7A4E6DF65383}Memory: 256 MBMAC[0]: 00-03-FF-DE-14-FFVMClient.exe returned 0
<===Remote job outputRemove all NICs so as to start with no nicsExecuting VMClient on remote machine: vmh01===>Remote job output:48VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -removeVirtualNic:True -mac:"00-00-00-00-00-00"Removing Nic from testRemoving NIC 000000000000VMClient.exe returned 0
<===Remote job outputAdding Network Card with MAC:00080225364F. Corresponding source device MAC:00080225364FExecuting VMClient on remote machine: vmh01===>Remote job output:49VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addVirtualNic:True -mac:"00080225364F" -hostNetwork:"VM0"Adding Nic to testAdding NIC 00-08-02-25-36-4FVMClient.exe returned 0
<===Remote job outputinsert Ris floppyExecuting VMClient on remote machine: vmh01===>Remote job output:50VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -floppy:True -floppyImage:"ris2003.vfd"Set floppy for VM test to ris2003.vfdAttaching floppy ris2003.vfdVMClient.exe returned 0
<===Remote job outputAdd SCSI controller 1/1Executing VMClient on remote machine: vmh01===>Remote job output:51VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addSCSI:TrueAdding SCSI to testVMClient.exe returned 0
<===Remote job outputCreate disk:0 with size:34760MBCreating Virtual Disk E:\Virtual Machines\test\test_disk_1.vhd:34760MBsNote: This operation may take a couple of minutes depending on thesize of the virtual disk being created. ===>Remote job output:52VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -CreateVirtualDisk -VirtualDiskSize:34760 -VirtualDiskPath:"E:\Virtual Machines\test\test_disk_1.vhd" -virtualDiskDynamicMicrosoft (R) Virtual Server Migration Toolkit - VmClient Tool ver.5.2.5149.0Copyright (C) 2004 Microsoft Corporation. All rights reserved.
Creating Virtual Disk E:\Virtual Machines\test\test_disk_1.vhd:34760MBsNote: This operation may take a couple of minutes depending on thesize of the virtual disk being created.
Error: Directory does not exist E:\Virtual Machines\testError: Result Code: 2VMClient.exe returned 2
<===Remote job outputError: Result Code: 8Error occured, Cleaning up.:(8)release control of device testADSDevice: Warning: Device test did not match any devicesADSDevice: Error: The device does not exist.remove device testADSDevice: Warning: Device test did not match any devicesADSDevice: Error: The device does not exist.Delete Virtual Machine:test on vmh01 C:\Program Files\Microsoft VSMT\p2v\test>test_createvm.cmdCreate Virtual Machine: test on vmh01Executing VMClient on remote machine: vmh01===>Remote job output:54VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -vmCreate:True -vmConfigPath:"C:\Program Files\Microsoft VSMT\vmconfig" -vmMemory:"256"CreateVirtualMachine:test with memory:256MBName: testStatus: SavedGUID: {42035E8C-2023-425A-99B5-9C18DB935615}Memory: 256 MBMAC[0]: 00-03-FF-DA-77-B6VMClient.exe returned 0
<===Remote job outputRemove all NICs so as to start with no nicsExecuting VMClient on remote machine: vmh01===>Remote job output:55VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -removeVirtualNic:True -mac:"00-00-00-00-00-00"Removing Nic from testRemoving NIC 000000000000VMClient.exe returned 0
<===Remote job outputAdding Network Card with MAC:00080225364F. Corresponding source device MAC:00080225364FExecuting VMClient on remote machine: vmh01===>Remote job output:56VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addVirtualNic:True -mac:"00080225364F" -hostNetwork:"VM0"Adding Nic to testAdding NIC 00-08-02-25-36-4FVMClient.exe returned 0
<===Remote job outputinsert Ris floppyExecuting VMClient on remote machine: vmh01===>Remote job output:57VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -floppy:True -floppyImage:"ris2003.vfd"Set floppy for VM test to ris2003.vfdAttaching floppy ris2003.vfdVMClient.exe returned 0
<===Remote job outputAdd SCSI controller 1/1Executing VMClient on remote machine: vmh01===>Remote job output:58VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addSCSI:TrueAdding SCSI to testVMClient.exe returned 0
<===Remote job outputCreate disk:0 with size:34760MBCreating Virtual Disk E:\Virtual Machines\test\test_disk_1.vhd:34760MBsNote: This operation may take a couple of minutes depending on thesize of the virtual disk being created. ===>Remote job output:59VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -CreateVirtualDisk -VirtualDiskSize:34760 -VirtualDiskPath:"E:\Virtual Machines\test\test_disk_1.vhd" -virtualDiskDynamicMicrosoft (R) Virtual Server Migration Toolkit - VmClient Tool ver.5.2.5149.0Copyright (C) 2004 Microsoft Corporation. All rights reserved.
Creating Virtual Disk E:\Virtual Machines\test\test_disk_1.vhd:34760MBsNote: This operation may take a couple of minutes depending on thesize of the virtual disk being created.
VMClient.exe returned 0
<===Remote job outputadd disk:0 (scsi 0:0) to VM: testExecuting VMClient on remote machine: vmh01===>Remote job output:60VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -virtualDiskPath:"E:\Virtual Machines\test\dallas04test_disk_1.vhd" -addVirtualDisk:True -busType:"scsi" -bus:"0" -device:"0"Attaching Virtual Disk test: E:\Virtual Machines\test\test_disk_1.vhd vmDriveBusType_SCSI 0 0VMClient.exe returned 0
<===Remote job outputadd DVD (IDE 1:0) to VM: testExecuting VMClient on remote machine: vmh01===>Remote job output:61VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -addDVD:True -bus:"1" -device:"0"Adding DVD test: vmDriveBusType_IDE 1 0VMClient.exe returned 0
<===Remote job outputAdd device in ADS:(test, 00080225364F)Take control of device: testset patch path variable to: "C:\Program Files\Microsoft VSMT\P2V\test\Patches"set script path variable to: "C:\Program Files\Microsoft VSMT\P2V\test" set windows partition variable to: \device\harddisk0\partition1set windows directory variable to: WINNTset windows drive variable to: C:set boot partition variable to: \device\harddisk0\partition1set the name of the source device used to generate scripts: testUse discovery to populate created VM info into ADStest 256MB 00-08-02-25-36-4F 34760MB SavedStart VS Admin Window for device C:\Program Files\Microsoft VSMT\p2v\test>test_deployvm.cmdChecking to see if there are already any jobs running on the device: testinsert Ris floppyExecuting VMClient on remote machine: vmh01===>Remote job output:63VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -floppy:True -floppyImage:"ris2003.vfd"Set floppy for VM test to ris2003.vfdAttaching floppy ris2003.vfdVMClient.exe returned 0
<===Remote job outputboot to deployment agentJob started with job id 64boot deviceExecuting VMClient on remote machine: vmh01===>Remote job output:66VSMT Installed on: "C:\Program Files\Microsoft VSMT\"executing: "C:\Program Files\Microsoft VSMT\"vmclient.exe -nologo:True -nodebug:True -name:"test" -start:TrueStart VM: testVMClient.exe returned 0
<===Remote job outputwaiting for device to connect to DA: test (1)waiting for device to connect to DA: test (2)waiting for device to connect to DA: test (3)waiting for device to connect to DA: test (4)waiting for device to connect to DA: test (5)Deploying:test_DeployVM.xml===>Remote job output:69
<===Remote job outputError: Result Code: 8Error occured, exiting (8) C:\Program Files\Microsoft VSMT\p2v\test>
deploy imageJob #:75Status:Failed to completeDestination:testCommand:/imaging/imgbmdeploy.exeParameters:img_test_1_1 \device\harddisk0\partition1 -r -unicast -client -nonetencrypt Exit Code:-1056960417Owner:chris.adminStart:2/20/2008 6:50:51 PMEnd:2/21/2008 10:30:11 AM
Output:Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 10% (170947 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Restore progress: 20% (341894 of 1709473)Restore progress: 30% (512841 of 1709473)Restore progress: 40% (683789 of 1709473)Restore progress: 50% (854736 of 1709473)Restore progress: 60% (1025683 of 1709473)Errors:The network circuit was disconnected. Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.Timed out when waiting for data from the remote machine.
Adding the Microsoft loopback adapter to the VM Host machine
1. Go to Start Control Panel Add Hardware. 2. In the introductory dialog box, click Next. 3. Select Yes, I Have Already Connected The Hardware, and click Next. 4. Scroll to the bottom of the Installed Hardware list box, select Add A New Hardware Device, and click Next. 5. Select the Install The Hardware That I Manually Select From A List (Advanced) option, and click Next. 6. Under Hardware Types, select Network Adapters, and click Next. 7. Under Manufacturer, select Microsoft. 8. Under Network Adapter, select Microsoft Loopback Adapter. 9. Click Next twice, and click Finish.
Pasted from <http://articles.techrepublic.com.com/5100-1035_11-5647584.html>
Removed the testVM from virtual server
Running the test_createvm.cmd command again
Had to rename the C:\Program Files\Microsoft VSMT\vmconfig\test.vmc config file to old
Trying again
Trying the workaround
After this step the migration is finished, you will have your "real machine" virtualized. If some errors occur, is recommended restart the migration process using the command: C:\\p2v\\_cleanupVM.cmd , run this command and back to step 9. Additional References: WHITE PAPER VSMThttp://www.microsoft.com/windowsserversystem/virtualserver/overview/vsmtwhitepaper.mspx VSMT FAQhttp://www.microsoft.com/windowsserversystem/virtualserver/evaluation/vsmtfaq.mspx
Pasted from <http://support.microsoft.com/kb/555306>
Apply the latest network drivers and see if it works try from both vendor site and Broadcom.2. Set the Media Type on the Network adapter to match the router/switch and see if it works==I also have this workaround that we could try:=For this example we have two VMs. One is prestaged and called Windows 2003 VM. The second VM is created with VSMT2003_createVM.cmd and called VSMT2003 VM. We also have Virtual Server and ADS installed on the same machine.
Prestaging Windows 2003 VM:
Create a VM with Windows 2003 for staging. 1. Using Virtual Server create a VM with a single volume running Windows 2003. 2. On the host machine (ADS machine hosting Virtual Server) install the Microsoft loop back adapter. 3. Set the Virtual Server 2003 VM image to use the loop back adapter for networking. This will allow the VM to talk to the host server. (We'll use this VM later in the sequence)
Imaging:
Gather the XML file:1. GatherHW /f:VSMT2003.xml 2. vmscript -hwvalidate -hwinfo:VSMT2003.xml
Create the XML scripts3. vmscript /hwGenerateP2V /hwInfoFile:C:\VM\VSMT2003.xml /name:VSMT2003 /hwTaskSeqPath:c:\vm\p2v /hwPatchDir:C:\VM\Patches /vmConfigPath:c:\vm\VSMT2003 /virtualDiskPath:C:\vm\VSMT2003 /hwDestVS:VSMT-ads /virtualDiskDynamic /vmMemory:500
Capture the image up to the ADS server.4. Run VSMT2003_capture.cmd
Create the VSMT2003 VM:5. Run VSMT2003_createVM.cmd
(workaround comes in here)
Ensure that the VSMT2003 VM it is it turned off.Attach the VSMT2003.vhd (that was created with the VSMT2003_createVM.cmd) to the prestaged Windows 2003 VM as a second drive. We are ready to deploy the image from the Windows 2003 VM to the VSMT2003 VM VHD.
6. Edit the configuration of the Windows 2003 VM. Add a second disk and point it to the VHD created in step 5 (C:\vm\VSMT2003\VSMT2003_disk_1.vhd).
The Windows 2003 VM now has 2 drives. The first drive is the drive it was created with and the second drive is the drive created for the VSMT2003 VM.
7. Boot the Windows 2003 VM. Open Disk Administrator and format the second drive (not a quick format). Make it large enough to accommodate the image and set the partition as active. 8. Map a drive to the physical host image directory. I assume the host is the ADS server too. 9. Copy imglib.dll, imgdeploy.exe and adssupport.dll to VM. 10. Execute imgdeploy /r e:(drive letter of attached VHD) (I assume e: is the second drive in the Windows 2003 VM) Example: imgdeploy /r e: z:\ADSimages\VSMT2003.imgWe are essentially copying the image from the host ADS server to the second drive in the Windows 2003 VM using imgdeploy.exe.
11. When the copy is complete to the second drive, modify the boot.ini on the second drive to point to partition 1. It may currently point to partition 2 because of an EISA partition.
multi(0)disk(0)rdisk(0)partition(1)\Winnt
12. Shutdown the Windows 2003 VM and remove the second drive which now holds the image. We are done with the Windows 2003 VM and will be using the VSMT2003 VM from now on. The VSMT2003 VM already points to the VHD containing the image.
We need to run the deploy script which makes the hardware specific modifications to the VSMT2003 VM
13. Remove the call to the VSMT2003_DeployVM.xml from the VSMT2003_deploy.cmd. I placed REM statements in front of the following lines:
REM Echo Deploying:VSMT2003_DeployVM.xml REM %VSMT_SRV_APP% -adsJobExec -name:%DEVICE_DEST% -taskSequence:%SCRIPT_PATH%\VSMT2003_DeployVM.xml %VSMT_DEBUG_FLAGS% -nologo REM if %ERRORLEVEL% NEQ 0 goto error
14. Run VSMT2003_deploy.cmd which makes the hardware specific modifications to the VM. 15. Boot the VSMT2003 VM into Windows.
Could never get the VM to come up and work with PXE boot after that It just doesnt freaking work
Share it! — Rate it: up down [flag this hub]

