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.
Related Articles
- Virtual Windows XP Mode (XPM or VXP) for Windows 7 x86 and x64 VHD Package Installer Download
- How to Access and Run Internet Explorer 6 (IE6) and Outlook Express (OE) of Virtual XP Mode (VXP) VM in Windows 7
- Easy Way to Determine If CPU Supports Windows 7 Virtual PC (XP Mode)
- Windows 7 Virtual PC And Windows XP Mode RC Direct Download Links
- How to Send Full Size Photos or Pictures with Windows Live (MSN) Hotmail
- Download Windows Virtual PC and Windows XP Mode Final RTM 7600.16393
- Windows 7 Minimum System Requirements
- How to Upgrade Install to Windows 7 Build 6956 with VHD Image in Clean State
- Workaround Fix to Install Virtual PC Additions on Windows Server 2008 Core
- Missing CD/DVD Device Driver Problem While Installing Vista on VMWare Server/ESX










































September 3rd, 2009 04:19
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.
July 27th, 2009 18:55
[...] http://www.mydigitallife.info/2009/05/19/fix-virtual-windows-xp-mode-vhd-cannot-install-or-attach-in... [...]