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.

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

  1. Daniel S.
    January 21st, 2010 12:07
    3

    Absolutly useless, this error has nothing to do with kaspersky or any other antivirus.

  2. 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.

  3. 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 My Digital Life Comments RSS feed to receive notification of latest comments posted.

New Articles

Incoming Search Terms for the Article

cannot attach the virtual hard disk to the virtual machine - cannot attach the virtual hard disk - 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. Check the values provided and try again. - "cannot attach the virtual hard disk" - "cannot attach the virtual hard disk to the virtual machine" - xp mode error - virtual windows xp.vhd - XP MODE VHD - windows xp vhd - windows xp vhd download - Cannot attach the virtual disk to the virtual machine - cannot attach virtual hard disk to virtual machine - cannot attach the virtual hard disk to the virtual machine check the values provided and try again - xp mode install error - disktovhd - windows xp mode.vhd - fix vhd - xp mode .vhd - cannot attach virtual hard disk to the virtual machine - install xp on vhd - windows xp mode vhd download - virtual hard disk could not be attached to the virtual machine - can not attach the virtual hard disk to the virtual machine - cannot attach the virtual harddisk to the virtual machine - cannot attach virtual hard disk - google chrome os vhd - i install my epson stylus sx115 to my acer aspire but my pc cant recognize it - "windows xp mode.vhd" - repairing windows 7 virtual xp machine - virtual windows xp vhd - windows xp mode windows 7 error - Windows XP VHD setup installer - vhd xp mode - xp mode errors - cant run windows xp mode - cannot install xp mode - "cannot attach the virtual disk to the virtual machine" - virtual XP vhd - Windows XP Mode VHD - Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again. - xp mode.vhd - 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 - VXPVHD - windows virtual pc cannot attach the virtual hard disk - cannot attach hard disk to virtual machine - "cannot attach the virtual hard disk to the virtual machine. check the values provided and try again" - xp mode won't install - cannot attach virtual disk -