5000+ Great Articles

Fix VSS Issue CAPI2 Error ID 513

Fix VSS Issue CAPI2 Error ID 513.

I recently tried P2V on a Windows Server 2008 SP2 x64: Physical Server on a Hyper-V Server. To achieve my goal, I used the Microsoft Virtual Machine Converter 3.1 utility.

Everything was fine during the setup phase until I moved on to the actual migration. The wizard failed during the snapshot phase with the following error:

MVMC could not snapshot the volume installed on SERVER. Error code: 0x809933BB.

After some digging and some time spent in the application event log, I saw a correlation between the time I tried to take a snapshot and an event called CAPI2 with id 513.

The error text was as follows:

Cryptographic services failed while processing the OnIdentity () call on the System Writer object. Details: AddCoreCsiFiles: BeginFileEnumeration () failed. System error: Access denied.

My first clue was the Access Denied line. Access denied to what? After doing a little research I figured it might be related to the FileMaps folder.

Here’s what I did to fix it.

The first step is to navigate to the C: Windows winsxs FileMaps folder and open the Security dialog box.

After that, we go to the Advanced tab and take ownership of the folder, since the current owner is TrustedInstaller. Also be sure to check out my detailed post on how to delete files protected by TrustedInstaller.

We are now giving full rights to the Administrators group for this particular folder. The next time I tried the migration it worked great. Hopefully this helps anyone who gets stuck using VSS and ends up getting this type of error. Enjoy!

Fix VSS Issue CAPI2 Error ID 513

Exit mobile version