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.
Custom Search

New Articles

Incoming Search Terms for the Article

cannot attach the virtual hard disk to the virtual machine - cannot attach the virtual hard disk to the virtual machine. check the values provided and try again. - "cannot attach the virtual hard disk to the virtual machine" - xp mode vhd - xp mode error - Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again - windows xp vhd download - virtual xp vhd - virtual hard disk could not be attached to the virtual machine - windows xp vhd - "cannot attach the virtual hard disk" - cannot attach the virtual hard disk - xp mode install error - Windows XP Mode won't install - xp mode - VHD windows 7 ppt - xp mode won't install - all - install windows xp on vhd - "xp mode""virtual disk" - cannot attach virtual hard disk - cannot install xp mode - vxpvhd - virtual windows xp vhd - windows xp mode.vhd - XP mode startup disk could not be written to - windows xp mode error - cant install virtualxp - cannot run xp mode in windows 7 - Installing xp in a Windows 7 .vhd - "Cannot attach the virtual disk" "Windows virtual PC" - can not install xp mode - "Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again." - boot xp from vhd - download VXPVHD - cannot attach virtual hard disk to virtual machine - Convert XP Mode to VMWare - how to fix virtual free - virtual pc Check the values provided and try again - xp mode will not install - cannot attach the virtual hard drive to the virtual disk - cant install xp mode - error xp mode - install xp on vhd - xp mode won't install correctly - cannot attach the virtual hard disk to the virtual machine. - xp mode just installed vhd - windows xp mode vhd - cannot Windows Virtual PC and Windows XP mode - fix virtual machine -