Disk2VHD Issue

mac5048

New member
Local time
4:25 PM
Messages
13
Hi so i am currently in the process of using Disk2VHD in order to virtualize an xp environment. Once the image is captured i then go to load the vhd file within virtual pc (create new, use existing VHD, etc.). when i do this i get "Cannot attach the virtual harddisk to the virtual machine. check the value provided and try again."

I know if a vhd is above 127 GB you will receive this error. Looking at the VHD in windows explorer the file size shows as 118 GB. At this size i would think it would work but i still get the same error.

One thing i noticed, when i open up a cmd prompt and enter diskpart then attach the VHD it shows the VHD as being 298 GB(same size as the harddrive). I then resize the VHD within diskpart but the smallest it allows me to make the VHD is 149 GB.

Seems like virtual PC is seeing the VHD to be the size of the original harddrive. How can i get this to play nicely in VPC?! Any and all help is appreciated, thanks!

-Matt
 

My Computer

OS
Windows 7 64 bit
Did you resolve your issue?

I have the exact same problem, except my vhd physical size is 25Gigs and when I attach that is Disk Management, I get 65 Gigs of allocated space and the rest in un-allocated (127-65) space. I have a Win7 Enterprise 64 bit OS.

Thanks for any pointers.

-Venki
 

My Computer

OS
Windows 7 Enterprise 64 bit
venkir,
Since you have an Enterpriseversion, you will need to talk to your system administrator.
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
mac,
Did you post in the sysinternals forum since you are talking about a sysinternals program?
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
Seems like virtual PC is seeing the VHD to be the size of the original harddrive. How can i get this to play nicely in VPC?! Any and all help is appreciated, thanks!

-Matt
VHDs created with Disk2vhd are exact copies of the system, so they will report the size of the vhd as that of the original system drive.

You need to shrink the system drive under 127 GB before using Disk2vhd to create an image.

Kari
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Still the same dam error

Guys:

I installed Windows XP mode and then Virtual PC (which was part of a patch). When XP mode was being installed it created a virtual machine that can come up and I can see the XP VM running. All is good so far. When I try to create a new virtual machine using an existing VHD from our Engg team, it fails with 'Cannot attach vhd to the vm, check values and try again" Ahhhhhhh, Why the heck are these error messages so useless?

I have been at it for three days. I have tried various things"
1. The physical size of the vhd is 25 Gigs
2. When I attach it in Disk Mangement, it shows up as a new drive and I can see the files, so there is nothing wrong with the VHD file, plus others in our company have used it
3. But the drive in Disk Management shows up at 127 Gigs with 70 Gigs of un-allocated space.
4. I have tried shutting down all anti-virus software, no luck.

HELP!!!
 

My Computer

OS
Windows 7 Enterprise 64 bit
Venkir.
You are NOT the thread starter.

Please do not tack your problems onto another thread.

Start your own thread, stating your own problem, with your own system specs.

Your cooperation is appreciated.

karl
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
Back
Top