Windows 7 Forums


Windows 7: sorry if this has been asked and answered

09 Jul 2011   #1

XP Pro, 7 Pro
 
 
sorry if this has been asked and answered

..but searching has not revealed any of the answers I am looking for so please bear with me. I am asking for some specific help here since most every guide I have found about creating vhds kind of just leaves off when it comes to how to run, load or use them once they are created.



I created a .vhd of my XP system using disk2vhd on an external usb drive. I then plugged the external drive into my Windows 7 laptop and created the .vmcx with virtual machine, but I got an error message about not being able to write to the hard disk after double clicking on the .vmcx, and searches about that error yielded various fixes to permissions that I tried which did not work, but again I am not sure I have all the information I need.

I did not try to mount the vhd thru disk management as I don't want to reboot the laptop into XP, I just want to load my XP vhd the same way I can load XP Mode on the laptop. The whole reason I created the vhd of my existing system was to be able to use that instead of Windows 7's Virtual XP, since naturally the vhd has all my programs already installed.

I am not even sure if that's how virtual machines work, or if one needs to actually mount the vhd thru disk management and then reboot the machine to use it, since if that is the case I won't even bother with it.

Again I apologize if this issue has been addressed, but I have searched for concise instructions from start to finish for using Virtual Machines on Windows 7 but all I have found are bits and pieces that I have had to put together and it's a bit like doing a jigsaw puzzle without knowing what the finished picture is supposed to look like.
My System SpecsSystem Spec

10 Jul 2011   #2

Windows 7 x64 Ultimate
A Finnish immigrant in Leipzig, Germany
 
 

You need to install Microsoft Virtual PC (or third party alternatives) to be able to use your XP-vhd you have created with Disk2vhd.

Here's how to do that with Virtual PC.

  1. Download Virtual PC. If you do not need the free XP Mode, or if you are running 7 Home and therefore not entitled to use XP Mode, click the link on the download page (shown in the image below) to download standalone VPC:
    .
    sorry if this has been asked and answered-download_vpc_only.png
    .
  2. Install VPC. After installation you'll find a folder called Virtual Machines in your user folder (Username\Virtual Machines). Open it and click Create virtual machine link:
    .
    sorry if this has been asked and answered-new_vm_1.png
    .
  3. Choose a name for your new vm and a location where you want it stored:
    .
    sorry if this has been asked and answered-new_vm_2.png
    .
  4. Choose how much RAM you want to assign to your new vm. Check that host computer network connections are chosen:
    .
    sorry if this has been asked and answered-new_vm_4.png
    .
  5. Choose Use an existing virtual hard disk and browse to your vhd-image:
    .
    sorry if this has been asked and answered-new_vm_5.png
    .
  6. The new vm appears now on the list of virtual machines. Double click it to run it first time:
    .
    sorry if this has been asked and answered-new_vm_6.png
    .
  7. To allow full integration with the host system, enable Virtual PC Integration Features from Tools menu of your vm:
    .
    sorry if this has been asked and answered-new_vm_7.png
That's it. Should work now.

Kari

Some important links:
- Windows Virtual PC - Create Virtual Machine
- Windows Virtual PC Integration Features - Install, Enable, and Disable
My System SpecsSystem Spec
11 Jul 2011   #3

XP Pro, 7 Pro
 
 

Thanks, but as I said in my original post after I double clicked on the .vmcx I got an error saying "could not write to hard disk" and various searches for that error yielded different vague answers about fixing permissions, but I still could not get it to run.
My System SpecsSystem Spec
.


13 Jul 2011   #4

Windows 7 x64 Ultimate
A Finnish immigrant in Leipzig, Germany
 
 

I'm sorry to hear that. I've never had any problems with Disk2vhd-images.

You mentioned you have your vhd on an external disk. Have you checked the permissions of that disk / folder? That it's not "Read Only"?

Kari
My System SpecsSystem Spec
13 Jul 2011   #5

Windows 7 Pro x64 SP1
Rockville, Maryland USA
 
 

FWIW, I have copied .vhd files from one machine to the other but never have tried to run one from an external device.
I would copy the .vhd file to a directory on your hard disk, most likely in the virtual machines directory under your username. Then run virtual pc and create a new virtual machine but tell it to use an existing virtual hard disk. Virtual pc will setup the necessary files to open and install the virtual hard disk integration utilities via the tools option.

You will have to mount the integration utilities which will reside in the virtual pc directory integration components, where the .iso for integration utilities as well as the precompact program to defrag your vhds..

Rich
My System SpecsSystem Spec
13 Jul 2011   #6

7 Pro
San Diego
 
 

Would move vmcx to local c:
My System SpecsSystem Spec
13 Jul 2011   #7

Windows 7 Pro x64 SP1
Rockville, Maryland USA
 
 

Quote   Quote: Originally Posted by brady View Post
Would move vmcx to local c:
Care must be taken when moving the vmcx files as they have hard coded locations and such inside of them. Just a caution..

Rich
My System SpecsSystem Spec
14 Jul 2011   #8

XP Pro, 7 Pro
 
 

Thanks for the responses. Nothing I read suggested that virtual machines could not be run from external hard drives.
I don't have enough free space on my local hard drive to copy over the vhd.
My System SpecsSystem Spec
14 Jul 2011   #9

7 Pro
San Diego
 
 

Maybe check the parent directory permissions to add the "everyone" group with modify or full control. You can check the advanced settings to ensure the child folders are inheriting it's permissions?
My System SpecsSystem Spec
14 Jul 2011   #10

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
Hertfordshire
 
 

I have had a similar problem with a VHD of Win 7 in Virtualbox. I think it must be something to do with how the VHD is created that makes it internally read only. Mine was created from a Macrium Image. The way I got around it for VirtualBox was to use a third party utility to convert it to a VDI file.
My System SpecsSystem Spec
Reply

 sorry if this has been asked and answered problems?



Thread Tools



Similar help and support threads for: sorry if this has been asked and answered
Thread Forum
Noob needs some basic Raid0 Questions answered Drivers
need question answered!!! Customization
Simple question need answered Sound & Audio


All times are GMT -5. The time now is 12:02 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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 31 32