Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A System Center Virtual Machine Manager 2008 P2V fails with 'A device attached to the system is not functioning (0x8007001F)'


Symptoms

A System Center Virtual Machine Manager 2008 (SCVMM) Physical to Virtual (P2V) conversion fails when attempting to mount a .VHD file, reporting that a device attached to the system is not functioning. The hex code is highly correlated with this issue.

Error (12700)
VMM cannot complete the Hyper-V operation on the contoso10.com server because of the error: 'The system failed to mount 'C:\ClusterStorage\Volume3\NewSystem\C_2011-11-29T035848.vhd'. Error Code: A device attached to the system is not functioning.
 (A device attached to the system is not functioning (0x8007001F))

↑ Back to the top


Cause

This can occur if antivirus realtime scanning places a lock on the file in the error message, making it impossible for SCVMM to continue operations.

↑ Back to the top


Resolution

Modify the antivirus realtime scanning operations so that the file extensions and processes below are excluded. Perform this action on the SCVMM Server and all Hosts it manages.

To resolve this issue, configure the real-time scanning component within your antivirus software to exclude the following directories and files: 

• Default virtual machine configuration directory (C:\ProgramData\Microsoft\Windows\Hyper-V)
• Custom virtual machine configuration directories
• Default virtual hard disk drive directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)
• Custom virtual hard disk drive directories
• Snapshot directories
• Vmms.exe (Note: May need to be configured as process exclusions within the antivirus software)
• Vmwp.exe (Note: May need to be configured as process exclusions within the antivirus software)
• All VHD, VHDX, AVHD, VSV and ISO files

Additionally, when you use Live Migration together with Cluster Shared Volumes on Windows Server 2008 R2, exclude the CSV path "C:\Clusterstorage" and all its subdirectories.

↑ Back to the top


More Information

For more information on antivirus options with Microsoft products see this article.

Virus scanning recommendations for Enterprise computers that are running currently supported versions of Windows
http://support.microsoft.com/kb/822158

↑ Back to the top


Keywords: vkball, kb

↑ Back to the top

Article Info
Article ID : 2628135
Revision : 1
Created on : 1/8/2017
Published on : 8/6/2012
Exists online : False
Views : 167