Re-Registering VSS DLL Binaries in 32-bit and 64-bit Environments

This article contains methods to re-register VSS DLL binaries. Conflicting VSS-aware applications running on the protected machine is a common cause of backup errors. Remove VSS-aware processes that are still present, including scheduled shadow copies in the OS. This ensures further long term stability and reliability. For a general overview of VSS and troubleshooting, see VSS: Description, Compatibilities, and Troubleshooting Resources.

Environment

  • Datto SIRIS
  • Datto ALTO

Description

If the command vssadmin list writers does not produce an output, the commands in this article can help to re-register the VSS Service's associated DLL binaries. Performing these steps can help reduce recurring VSS writer failures.

Determine the OS version that is being investigated

  • From the Windows desktop, right-click on My Computer, and then click Properties.
    • On most operating systems, you can find the My Computer icon on the Start Menu. Depending on your OS version, the icon might be listed as Computer or This PC.
    • You can also open a Windows Explorer window, and find the icon on the left-hand pane.
  • On the Properties menu, find the entries for Windows Edition and System Type. Make sure that they are compatible with the prerequisites outlined in this article.
  • If the host machine is running a compatible operating system, follow the steps in section 3.1 (for 64-bit systems) or section 3.2 (for 32-bit systems).

IMPORTANT  These steps only pertain to Windows Server 2008 Standard, Windows Server 2008R2, Windows Server 2003 and below. Attempting these fixes on Windows Vista or higher could cause operating system damage.

For modern Windows systems VSS troubleshooting is often tied to the associated service of the writer, such as SQL or Exchange opposed to directly re-registering the binaries. Repairing the installation of these services can assist in fixing the health of the associated writer. If the system writer or many VSS writers are unhealthy then overall health should be addressed. For more information refer to VSS: Description, Compatibilities, and Troubleshooting Resources.

Test VSS with the Microsoft VShadow tool

NOTE  Reboot the production machine if you have trouble testing the VSS writers with the VShadow tool.

  1. Download the VShadow tool for your OS:

  1. Download VShadow.exe to %windir%\system32\

  2. Before running VShadow, stop any VSS-related services that are running. Also, stop the following services, and set them to Automatic Startup in services.msc:

    • Background Intelligent Transfer Service
    • Hyper-V Volume Shadow Copy Requestor
    • Microsoft Software Shadow Copy Provider
    • MS Software Shadow Copy Provider
    • SQL Server VSS Writer
    • Volume Shadow Copy
  1. Open a command prompt with administrative privileges.

  2. Attempt to take a shadow copy of each system volume by using the VShadow tool. The syntax for this command is as follows: vshadow VolumeList. Replace VolumeList with the drive letters of the hard disks attached to the system, as shown in Figure 1. Do not include removable media drives.

  1. If the VShadow tool fails to take a shadow copy, reboot the production system.

Additional Resources