Article ID: 2650412 - View products that this article applies to.
When using System Center Virtual Machine Manager 2008 (SCVMM), a Physical to Virtual (P2V) conversion of Windows Server 2003 x86 or x64 fails with one of a few possible errors. Two common errors are 'An I/O error occurred' error 0x80131516, and 'required files are missing' error (13257).
The .NET Garbage Collector prevents SCVMM from properly adding a required patch.
Create a file named 'vmmservice.exe.config' and place it in the same directory as vmmservice.exe, '%SYSTEMDRIVE%\Program Files\Microsoft System Center Virtual Machine Manager 2008 R2\Bin.' Place the information below in the file and nothing else. Restart the VMM Service and try the Add-Patch command contained in the error again.
Many articles similar to this state to simply remove 'vmmservice.exe.config' if found in the same directory as vmmservice.exe, '%SYSTEMDRIVE%\Program Files\Microsoft System Center Virtual Machine Manager 2008 R2\Bin.' This is not enough if garbage collection has already been set. The resolution above reverses the 'gcServer enabled' setting from what may be 'true' to 'false.'
Garbage collection is required for SCVMM in some situations when there are over 150 Hosts. For more information see the articles below.
Configuring Garbage Collection on the Server
How to enable server-optimized garbage collector for VMM
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2650412 - Last Review: July 16, 2012 - Revision: 3.0
Contact us for more help
Connect with Answer Desk for expert help.