Disk2vhd : error during copy. The error could not be performed due to an I/O error
Its stupid, but running chkdisk first (yes, even when you are getting no error messages or problems anywhere else) before running hd2vhd again has fixed this for us too many times.
Related videos on Youtube
DomBat
Updated on September 18, 2022Comments
-
DomBat over 1 year
I'm trying to convert a fully patched, Windows Server2008 R2 system disk into a VHD by using disk2vhd from Microsoft Sysinternals.
Every time, the conversion fails with
error during copy. The error could not be performed due to an I/O error
, regardless of whether I sue thevhd
orvhdx
format, or whetehr I use the Volume Shadow Copy option.I am a local administrator, running disk2vhd as administrator and have disabled the anti-virus on the server, but it makes no difference.
I see this event in the eventlog around the same time as the error, so I suspect they're related.
Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied. This is often caused by incorrect security settings in either the writer or requestor process.
Operation: Gathering Writer Data
Context: Writer Class Id: {GUID} Writer Name: System Writer
Writer Instance ID: {GUID}
What's the problem here, and why can't I get this disk converted?
-
DomBat about 9 yearsVMware Converter didn't work, we tried that first. Originally just did C and that had the same issue too.
-
DomBat about 9 yearspossibly, but it just said it was corrupt and no other messages. I prefer Microsoft tools and so this thread is about disk2vhd.
-
Spooler over 7 yearsI would never call it stupid to check the integrity of a system before converting it to an entirely new platform. This is sound advice, even if it does nothing to fix this particular issue.
-
djdomi almost 3 years@DomBat Then add this, in case of next time, to your question that you dont want to get suggests from third party tools.