Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: sorry if this has been asked and answered

09 Jul 2011   #1
jggg

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
Kari

Microsoft Community Contributor Award Recipient

 

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:
    .
    -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:
    .
    -new_vm_1.png
    .
  3. Choose a name for your new vm and a location where you want it stored:
    .
    Name:  new_VM_2.png
Views: 2
Size:  48.9 KB
    .
  4. Choose how much RAM you want to assign to your new vm. Check that host computer network connections are chosen:
    .
    Name:  new_VM_4.png
Views: 2
Size:  50.6 KB
    .
  5. Choose Use an existing virtual hard disk and browse to your vhd-image:
    .
    Name:  new_VM_5.png
Views: 3
Size:  48.7 KB
    .
  6. The new vm appears now on the list of virtual machines. Double click it to run it first time:
    .
    -new_vm_6.png
    .
  7. To allow full integration with the host system, enable Virtual PC Integration Features from Tools menu of your vm:
    .
    Name:  new_VM_7.png
Views: 2
Size:  18.5 KB
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
jggg

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
Kari

Microsoft Community Contributor Award Recipient

 

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
richnrockville

Windows 7 Pro x64 SP1
 
 

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
brady

 

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

Windows 7 Pro x64 SP1
 
 

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
jggg

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
brady

 

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
kado897

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bit Service Pack 1
 
 

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




Thread Tools




Similar help and support threads
Thread Forum
not sure if asked yet
i am attempting to ascertain if there is a way to remove the "Common Tasks" (i believe it is called that) from windows. i am usually best friends with google, however, since i'm not aware of the element's proper name i have been unable to locate any relevant information. anyway, the element...
Customization
Noob needs some basic Raid0 Questions answered
First time setting up raid0, have read some of the other posts on this board and just wanted some clarification. Im installing win7 for the first time. I want to set it up in a raid0 config. does it matter whether I use the 64 or 32bit discs? to my understanding the 64bit allows me to use more...
Drivers
need question answered!!!
yes ive noticed a lot of mr grims custom themes send you to his site on virtual customs.. thats fine and cool, but ive registered on his site and cant get an activation email.. wth do you have to do to get one mr grim? ive emailed board administrators and have received nothing in return? i...
Customization
yes i have asked this before
Hi Hope everyone is well. ok this is more vista forum related. I tried using this log in and it wouldn't accept my name and log in. I don't wish to create a new account. Sorry ( vista will not be my issue soon) ok first point this is the final machine in a long running virus infection. I...
Installation & Setup
Simple question need answered
I'm new too windows 7 and their are features I'm not used too and i found this on in windows audio control panel. What Is or what dose Exclusive Mode do is it ok too keep these settings the way they ar or should i un tick 1 or all of the option please explain what this is thanks :)...
Sound & Audio
Windows 7 Upgrade Guide: All Your Questions Answered
The amount of information pouring out of Redmond these days about Windows 7 is unprecedented, and so is the level of enthusiasm. In a frantic attempt to make sense of it all, Maximum PC has been releasing our ongoing Feature Focus series, which hopefully, has helped you determine wither upgrading...
News


Our Sites

Site Links

About Us

Find 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 14:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App