Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Veeam "VSSControl: Failed to freeze guest, wait timeout": the freeze window and the 900-second prepare timeout

Technical article
Backup & Recovery

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Veeam's knowledge base lists two similar messages: VSSControl: Failed to prepare guest for freeze, wait timeout 900 sec. and VSSControl: Failed to freeze guest, wait timeout. Veeam says their "cause and resolution are different". The prepare timeout is Veeam's own and can be raised. The freeze timeout is Microsoft's and cannot be changed, so the fix is to make everything inside the freeze window faster.

What the error means

Both come from application-aware processing, where Veeam uses VSS inside the guest so applications are in a consistent state when the snapshot is taken.

Prepare timeout. Veeam's KB1377 says the preparation timeout "exists to prevent an issue within a machine being processed from causing the job to get stuck". Preparation "consists largely of enumerating VSS writers, their components, and associated files and volumes". It can be exceeded because of performance limits in the guest or "because a specific writer is enumerating a very large number of files". Because Veeam imposes the timeout, it can be adjusted.

Freeze timeout. Veeam says this is the limit Microsoft VSS puts on how long writers may stay frozen: at most 60 seconds, 20 for Exchange. It is not configurable. Several tasks must fit inside that window. For vSphere, Veeam lists them: verify the freeze state, send the snapshot request through the VIM API, create the snapshot on the ESXi host, return the snapshot information, send the thaw request to VSS, and thaw the writers' I/O. Veeam adds that if the network connection to the guest is unavailable, the VIX API is used, which adds latency, and that the API steps can be slow when vCenter is overloaded or far from the hosts.

This page covers Veeam's message and Veeam's fix path. The VMware Tools side of a quiesced snapshot is covered in Quiesced snapshot fails: "exceeded the time limit for holding off I/O".

Likely causes

Cause What you see How to confirm
A writer takes too long to prepare, such as SQL Server with FILESTREAM or a third-party writer Failed to prepare guest for freeze, wait timeout 900 sec. Diskshadow output shows one writer with a very large list of files
Many transaction logs on an Exchange server The same prepare message Transaction log dates compared with the date of the last successful backup
Snapshot creation or the API calls take longer than the freeze window Failed to freeze guest, wait timeout, often with VSS events containing "abort" Slow snapshot creation, VIX in use, heavy I/O during the freeze
Anti-virus interfering with VSS Either message Isolation test described by Veeam
Exchange writer limit of 20 seconds Writer state VSS_WS_FAILED_AT_FREEZE, error code 0x800423f2 vssadmin list writers after the failure; Veeam KB1680

Prove the cause before changing anything

  1. Note which message the job shows. Prepare timeout and freeze timeout have different fixes.

  2. For the prepare timeout, find the writer that is slow. KB1377 says to collect the logs described in KB1789, or to use Diskshadow from an administrative prompt inside the guest, with output to a file. In the interactive Diskshadow session, list writers detailed writes each writer and its files to that file.

diskshadow /l C:\Windows\temp\writers.txt
list writers detailed
exit

A writer with a very large number of associated files is probably the culprit, in Veeam's words. A balanced list with none standing out points away from file enumeration. Microsoft's Diskshadow page lists list and exit as commands of the interpreter.

  1. For the freeze timeout, read the writers after a failure.
vssadmin list writers

For Exchange, KB1680 says a failed Exchange writer typically shows a timeout error (error code 9).

  1. Check whether the VM has snapshots before the job starts. KB1377 says backing up a VM with snapshots is supported but their presence "may increase the time it takes to create and remove subsequent snapshots".

  2. Where anti-virus is suspected, KB1377's isolation step is to uninstall it completely, reboot and rerun the job, because "simply disabling some anti-virus solutions may still leave components active". That is a security decision for the server's owner and is not part of the read-only checks.

Fix

Prepare timeout: raise VssPreparationTimeout

KB1377 says the timeout is a registry value created on the Veeam Backup Server: key HKLM\SOFTWARE\Veeam\Veeam Backup and Replication, value VssPreparationTimeout, type DWORD (32-bit), data in milliseconds, default 900000. The KB says to try doubling the value initially, to 1800000, which is 900,000 x 2 = 1,800,000 ms, or 30 minutes. It adds that no reboot or service restart is needed and the next job run uses the new value.

First save the current state:

reg query "HKLM\SOFTWARE\Veeam\Veeam Backup and Replication" /v VssPreparationTimeout > vsspreptimeout-before.txt 2>&1

Open vsspreptimeout-before.txt and read it now. The file holds either a line showing the value VssPreparationTimeout with its data, or an error that the value or key was not found. That tells you which back-out below applies.

Risk: the next command writes a registry value on the Veeam Backup Server. Veeam says the change affects the VSS preparation timeout for all jobs managed by that server, so every job on that server can wait longer on a stuck guest.

Set the value to 1,800,000:

reg add "HKLM\SOFTWARE\Veeam\Veeam Backup and Replication" /v VssPreparationTimeout /t REG_DWORD /d 1800000 /f

To undo it, choose the one case that matches what vsspreptimeout-before.txt shows, and skip the other.

Case 1, the file shows the value was not found. Veeam's page gives 900000 as the default, so deleting the value returns the server to that default.

Risk: the next command deletes the value VssPreparationTimeout from the Veeam key. Run it only for case 1. If the file showed a value, it would remove the value you saved. The /v option stays on the command, because without it Microsoft's reg delete page says all entries and subkeys under the key are deleted.

reg delete "HKLM\SOFTWARE\Veeam\Veeam Backup and Replication" /v VssPreparationTimeout /f

Case 2, the file shows a value. Put that data back. The file shows REG_DWORD data in hexadecimal (a number starting 0x); convert it to decimal and use it in place of the placeholder. Microsoft's reg query page shows no sample output, so the hexadecimal display is our own note: if the file shows decimal, use it as shown.

reg add "HKLM\SOFTWARE\Veeam\Veeam Backup and Replication" /v VssPreparationTimeout /t REG_DWORD /d <decimal data from vsspreptimeout-before.txt> /f

After either case, run the save-first command again, writing to a new file name, and compare its output with vsspreptimeout-before.txt.

Freeze timeout: shorten the work inside the window

Veeam's troubleshooting suggestions in KB1377 are these. They are Veeam's suggestions, not commands, and the steps are in Veeam's guide, not here:

  • Veeam suggests considering a Guest Interaction Proxy in the same subnet as the machine being backed up so application-aware processing has minimal network latency.
  • For vSphere, Veeam suggests checking for VM snapshots before the job starts.
  • KB1377 suggests VSSTrace for extended VSS logging and points to Veeam KB3164, which is not covered here.
  • Otherwise the cause "usually indicates excessive VMware snapshot creation time, an in-guest performance issue, delays related to VIX API, or a combination of factors", and the solutions are those in KB1680, with 60 seconds instead of 20.

For Exchange, KB1680 says Veeam Backup & Replication 8 and later switch to persistent VSS snapshots, which mitigate the 20-second limit, if the server meets their limitations.

Temporary workaround: stop application-aware processing for the VM

KB1377 says application-aware image processing can be disabled as a temporary workaround to get crash-consistent backups. Veeam's user guide explains the cost: by default Veeam "does not process application logs and creates a crash-consistent backup of VMs with applications that use transaction logs", and transactionally consistent backups need application-aware processing enabled in the job settings. The guide's page on the setting also warns: "If application-aware processing fails, the backup job will not process SQL transaction logs until Veeam Backup & Replication creates a new image-level backup of the Microsoft SQL Server VM." Treat the change as a stop-gap.

The console path comes from the user guide page for the Guest Processing step of the backup job wizard (Veeam Backup & Replication 13, build 13.2.0.193). At the Guest Processing step, the Enable application-aware processing check box turns the feature on for the job. Clicking Application handling options for individual machines opens the Application-Aware Processing Options window, where you select the VM and click Edit. On the General tab, in the Applications section, the choices are Require successful processing, Try application processing, but ignore failures, and Disable application processing. Veeam says the second choice creates a crash-consistent backup instead of a transactionally consistent one when processing fails, and that it "guarantees the completion of the backup job". The guide describes these steps in the job wizard and shows no separate path for an existing job.

To check the current setting without changing it, open the job's settings, go to the Guest Processing step and read the check box, then open the options window and read the VM's General tab.

First save the current state: write down the job name, whether Enable application-aware processing is ticked, and the VM's choice in the Applications section, in a text file named aap-settings-before.txt:

job name: <name>
enable application-aware processing: <ticked or not>
VM: <name>   Applications choice: <Require successful processing | Try application processing, but ignore failures | Disable application processing>
Use persistent guest agent: <ticked or not>

Risk: the next step changes how a backup job treats the VM's applications. With Disable application processing selected, the VM is backed up without application consistency. Veeam's page warns that when application-aware processing fails, SQL transaction logs are not processed until a new image-level backup is made.

In the Application-Aware Processing Options window, select the VM, click Edit, and on the General tab choose Disable application processing, or choose Try application processing, but ignore failures if the job must complete while still attempting processing. Save the job.

To undo it: open the same window, set the VM's Applications choice back to the value in aap-settings-before.txt, restore the check box and persistent agent setting to what the file records, and save the job. For a SQL Server VM, Veeam's page ties the return of log processing to a new image-level backup.

Example (illustrative): db01 is a SQL Server VM. Its job fails with VSSControl: Failed to prepare guest for freeze, wait timeout 900 sec. The Diskshadow output on db01 shows one writer with a very long list of files. The engineer saves the registry state on the Veeam server and sets VssPreparationTimeout to 1800000, which is 1,800,000 / 1,000 = 1,800 seconds, 30 minutes. The next run prepares in time. Had the message been Failed to freeze guest, wait timeout, raising this value would have changed nothing.

Confirm the fix

  1. The job completes with application-aware processing succeeded for the VM and no VSS timeout.
  2. vssadmin list writers shows every writer stable after the run.
  3. For a raised prepare timeout, note how long preparation took and whether it stays inside the new value.

What to watch afterwards

  • Preparation time per guest. A growing file count behind a writer will eventually pass any fixed value.
  • Snapshots left on VMs before a job starts.
  • Latency between the Veeam server, vCenter and the hosts.
  • Exchange servers' transaction log dates against the last good backup.

Risks and limits

  • These commands have not been run or lab-tested.
  • Raising the prepare timeout does nothing for the freeze timeout, which is fixed by Microsoft VSS, as Veeam says.
  • The 60-second and 20-second figures are Veeam's statement of how Microsoft VSS behaves.
  • The registry change applies to all jobs on the Veeam server.
  • KB1680 began as a note for Veeam Backup & Replication 6.1 and says the issue is rarer from version 8 on.

NetLeverage includes a daily full disaster-recovery backup of each hosted server at no extra charge. Talk to an engineer.

Sources

  • VSS Freeze Wait Timeout — Veeam Support Knowledge Base, KB1377, last modified 9 December 2024, accessed 2 December 2026
  • VSS Timeout When Backing up Exchange VM — Veeam Support Knowledge Base, KB1680, last modified 10 July 2024, accessed 2 December 2026
  • How to Collect Guest Processing Log Files — Veeam Support Knowledge Base, KB1789, last modified 11 June 2026, accessed 2 December 2026
  • Application-Aware Processing — Veeam Backup & Replication 13 User Guide, Veeam Help Center, page updated 22 October 2026, accessed 2 December 2026
  • Enable Application-Aware Processing — Veeam Backup & Replication 13 User Guide, Veeam Help Center, page updated 9 December 2025, accessed 2 December 2026
  • Diskshadow — Microsoft Learn, last updated 1 November 2024, accessed 2 December 2026
  • reg add — Microsoft Learn, last updated 4 January 2024, accessed 2 December 2026
  • reg delete — Microsoft Learn, last updated 3 February 2023, accessed 2 December 2026
  • reg query — Microsoft Learn, last updated 3 February 2023, accessed 2 December 2026