move virtual hard disk from VM to VM

I have two distinct networks Live and disaster recovery.

I use the DR for some testing mainly exchange and frequently have to move an 80gb file between the two networks.

So i use a virtual xp box with 100 gig disk that is only used for this purpose. Copy the file on, move the PC to the DR network and copy off.

But it would be much easier if I could just unplug the virtual 100gb disk from the XP box and plug it on to my Exchange server. Saves doing the second copy routine.

Does anyone know if one can do this....and obviously how.
Jo CoxAsked:
Who is Participating?
Jo CoxConnect With a Mentor Author Commented:
Ok I solved this myself.
I just copied this section from the vmx file of the source virtual machine and pasted to the destination vmx file.
It moaned about different drive types but offered to automatically correct the problem and seemed to get it right as the disk appeared and I could access the data.

Obviously you have to look a little at the scsi numbering otherwise you may be telling your destination machine that you have the same disk/lun/id twice so apply a little intelligence as to what you are going to paste in but the principal works.

scsi0:2.present = "TRUE"
scsi0:2.deviceType = "scsi-hardDisk"
scsi0:2.filename = "/vmfs/volumes/49959021-da3682ac-2f36-0022642aa218/Mini-XP/Mini-XP_1.vmdk"
scsi0:2.mode = "persistent"
scsi0:2.redo = ""
vmwarun - ArunCommented:
Where is the XP VMDK file stored ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.