Skip to main content

Troubleshooting problem with Volume Shadow Copy

Article ID
2001
Last Reviewed Date
Product Version
AhsayACB / AhsayOBM 9.1 or above
Operating System
Windows
Symptom

Cannot backup exclusively opened file (on Windows platforms) on a local hard disk.

There are many underlying components in the operating system that may come into play during the backup process to cause the VSS error. This article offers a guideline on how to troubleshoot for errors related to Volume Shadow Copy.

Resolution

The following are some steps to follow for troubleshooting errors related to Volume Shadow Copy (these steps may vary depending on the operating system):

Prerequisites of Volume Shadow Copy

Which version of Windows are you using?
Ensure that the AhsayOBM / ACB client application is installed on a supported Windows platform. Refer to the AhsayOBM / AhsayACB guide for the software compatibility list.

Reboot the affected machine

Have you restarted the affected computer recently?
Try rebooting the affected machine. In some instances, servers that have not been rebooted in a while may cause VSS malfunction. Reboot your server regularly as a preventive and cleanup measure for your system.

Volume Shadow Copy Service (VSS)

Is the VSS service started or can be started properly?

Restart the VSS service with the following procedure:

  1. Open Services.msc, click Control Panel, double-click Administrative Tools, then double click Services.
  2. Right click Volume Shadow Copy, then Restart.

    AhsayOBM Service

  3. Restart the following related Windows Services as well: COM+ Event System, COM+ System Application, MS Software Shadow Copy Provider and Remote Procedure Call (PRC).

Re-register VSS files

Are the VSS related components correctly registered?

Perform the following procedures to ensure that all VSS related components are correctly registered:

In the administrative command prompt, execute the 'RegisterVSS.bat' script file available in the AhsayOBM installation home, reboot the machine afterward.

${Install-Home}\bin RegisterVSS.bat
You can safely ignore the error message(s) displayed during the process, some of the DLL files are platform specific.

Latest Windows updates from Microsoft

Have you installed the latest Windows Updates on the affected computer?

Check if you have installed the latest Windows Updates. There may be known issues identified by Microsoft that can be resolved in a hotfix / update:

Backup task fails with a time-out error in Windows

Microsoft Visio

Is Visio installed? In some cases, Visio, which is part of Microsoft Office 2003 can cause Volume Shadow Copy to fail. Leverage the event logs found under Event Viewer.

For machine with Visio installed, check if the following event is found:

Event Type: Error
Event ID: 5013
Description:
Volume Shadow Copy Service error: Shadow Copy writer ContentIndexingService called routine VsServiceChangeState which failed with status 0x8007041d (converted to 0x800423f4).

To resolve the issue, delete the following registry key with regedit.exe, reboot the computer afterward:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Catalogs\Visio

Volume Shadow Copy (VSS) related issue

Is the issue VSS related?

Refer to the following instruction to troubleshoot the VSS related issue:

  • Ensure that status of all VSS writers and providers are stable:

    • To output the list of writers and their status, enter the following command in an elevated command prompt:

      >vssadmin list writers
      All writer should have status of [1] Stable.
    • To output the list of providers present, enter the following command in an elevated command prompt:

      >vssadmin list providers

      If no provider is listed, there may be issue with the installation of operating system itself. Resolution should be pursued with Microsoft support staff.

  • Ensure that left-over snapshots are cleaned up:

    • Enter the following command in an elevated command prompt:

      >vssadmin delete shadows /all

      This will clean up all VSS snapshots.

      Defective operating system may often accumulate hundreds of VSS snapshots that persist in the system and cause Windows to become un-responsive.

  • In some case, you may not be able to delete the VSS snapshots with the above command. Perform the following instead:

    • To decrease the maximum shadow storage size, enter the following command in an elevated command prompt:

      >vssadmin resize ShadowStorage /For=C: /On=C: /MaxSize=400MB

      If there is no VSS writer error displayed, but the system is not creating a new VSS snapshot, increase the max shadow storage size on the system instead.

    • To increase the maximum shadow storage, enter the following command in an elevated command prompt:

      >vssadmin resize ShadowStorage /For=C: /On=C: /MaxSize=10GB

Persisting issue

Does the problem persist after going through all steps outlined above?
Issue related to the Volume Shadow Copy (VSS) Windows services, or the Windows operating system itself should be further pursued with Microsoft support staff.