Fix Virtual Windows XP Mode VHD Cannot Install or Attach in Windows 7 Error

When installing Windows Virtual PC and Windows XP Mode in Windows 7, the installation may halt with the following error messages:

“The file could not be written.”
“Virtual hard disk could not be attached to the virtual machine. Please check the values provided and try again.”.

The error happens even though the computer hardware specifications have met the system requirements of Windows 7, including those specifically required for Windows Virtual PC, i.e hardware-assisted virtualization (test CPU for VT support).

The root cause of the problem while attempting to install and run Windows 7 Virtual XP Mode lies on Kaspersky Internet Security and Kaspersky Anti-virus or other similar security problem, which over zealously tries to protect the PC from unknown or potentially malicious application activities. In the case of Kaspersky, the Application Activity Analyzer proactive feature is likely causing the Windows XP Mode to fail to install or its virtual machine from running.

To fix the Windows XP Mode (XPM) setup error in Windows 7 for users who use the Kaspersky security product, try to disable the detection and scanning of Hidden Object in the Application Activity Analyzer or Proactive Defense setting (depends on version of Kaspersky). Windows XP Mode should be able to install properly after the setting is applied.

A more generic solution is to disable Kaspersky or any anti-virus solution installed on the system, and then reinstall Virtual Windows XP Mode. Windows XP Mode should install perfectly now. After installation completes, re-enable the anti-virus protection, and it won’t interfere with the working of Windows XP Mode.

2 Responses to “Fix Virtual Windows XP Mode VHD Cannot Install or Attach in Windows 7 Error”

  1. Terry
    September 3rd, 2009 04:19
    2

    I don’t have Kaspere and never have… or any other kind of AV program.. and I still get this error… I have tried at least 6 times. It won’t take the registration key that Microsoft gave me with win 7.. i have to press enter with no key to get past that screen. Something is bad wrong because when I google this problem I find a lot of people have this problem. This was the only possible solution I have found and it doesn’t apply to my setup.

  2. Net Meeting in Windows 7 « ร ะ บ า ย อ า ร ม ณ์
    July 27th, 2009 18:55
    1

    [...] http://www.mydigitallife.info/2009/05/19/fix-virtual-windows-xp-mode-vhd-cannot-install-or-attach-in... [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

cannot attach the virtual hard disk to the virtual machine - google chrome os vhd - i install my epson stylus sx115 to my acer aspire but my pc cant recognize it - xp mode .vhd - XP MODE VHD - xp mode error - repairing windows 7 virtual xp machine - cannot attach virtual disk - virtual windows xp.vhd - windows xp mode virtual PC won't install - Attach VHD xp - cannot attach virtual hard disk to the virtual machine - install windows 7 to vhd cannot ignore warning - how to run xp mode virtual hard disk - windows xp mode windows 7 error - xp mode missing vhd file - xp cannot install kaspersky - cannot install virtual xp - windows ultimate xp mode .vhd - "windows xp mode" vhd - "cannot attach virtual hard disk" - vmware windows xp mode .vhd - win xp vhd - windows 7 cannot install xp mode dec 2009 - can not install digital camera - cannot install network printer in xp virtual machine - cannot install windows virtual pc - cannot setup windows xp mode - download virtual hard disk windows xp - fix it windows xp mode - how to run xp vhd on another computer - vhd windows xp - xp mode, error - convert xp mode in virtual machine - diskette with xp mode - fix vhd - how to install windows xp in virtual hard disk - how to install windows xp os from vhd - installer error+windows virtual pc - repair virtual xp machine\ - windows 7 problem xp .vhd - "Windows Virtual PC" "Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again." - cannot boot from windows xp vhd - cannot attach the virtual had disk to the virtual machione - can i install windows xp in virtual hard drive of windows 7 - check vhd - convert a virtual disk to xp mode - disktovhd xp - INSTALL XP MODE ERROR PROBLEM - missing vmware virtual disk after running windows XP mode -