Virtual XP Machine - Copy - Windows 7 Forums

Published on January 2017 | Categories: Documents | Downloads: 43 | Comments: 0 | Views: 222
of 6
Download PDF   Embed   Report

Comments

Content

9/29/12

Virtual XP Machine - Copy - Windows 7 Forums

Register | Today's Posts | Tutorials | Vista Forum | Windows 8 Forum | Search
User Name User Name

Remember Me?

Password

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are
experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that
covers a wide range of tips and tricks.
Windows 7 Forums > Windows 7 help and support > Tutorials »

Windows 7 - Virtual XP Machine - Copy

Page 1 of 6 1 2 3 > Last »

Virtual XP Machine - Copy
How to Copy a Virtual XP Machine in Windows 7
Published by Kari
22 Aug 2009
Virtual XP Machine - Copy

Published by

How to Copy a Virtual XP Machine in Windows 7
Note

Notice please:
This tutorial was written when we were still using first beta versions of Virtual PC and XP mode. This method
to copy a VPC virtual machine was the most practical at that time. It still is a fully working and secure way
to copy a virtual machine.

Kari

An angry old man

Today, with the current version of VPC and XP Mode, copying a virtual machine is much easier. Basically, all
you have to do is to copy a vhd-file to another location on same computer and create a new virtual machine
using an existing vhd as told here.
Kari
November 2010

Join Date: Jun 2009
Location: A Finnish
immigrant in Leipzig,
Germany
Posts: 10,264

Information
This tutorial will show how to make a working copy of a Virtual XP Machine. Same priciple can also be used
to make a copy of any Virtual PC virtual hard disk.
By default, XP Mode virtual machine consists of five files when installed and run first time, plus two additional
files if XP Mode is hibernated or the Undo Disk feature is enabled. The file names, extensions and default
locations are:

Tutorial Tools
Printable Version

Windows XP Mode.vmcx
Virtual Machine description and registration settings
default location C:\Users\Your_Username\Virtual Machines
Windows XP Mode.vhd
Virtual Machine virtual hard drive image
default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual
Machines
Windows XP Mode.vmc
Virtual Machine settings file

www.sevenforums.com/tutorials/21904-virtual-xp-machine-copy.html

1/6

9/29/12

Virtual XP Machine - Copy - Windows 7 Forums

Virtual Machine settings file
default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual
Machines
Windows XP Mode.vsv
Virtual Machine saved state file (hibernation data)
default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual
Machines
This file exists only when XP Mode is hibernated or is running. It is deleted automatically every
time XP Mode is shut down
Windows XP Mode.vmc.vpcbackup
Virtual Machine settings backup
default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual
Machines
VirtualPCUndo_Windows XP Mode_X_Y_ZZZZZZZZZZZZZZ.vud
Virtual machine Undo-disk (X, Y & Z in the file name are replaced with digits)
default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual
Machines
This file exists only if so called Undo Disk is enabled in XP Mode settings
Windows XP Mode base.vhd
XP Mode base disk
default location C:\Program Files\Windows XP Mode
To make a copy of a Virtual Machine we need to modify .vhd, .vmc and .vmcx files. In this example we call
the original virtual drive Windows XP Mode, and the copy we create Windows XP Mode- Copy. You can
name all your virtual drives as you like, as long as you remember to modify the settings file as described here
below.

Copying Virtual XP or any other virtual hard disk created with Virtual PC is very easy and fast. Here's what you
have to do:
1. Turn off your Virtual XP, do not hibernate it
2. Open Folder Options, choose Show hidden files, folders and drives. Uncheck Hide extensions for known
file types

3. Goto C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
4. Copy Windows XP Mode.vhd and Windows XP Mode.vmc files
5. Paste files to the same folder. Windows adds word Copy to both filenames, so now you have two new
files: Windows XP Mode - Copy.vhd and Windows XP Mode - Copy.vmc
6. Open Windows XP Mode - Copy.vmc with Notepad. It is a xml-file, so you can edit it normally with
Notepad
7. Find the following string containing virtual drives name: <drive_type type="integer">1</drive_type>

8. Under the <drive_type...> change the vhd-file name to Windows XP Mode - Copy.vhd both in
<absolute type="string"> and <relative type="string">
9. Find the following place under <virtual_network> containing MAC-adress for Virtual XP's ethernet
adapter: <id type="bytes">

10. To allow two copies of Virtual XP to connect to network simultaneously , we have to change the MACadress of the ethernet adapter to avoid MAC-adress conflict. Adress is given in hex, 0-9 and A-E. It is
enough to change one bit. In this example we have changed the last bit from 1 to 0
11. Save and close the file
12. Go to C:\Users\Your_Username\Virtual Machines , copy Windows XP Mode.vmcx and paste it to same

www.sevenforums.com/tutorials/21904-virtual-xp-machine-copy.html

2/6

9/29/12

Virtual XP Machine - Copy - Windows 7 Forums

12. Go to C:\Users\Your_Username\Virtual Machines , copy Windows XP Mode.vmcx and paste it to same
folder
13. Open the file Windows XP Mode - Copy.vmcx with Notepad
14. Change the file names to Windows XP Mode - Copy.vhd in <primary_disk1 type="string"> and to
Windows XP Mode - Copy.vmc in <vmc_path type="string">

15. Save and close the file
16. Open Folder Options and choose Don't show hidden files, folders or drives. Check Hide extensions for
known file types and click OK.
That's it. Now you can run two Virtual XP's simultaneously.

Have fun,
Kari
EDIT: Thanks to Brink for visual appearance.

Related Tutorials
How
How
How
How
How
How
How
How
How
How

to
to
to
to
to
to
to
to
to
to

Install and Setup Virtual Windows XP Mode in Windows 7
Enable the Built-in Administrator Account in Windows XP Mode
Create a Virtual Machine in Windows Virtual PC
Create Differencing Disks in Windows Virtual PC
Delete a Virtual Machine Created with Windows Virtual PC
Change Virtual Machine Settings in Windows Virtual PC
Add Limited User Accounts to Windows Virtual PC XP Mode
Boot from a CD or DVD in a Windows Virtual PC
Install, Enable, and Disable Windows Virtual PC Integration Features
Select Host Devices to Share with Virtual Machines in Windows Virtual PC

22 Aug 2009

#1

iseeuu
7 Home Pre x64,
Windows XP Pro,
Ubuntu 9.04
2,793 posts

Good work! Becoming our "vhd" expert, huh?

MO, USA

My System Specs
22 Aug 2009

#2

Kari
Thanks, mate. Don't know about being an expert. I just need Virtual Machines at my line of work.
Windows 7 x64
Ultimate
10,264 posts
A Finnish immigrant
in Leipzig, Germany

Kari

My System Specs

www.sevenforums.com/tutorials/21904-virtual-xp-machine-copy.html

3/6

9/29/12

Virtual XP Machine - Copy - Windows 7 Forums
01 Sep 2009

#3

JackStockton
Win 7
1 posts

Virtual XP Machine - Copy

Didn't work for me.
I even tried copying and editing the .vmcx file. When I try to run it or check the settings, I get an error that I
don't have premission or the file is missing, then it disappears.

My System Specs
.

02 Sep 2009

#4

Kari
Quote: Originally Posted by JackStockton

Windows 7 x64
Ultimate
10,264 posts
A Finnish immigrant
in Leipzig, Germany

Didn't work for me.
I even tried copying and editing the .vmcx file. When I try to run it or check the settings, I get an error
that I don't have premission or the file is missing, then it disappears.
It works. Please do not misunderstand me but it have to be a self caused issue, like misspelling or forgetting
something.
Here's a short checklist:
Do not change the file locations:
The vmcx-files should always be located in C:\Your_Username\Virtual Machines
The vmc-, vhd- and possible vsv-files should always be located in
C:\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
The virtual machine you copy must be powered down, not hibernated
All virtual machine files belonging to a certain virtual machine must have exactly the same name, only
difference being the filename extension
Tutorial, point 7: vhd-name must be changed in both absolute and relative type
Tutorial, point 10: MAC-Address must be a valid 32-bit hexadecimal
Tutorial, point 13: vhd-name must be changed in both primary_disk1 type and vmc_path type
So, check spelling, check the files needed are in the right folders, and check you edited the right files; for
example after copying and pasting the files edit the copies, not the originals.
Good luck.
Kari
Last edited by Kari; 26 Jan 2010 at 08:17 PM..

My System Specs
04 Oct 2009

#5

kaw
Windows 7
Professional RTM
1 posts

Beta to RC

It's worth noting that if you go from W7VPC Beta to RC, the instructs listed are not quite enough (if you're using
dynamic disks). You also need to copy the parent disk to the exact same location on the new computer. In my
case, this simply meant copying over the "C:\Program Files\Virtual Windows XP" folder.

My System Specs
12 Oct 2009

#6

Night Hawk
Windows 7 Ultimate
x64, XP Mode, W8
RP VM, Linux Mint
Debian 2nd OS HD7 Pro x64 second
case
7,340 posts
New England

My System Specs

Here I was able to backup the entire virtual machines folder before proceeding to place them into the new folder
on a fresh install of 7 to see the XP Mode as well as a previous Vista on vhd install run again.
Later when the VPC RC and XP Mode RC were released the same vhd used for Vista needed a fresh install where
the 32bit 7 RC was used to replace Vista on that same vhd!

www.sevenforums.com/tutorials/21904-virtual-xp-machine-copy.html

4/6

My System Specs
14 Jan 2010

#7

rfeague
W7 Pro
4 posts

I see same problem as JackStockton

I've been through the steps a few times with care, and I see the same strange behavior JackStockton mentioned
where the .vmcx disappears as soon as I click on it. I will post a solution if I figure it out, but I just wanted to
reinforce that JackStockton is not imagining things, and as near as I can tell, not failing to follow the directions
with care.

My System Specs
14 Jan 2010

#8

Night Hawk
Welcome to the Windows 7 Forums! rfeague
Windows 7 Ultimate
x64, XP Mode, W8
RP VM, Linux Mint
Debian 2nd OS HD7 Pro x64 second
case
7,340 posts
New England

One thing I found fast from the time this guide was first posted here and once the final XP Mode was available
was that copying no longer worked as it had been seen with the XP Mode RC version which was the only version
available at the time.
The final version runs like an installer with a preconfigured setup mode for each fresh install there unlike the RC.
The guide here worked then for the RC version however but now needs to be updated.
When the RC version was used on a second 7 RC installation I would simply create a new shortcut once the
files/folders were copied over once a fresh install of the Virtual PC was seen first to have it work then.
First you now install the VPC, restart the system, and then install the XP Mode later to watch the setup take
place.

My System Specs
15 Jan 2010

#9

Kari
Quote: Originally Posted by JackStockton

Windows 7 x64
Ultimate
10,264 posts
A Finnish immigrant
in Leipzig, Germany

Didn't work for me.
I even tried copying and editing the .vmcx file. When I try to run it or check the settings, I get an error
that I don't have premission or the file is missing, then it disappears.
Quote: Originally Posted by rfeague

I've been through the steps a few times with care, and I see the same strange behavior JackStockton
mentioned where the .vmcx disappears as soon as I click on it. I will post a solution if I figure it out, but
I just wanted to reinforce that JackStockton is not imagining things, and as near as I can tell, not failing
to follow the directions with care.
Quote: Originally Posted by Night Hawk

Welcome to the Windows 7 Forums! rfeague
One thing I found fast from the time this guide was first posted here and once the final XP Mode was
available was that copying no longer worked as it had been seen with the XP Mode RC version which was
the only version available at the time.
The final version runs like an installer with a preconfigured setup mode for each fresh install there unlike
the RC. The guide here worked then for the RC version however but now needs to be updated.
When the RC version was used on a second 7 RC installation I would simply create a new shortcut once
the files/folders were copied over once a fresh install of the Virtual PC was seen first to have it work
then.
First you now install the VPC, restart the system, and then install the XP Mode later to watch the setup
take place.
I really do not know why some of you guys are experiencing problems. To re-test the validity of this tutorial, I
checked everything once more this morning.
I followed tutorial literally and it works. In the attached screenshot from this morning you can see two
independent XP Modes open at the same time, both having different software installed, both connected to
network.
Quote: Originally Posted by kaw

9/29/12

Virtual XP Machine - Copy - Windows 7 Forums
It's worth noting that if you go from W7VPC Beta to RC, the instructs listed are not quite enough (if
you're using dynamic disks). You also need to copy the parent disk to the exact same location on the
new computer. In my case, this simply meant copying over the "C:\Program Files\Virtual Windows XP"
folder.
I have Virtual PC and XP Mode RC, and this method works as it did with beta. The base vhd-file in C:\Program
Files\Virtual Windows XP should not be copied, it is as the name says the base to every copy of the XP
Mode.
Kari

Last edited by Kari; 15 Jan 2010 at 11:07 AM.. Reason: Spelling
My System Specs
Page 1 of 6 1 2 3 > Last »

Virtual XP Machine - Copy problems?

« Desktop C omposition - Enable or Disable | Folder View - Set a Default for All Folders »

Similar Threads for: Virtual XP Machine - Copy
Windows 7 Tutorial

Category

Using .vhd file from one virtual machine to other virtual machine

Virtualization

batch file to copy from virtual machine to USB

Virtualization

How to C opy a Virtual XP machine

Virtualization

C an I load up my linux partition in Virtual Box or any Virtual Machine

Virtualization

Windows Virtual PC - C onnect Virtual Machine to Network

Tutorials

All times are GMT -5. The time now is 11:36 AM.
Windows 8 Forums - - C ontact Us - Windows 7 Forums - Legal - Privacy and cookies - Top

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft C orporation.
"Windows 7" and related materials are trademarks of Microsoft C orp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

www.sevenforums.com/tutorials/21904-virtual-xp-machine-copy.html

6/6

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close