Resolving VSS Writer Errors in Windows 8, Server 2012, and Up

Topic

This article discusses how to attempt to repair failed VSS writers on a protected machine that is running Windows 8 and higher, Windows Server 2012, or higher.

Environment

  • Windows 8 and higher
  • Windows Server 2012 and higher

Description

Datto appliances use the Volume Shadow Copy Service, also known as VSS Writers, to run backups. For more information about VSS Writers, check out VSS: Description, Compatibilities, and Troubleshooting Resources.

When VSS writers on Windows 8 or Windows Server 2012 fail, it could cause backups to fail. The process to repair VSS Writers usually involves using the VShadow utility, but this tool is not available for the above two operating systems. This article describes an alternative method.

VSS Writers, Services and Processes

Below is a chart including the various VSS writers along with the associated process and service.

VSS WriterProcess (.exe)Service
ASR WriterVSSVolume Shadow Copy
BITS WriterBITSBackground Intelligent Transfer Service
COM+ REGDB WriterVSSVolume Shadow Copy
DFS Replication Service WriterDFSRDFS Replication
DHCP Jet WriterDHCPServerDHCP Server
FRS WriterNtFrsFile Replication
FRSM WritersrmsvcFile Server Resource Manager
IIS Config WriterAppHostSvcApplication Host Helper Service
IIS Metabase WriterIISADMINIIS Admin Service
Microsoft Exchange Replica WriterMSExchangeReplMicrosoft Exchange Replication Service
Microsoft Exchange WriterMSExchangeISMicrosoft Exchange Information Store
Microsoft Hyper-V VSS WritervmmsHyper-V Virtual Machine Management
MSMQ WriterMSMQMessage Queuing
MSSearch Service WriterWSearchWindows Search
NTDSNTDSActive Directory Domain Services
O_Search VSS WriterOSearchOffice SharePoint Server Search
O_Search 14 VSS WriterOSearch14SharePoint Server Search 14
Registry WriterVSSVolume Shadow Copy
Shadow Copy Optimization WriterVSSVolume Shadow Copy
SMS WriterSMSSITEVSSWRITERSMS_SITE_VSS_WRITER
SPSearch VSS WriterSPSearchWindows SharePoint Services Search
SPSearch4 VSS WriterSPSearch4SharePoint Foundation Search V4
SqlServerWriterSQLWriterSQL Server VSS Writer
System WriterCryptSvcCryptographic Services
TermServLicensingTermServLicensingRemote Desktop Licensing
WIDWriterWIDWriterWindows Internal Database VSS Writer
WINS Jet WriterWINSWindows Internet Name Service (WINS)
WMI WriterWinmgmtWindows Management Instrumentation

Repairing VSS Writers

The following steps are basic troubleshooting workflows for repairing VSS writers.

  1. On the target machine, open an elevated command prompt with administrator privileges.
  2. Run the command vssadmin list writers, and make a note of any writers in a Failed state.
  3. Open services.msc on the machine. Reference the above table, and stop the services for the VSS writers that have failed.
  4. Open task manager and hard kill the processes for the related failed VSS writers.
  5. Return to services.msc and restart the related services.
  6. Run vssadmin list writers again to make sure the VSS writers are now showing as stable.

It is imperative that all VSS writers be in a stable state on the protected machine. If any writers have failed, they can cause backups to fail.

NOTE  If following these steps does not repair the writers, even after a full reboot of the production machine, you will need to contact Microsoft, or review their articles in the Troubleshooting VSS Applications(external link) section of their Knowledge Base. Datto is unable to provide extended support for VSS writers, as they are a proprietary Windows application.