Guest VMs will fail to engage VSS when application-aware image processing is enabled generating an error:
Error Guest processing skipped (check guest OS VSS state and integration components version) (System.Exception)
This issue has multiple potential causes, usually related to the Integration Services version of the failing guest server. This issue occurs when Application-Aware image processing is utilized in the Backup or Replication job settings for transactional quiescence using Microsoft VSS
- A list of supported Guest OSes for each version of Hyper-V can be found here.
- Important! Server 2012 R2 and higher guests are not supported for VSS-enabled (AAIP) backups on 2008 R2 hosts due to integration components incompatibility.
- If the VM Guest OS is 2012 and the Host is 2008R2:
- View the Guest OS Application Event logs for errors with source: vmicvss and Event ID: 13.
- If this error is present, open the Registry Editor (regedit) and navigate to:
Within that key create a new DWORD
Note: If the SystemRestore key is not present, you will have to create it.
The solution section of this knowledge base article has been split into 3 different sections. Please go over each step in each of the 3 sections.
2. Within the Guest
3. VM Configuration
1. Integration ServicesClick here for a list of Hyper-V Integration Services and their corresponding build numbers.
How to identify…
Using Event Viewer
If Hyper-V Integration Services are out of date you will find Event ID 4000 within the Hyper-V-Integration section of the Event Viewer on the Hyper-V host where the VM is located.
Using PowerShell (Server 2012 or newer)
The results of which will list out each present VM, and the state of its integration services.
The following information is from the Microsoft page found here.
- Open Hyper-V Manager. From the Tools menu of Server Manager, click Hyper-V Manager.
- Connect to the virtual machine. Right-click the virtual machine and click Connect.
- From the Action menu of Virtual Machine Connection, click Insert Integration Services Setup Disk. This action loads the setup disk in the virtual DVD drive.
Depending on the guest operating system, you may need to start the installation manually.
- After the installation finishes, you may be prompted to restart.
2. Within the GuestThe following steps and checks are to be performed within the Guest OS of the VM that is failing to backup.
A.Make sure Windows is running the most recent service pack.
B.Ensure that the VSS Storage Area and Volume Match
- From an Administrative Command Prompt, run the command ‘VSSUIRUN.exe”
- Check the [Settings] for each Volume and ensure that the Volume and the Storage area match.
C.Ensure there are no Dynamic disk or FAT\FAT32 volumes
- Open Disk Management (diskmgmt.msc)
- Review the Type and File System columns
- VSS is not compatible with Dynamic disks or FAT\FAT32
All volumes must be NTFS or ReFS
D.Check System Reserved partition free space.
- System Reserved partition must have more than 42MB of space free.
- If less than 42MB is free, try creating a shadow copy for the volume.
Remember to delete the Shadow Copy if it is successful.
E.Start\Restart the “Hyper-V Volume Shadow Copy Requestor”
Open Services (services.msc)
Find the “Hyper-V Volume Shadow Copy Requestor” service.
If it is ‘Stopped’, Start it.
If it is ‘Running’, restart it.
3. VM ConfigurationThe following steps and checks are to be performed from the Hyper-V host level.
- Make sure the VM has a SCSI controller. One must be present, even if there are no devices to use the SCSI controller.
The error will present itself in the Hyper-V VMMS > Admin Event log. Example:
“The virtual machine ' Vm-Name' cannot be hot backed up since it has no SCSI controllers attached. Please add one or more SCSI controllers to the virtual machine before performing a backup. (Virtual machine ID).”
- Within the Virtual Machine settings verify that the “Backup (Volume Snapshot)” option is enabled.
- Make sure that the virtual machine files (VHD files) are not sitting in the root folder of the CSV, as this may prevent correct snapshot creation due to permission restrictions. We strongly recommend keeping virtual machine files in separate folder. More information regarding this can be found here.
- Open an Administrator Command Prompt.
- Run the command:
Diskshadow /L C:\writers.txt
- Run the command:
Recommended hotfixes for Hyper-V servers: