Veeam and Hyper-V: Guest processing skipped (check guest OS VSS state and hypervisor integration components version)

With application-aware processing enabled in a Veeam backup job for a Hyper-V virtual server:

Guest processing skipped (check guest OS VSS state and hypervisor integration components version)
Failed to create snapshot (Microsoft Software Shadow Copy provider 1.0) (mode: Crash consistent) Details: Guest processing skipped (check guest OS VSS state and hypervisor integration components version)
Error: Guest processing skipped (check guest OS VSS state and hypervisor integration components version)

The reason is:

VM CAPTION IS #BACKUP USING SAVED STATE#. BACKUP WITH IN-GUEST VSS CURRENTLY IS NOT POSSIBLE

It seems that the Hyper-V integration components did not specify to use the system provider within this virtual server.  I forced using the  ‘Microsoft Software Shadow Copy provider’ inside the effected guest by adding this DWORD value.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\UseMicrosoftProvider = 1

Advertisements

Hyper-V VDI How to update, sysprep and rollout changes from Master image

How to update, sysprep and rollout changes from Master image

Right-click on the Master Image vdi, choose “revert”

Once reverted and the vdi is running, delete the existing snapshot

Apply program changes/OS updates

Snapshot

Then sysprep (C:\Windows\System32\Sysprep\) with the following settings: OOBE, generalise, shutdown

In Server Manager on the VDI server navigate to Remote Desktop Services -> Collections -> IFG Pooled Computer. Select Tasks in the top right and click Recreate All Virtual Desktops

Afterwards, revert Master Image to snapshot

Should the sysprep fail with an error message, try

Setting HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus to 7

Setting HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm to 1

Renaming (or deleting) C:\Windows\System32\sysprep\Panther

Make sure to do all three each time you attempt a sysprep.

Hyper-V VDI Create a new Master image for deployment

http://blog.itvce.com/2012/08/21/deploying-windows-8-virtual-desktop-infrastructure-on-windows-server-2012/

Then:

Click on Tasks in the relevant Collection and add a new virtual desktop. The Master image has a disk size of XXXXGB and this needs to be maintained.

1. Activate Windows.

2. Copy aWindows cleanup batch file to a folder called “Do not delete” in the Downloads folder of the administrator login and create a Basic Task in Task Scheduler to run it daily regardless of whatever the user is logged in.

3. Ensure System Restore is turned off. Ensure that there is also a scheduled task to run for disk defragment.

4. Install a free partition tool from to shrink the drive to the smallest permissable.

5. Shrink and compact vhdx

6. Increase vhdx to XXXXGB

7. Increase through disk management

8. Check in VDI settings that current file size use is not back where it originally was.

9. Remove the partition program

10. Ensure Windows Disk cleanup is set to run automatically every week with the highest privileges regardless of whether the user is logged on: http://www.thewindowsclub.com/automate-disk-cleanup-utility-windows . Run it.

11. Ensure that defragment is set to run on a monthly basis through task scheduler, regardless of whether logged in or not.

12. Final restart

Hyper-V VDI If running out of disk space on the VM

Run disk cleanup. It is normally down to the Windows error reporting files and C:\Windows\Temp. Delete and empty them respectively. The former should be turned off via Group Policy and cleared on a weekly basis by the “Windows disk cleanup” scheduled task. The latter is cleared by a batch file which runs on startup and is in the startup folder of the administrator login; the administrator login is used on a monthly basis to install operating system updates in the respective pooled VMs.

If the above fails:

1. Ensure system restore is turned off and paging file is disabled. Defragment drive. Also run “powercfg /h off” in elevated command prompt. Restart

2. Shrink through disk management. If not possible, use the free partition tool (\\172.17.8.7\public\\IT\Partition tools) to shrink.

3. Shrink and compact vhdx

4. Increase vhdx

5. Increase through disk management

6. Check in VDI settings that current file size use is not back where it originally was.

7. Re-enable paging file and remove the partition program

8. Disable all error reporting.

9. Batch file to delete contents of c:\windows\temp as part of the master image. Ensure it is set to run at administrator login – in the startup folder. Run the batch file.

10. Ensure Windows Disk cleanup and disk defrag set to run automatically every week with the highest privileges regardless of whether the user is logged on: http://www.thewindowsclub.com/automate-disk-cleanup-utility-windows . Run the former.

11. Final restart