Backup XP Mode?

Page 2 of 2 FirstFirst 12

  1. Posts : 135
    Windows 7 Ultimate 64
    Thread Starter
       #11

    Kari said:
    Do not forget to backup the vmcx file in C:\Users\Your_Username\Virtual Machines\.

    By default, XP Mode is divided to two virtual hard disks. The base, or parent vhd contains the 'not negotiable' part of XP, system core, files needed to run XP. All user modifications, installed apps etc. are then stored to the XP Mode vhd.

    However, if you want to, you can make XP Mode to use only one vhd by merging the base, parent vhd and the XP Mode vhd. Here's how:

    A new standalone XP Mode vhd is now created. It does no longer need the base vhd. Notice that merging takes quite a long time.

    Kari
    Kari--

    Thanks. I'll keep that for future reference. Right now, I think I'll stick to the approach that says "if it isn't broke, don't fix it." Thanks for all your help.
      My Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #12

    You are welcome.
      My Computer


  3. Posts : 6
    Windows 7 Ultimate 64-bit
       #13

    Merging XP Mode files


    Kari:

    I read your replies about backing up XP Mode with great interest as I have now invested a lot of time in installing non-Win7 compatible apps and maintaining AV and AS softwares and Win XP security updates. When you mentioned Merging the base and custom XP Mode vhd files, I was prompted to question why this would be beneficial.

    Does a single XP Mode file load or perform faster?

    Are there other advantages or disadvantages to merging the files or keeping them separate?

    - - Phil
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #14

    Hi Phil, welcome to the Seven Forums.

    To start, a short explanation of two vhd's (Virtual Hard Disk) of XP Mode.

    The base vhd is the XP core, containing parts that XP Mode needs to run. All user modifications, installed apps etc. are then stored to the second vhd. If these two vhd's are not merged, they are both needed for XP Mode to run. This, using so-called differencing disks, separates XP Mode from all other virtual machines.

    To put it short, if you want to distribute an XP Mode virtual machine, you should merge it. It's also the easiest way to let different users (computer or domain) to access the same XP Mode virtual machine. If the XP Mode is differencing (base & personal vhd's), all users have separate XP Mode virtual machines, using the same base. Merging these too vhd's creates a virtual machine which can be used and accessed by different users.

    To make it even more complicated, you can then use this merged vhd as a base. A practical and typical example is to install XP Mode normally, install all the software and drivers that are common to all users, merge vhd's and create a new vhd, and using it as a base let users then modify and customize their personal XP Mode's.

    I use my system as an example. I have 6 user accounts on my main rigs, on a laptop and desktop. Two of those users use the same XP Mode virtual machine, my personal and work accounts. Both of these accounts are in English, as is the admin account on these two computers. Both computers also have accounts in Finnish, Swedish and German. Maybe a pic of my logon screen tells it better:

    Backup XP Mode?-logon_pc2.png

    For me, it's important that both my accounts, work and private, are able to use the same XP Mode virtual machine, access the same computer in other words. It's also important to me that all other accounts have an individual, separate XP virtual machine.

    So, to start I installed XP Mode. I then installed Office, PDF-reader, VLC player and some other stuff that all users need. I merged the differencing disks to a new vhd, and replaced the base vhd with it. I then logged in to each account to install (first boot) XP Mode to those accounts.

    Next step was to create a completely new vhd, merging this time the new base with my work account's differencing vhd. Now when I click XP Mode on my two accounts, they open this new vhd which no longer has a base, thus using the same virtual machine. All other accounts use differencing vhd's, the base I created with a personal vhd.

    Hope you can understand my rant; I just read through what I've written and have some difficulties to understand it myself

    Kari
      My Computer


  5. Posts : 6
    Windows 7 Ultimate 64-bit
       #15

    Thank you...

    I think I follow what you're describing as to how and what merging the base and custom vhd files accomplishes (in a organizational environment). In a small organization using one PC (no network), are there advantages to employing a merged file?

    Does a merged file load and run faster that using two files?

    After one has merged the files where does the resulting reside?

    Regards,
    - - Phil
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #16

    In one computer / multi user system the merged vhd gives the users a possibility to use one and same XP Mode. If not merged, using a base vhd, each user has an individual XP Mode virtual machine.

    I have not noticed any difference in performance.

    The merged vhd file can be located wherever the user wants to. Read this tutorial; even if you are not copying your XP Mode, it explains where different XP Mode files are located by default, and what files you have to edit to locate it to a non-default place.

    Kari
      My Computer


  7. Posts : 6
    Windows 7 Ultimate 64-bit
       #17

    Kari said:
    In one computer / multi user system the merged vhd gives the users a possibility to use one and same XP Mode. If not merged, using a base vhd, each user has an individual XP Mode virtual machine.

    I have not noticed any difference in performance.

    The merged vhd file can be located wherever the user wants to. Read this tutorial; even if you are not copying your XP Mode, it explains where different XP Mode files are located by default, and what files you have to edit to locate it to a non-default place.

    Kari
    Thanks. I read your earlier descriptions of where the files are located. I just wondered how the size of base +unmerged compares to size of merged? Probably about the same size?

    - - Phil
      My Computer


  8. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #18

    Theoretically, merged XP Mode vhd is a bit smaller than base & differencing vhd.

    The maximum size of a Virtual PC vhd is 127 GB. When a new virtual machine is created, or XP Mode run first time, there are two types of vhd to choose:
    • A dynamically expanding vhd takes only as much space on your host hard disk as needed but is automatically expanded when you add data to it. The size of a dynamically expanded vhd is measured and shown in two different ways:
      1. XP Mode > My Computer > Hard disk C: > Properties shows always the maximum size -1GB, 126 GB. The actual space needed can be seen in mow much of this 126 GB is used, in my case space needed is 11.5 GB

        Backup XP Mode?-xpm_hd_size.png
        .
      2. Host computer > C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines > Xp Mode.vhd > Properties shows another figure, in my case 13.2 GB. This is because a dynamically expanding vhd must be "a little ahead of the time"; it has already reserved almost 2 GB to be ready to expand. This is the real, actual space the XP Mode vhd is taking on my host's HD at the moment

        Backup XP Mode?-xpm_hd_size_2.png
        .
    • A fixed size vhd. The user can choose the size of the vhd. This size must of course be at least as much as is needed to install the OS in question, in case of the XP some 20 GB would be enough to most users as the size of the HD1. Because it's fixed, it's size is shown correctly both when looking from inside the XP Mode and from host


    So, theoretically a differencing XP Mode is base 1.2 GB + 127 GB, when a merged XP Mode is "only" 127 GB.

    Dynamically expanding vhd is default. If the user only clicks Next and OK, accepting default choices when installing XP Mode or creating a new virtual machine, it is created using dynamically expanding vhd. Personally, I find no reasons to use fixed size; a dynamically expanding vhd is more practical because its ability to grow or shrink, depending how much data I add or remove.

    If you need to free some space in your host's HD, you can try to compact XP Mode (or any other) vhd. Compacting is more effective when using fixed size vhd, a dynamically expanded vhd is already about as small as it can be.

    To compact an XP Mode vhd, choose XP Mode > Settings > Hard Disk 1 > Modify > Compact virtual hard disk > Compact:

    Backup XP Mode?-xpm_hd_size_3.png
    Backup XP Mode?-xpm_hd_size_4.png
    Backup XP Mode?-xpm_hd_size_5.png

    Hope this answer your question at least partly.

    Kari
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:58.
Find Us