Tuesday, August 20, 2019

How to Resolve VSS Writer Errors


What are VSS Writers?

VSS writers are a function of the Volume Shadowcopy Service, a Windows service which allow for backups or snapshots of files or volumes to be made even while locked or in use. Many, if not most, enterprise and mid-level backup solutions on the market these days utilize VSS, so when you find your backups to be failing, it is often due to underlying issues with the Volume Shadow Service. 

When troubleshooting failed backups, one of the first places to look should be at the VSS writers since often times writers that are in a failed state will prevent backups from completing successfully. 

How to view VSS Writers:


To view the list of writers and the active state they are in, pull up a command prompt(as administrator) or PowerShell window and run the following command:

VSSAdmin list writers





This command displays a list of VSS writers and what state they are in. If you find any writers in an error state, you will need to find the corresponding service that it belongs to and restart that service. If the command hangs or does not return any data, this suggest that the VSS service or one of its dependent tasks is in a bad state, causing the VSS audit to fail. 

The writer name corresponds to a Windows service which Microsoft conveniently does not display in the results of the "list writers" command. You can cross reference the writers name with its service in the table below. Once the service is found, restart start it and then rerun the "VSSAdmin list writers" command. If the service is still in an error state or fails to restart, reboot the server. 

VSS WriterService NameService Display Name
ADAM $instanceName WriterADAM_$instanceName$instanceName
ASR WriterVSSVolume Shadow Copy
BITS WriterBITSBackground Intelligent Transfer Service
Certificate AuthorityCertSvcActive Directory Certificate Services
COM+ REGDB WriterVSSVolume Shadow Copy
DFS Replication service writerDFSRDFS Replication
DHCP Jet WriterDHCPServerDHCP Server
FRS WriterNtFrsFile Replication
FSRM 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 Writer (MSMQ)MSMQMessage Queuing
MSSearch Service WriterWSearchWindows Search
NPS VSS WriterEventSystemCOM+ Event System
NTDSNTDSActive Directory Domain Services
OSearch VSS WriterOSearchOffice SharePoint Server Search
OSearch14 VSS WriterOSearch14SharePoint Server Search 14
OSearch15 VSS WriterOSearch15SharePoint Server Search 15
Registry WriterVSSVolume Shadow Copy
Shadow Copy Optimization WriterVSSVolume Shadow Copy
SharePoint Services WriterSPWriterWindows SharePoint Services VSS Writer
SMS WriterSMS_SITE_VSS_WRITERSMS_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
WDS VSS WriterWDSServerWindows Deployment Services Server
WIDWriterWIDWriterWindows Internal Database VSS Writer
WINS Jet WriterWINSWindows Internet Name Service (WINS)
Windows Server Storage VSS WriterWseStorageSvcWindows Server Essentials Storage Service
WMI WriterWinmgmtWindows Management Instrumentation


For additional information on VSS and what services writers do, check out this article from Microsoft: In-Box VSS Writers

No comments:

Post a Comment