Hello Green, I am Henry and I want to help you with your issue.
The two error codes you provided are the key.
- 0x807800C5 (Failure in preparing the backup image): This means Windows Server Backup asked the Volume Shadow Copy Service (VSS) to create a point-in-time snapshot of your drive(s), and VSS failed to do so.
- 0x8004245f (The semaphore timeout period has expired): This is the reason VSS failed. A specific component that VSS was waiting for (a VSS "writer") did not respond in time, causing the entire operation to time out.
Please perform the following steps in order.
Step 1: Identify the Failing VSS Writer. This command will tell us precisely which service or application is causing the timeout.
- Run the command Command Prompt as Administrator on the server:
vssadmin list writers
- Examine the output for any writer that does not show State: [1] Stable and Last error: No error.
- If you find a writer in a "Failed" or other error state, you have found the cause. Note the "Writer name" and restart the corresponding service.
Step 2: Check for a Corrupted Backup Catalog. Sometimes the existing backup set is corrupted, preventing new backups from being written.
- Navigate to your backup destination (the local drive or network share).
- Locate the folder named WindowsImageBackup.
- Rename it to WindowsImageBackup.old.
- Try running the backup again. If it succeeds, the old backup set was the problem.
Step 3: Check Hypervisor Integration Services. Since this is a VM, the VSS process is coordinated by the hypervisor's tools.
- On Hyper-V: Ensure Integration Services are up to date. You can also try reinstalling them from the Hyper-V console.
- On VMware: Ensure the latest version of VMware Tools is installed and running. A common fix is to use the "Programs and Features" control panel inside the VM to "Repair" or "Reinstall" VMware Tools.
Step 4: Let's ensure there is no underlying OS file or disk corruption.
- In your elevated Command Prompt, run
sfc /scannow
. - After it completes, run
DISM /Online /Cleanup-Image /RestoreHealth
. - While you have run chkdsk before, it is worth running it on the small, hidden System Reserved / Recovery partitions if they exist. You can assign them a temporary drive letter in Disk Management to do this.Please perform the following steps in order.
Hope one of these works for you.