Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows Server 2019 / VSS Writer Failed: Re-registering VSS Writers on Windows Server

March 11, 2024

VSS Writer Failed: Re-registering VSS Writers on Windows Server

Most backup solutions for Windows use Volume Shadow Copy Service (VSS) to create backup copies of the application or service data. In some cases, the VSS service or one of its writers start to work incorrectly which results in failures during the backup. I have faced such an problem on Exchange, MSSQL and Hyper-V servers. To quickly recover VSS and its components, I use the following instruction.

To detect a failed VSS writer, let’s display the list of VSS writers registered in the system and their status using the vssadmin command.
vssadmin list writers

Find the components with the Failed state in the list. For the components working normally, the state looks as follows: State: [1] Stable.

Writer name: 'Microsoft Exchange Writer'
Writer Id: {53da1ac4-4bab-404a-0917-ae23f8aacfb7}
Writer Instance Id: {61b56ab0-9588-432f-ae7b-3233753ffa38}
State: [7] Failed
Last error: Retryable error

vss exchange writer in failed state

As you can see, in our case Microsoft Exchange Writer has failed (State: [8] Failed), so you won’t be able to complete the Exchange backup. Typically, to fix the state of this component, it’s enough to restart the server (which is not always possible for production reasons).

To repair the Exchange writer, try to restart the related service. (The table below shows the list of typical VSS Writers and the related Windows services.) Besides stopping the service, sometimes you will have to kill a hung service process manually.

VSS WriterSystem Service NameFull Name of a Service
IIS Config WriterAppHostSvcApplication Host Helper Service
BITS WriterBITSBackground Intelligent Transfer Service
Certificate AuthorityCertSvcActive Directory Certificate Services
System WriterCryptSvcCryptographic Services
DFS Replication service writerDFSRDFS Replication
DHCP Jet WriterDHCPServerDHCP Server
NPS VSS WriterEventSystemCOM+ Event System
IIS Metabase WriterIISADMINIIS Admin Service
Microsoft Exchange WriterMSExchangeISMicrosoft Exchange Information Store
Microsoft Exchange Replica WriterMSExchangeReplMicrosoft Exchange Replication Service
MSMQ Writer (MSMQ)MSMQMessage Queuing
NTDSNTDSActive Directory Domain Services
FRS WriterNtFrsFile Replication
OSearch VSS WriterOSearchOffice SharePoint Server Search
OSearch14 VSS WriterOSearch14SharePoint Server Search 14
SMS WriterSMS_SITE_VSS_WRITERSMS_SITE_VSS_WRITER
SPSearch VSS WriterSPSearchWindows SharePoint Services Search
SPSearch4 VSS WriterSPSearch4SharePoint Foundation Search V4
SqlServerWriterSQLWriterSQL Server VSS Writer
FSRM writersrmsvcFile Server Resource Manager
TermServLicensingTermServLicensingRemote Desktop Licensing
Microsoft Hyper-V VSS WritervmmsHyper-V Virtual Machine Management
ASR WriterVSSVolume Shadow Copy
COM+ REGDB WriterVSSVolume Shadow Copy
Registry WriterVSSVolume Shadow Copy
Shadow Copy Optimization WriterVSSVolume Shadow Copy
WDS VSS WriterWDSServerWindows Deployment Services Server
WIDWriterWIDWriterWindows Internal Database VSS Writer
WMI WriterWinmgmtWindows Management Instrumentation
WINS Jet WriterWINSWindows Internet Name Service (WINS)
MSSearch Service WriterWSearchWindows Search

Run the following command again:

vssadmin list writers

Check the status of the problem VSS writer. If it hasn’t changed to Stable state and the problem is not fixed, you can try to re-register the VSS components and libraries.

Go to this directory:

cd c:\windows\system32

Stop the following services: Volume Shadow Copy and Microsoft Software Shadow Copy Provider.

Net Stop VSS
Net Stop SWPRV

stop the shadow copy services: vss and swprv

Re-register the VSS components:

regsvr32 /s ole32.dll
regsvr32 /s oleaut32.dll
regsvr32 /s vss_ps.dll
vssvc /register
regsvr32 /s /i swprv.dll
regsvr32 /s /i eventcls.dll
regsvr32 /s es.dll
regsvr32 /s stdprov.dll
regsvr32 /s vssui.dll
regsvr32 /s msxml.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml4.dll
vssvc /register

re-registering vss writers on windows server 2012 / 2016

Start the previously stopped services:
Net Start SWPRV
Net Start VSS

Make sure that the error of the problem VSS writer has disappeared.

This method of restarting and re-registering of VSS components is effective both on Windows Server 2008 / 2012/ R2 and on Windows Server 2016.

2 comments
4
Facebook Twitter Google + Pinterest
Windows Server 2019Windows Server 2022
previous post
Fix: Limited Wi-Fi Access in Windows
next post
Configure Workgroup Failover Cluster without Active Directory on Windows Server

Related Reading

How to Get My Public IP Address with...

October 24, 2023

How to Obtain SeDebugPrivilege when Debug Program Policy...

March 11, 2024

How to See Number of Active User Sessions...

March 16, 2024

Auto-mount VHD/VHDX File at Startup in Windows

February 20, 2024

How to Clear Event Viewer Logs on Windows

November 9, 2023

Booting Windows from GPT Disk on BIOS (non-UEFI)...

March 11, 2024

Configure Storage Spaces Direct (S2D) on Windows Server

March 11, 2024

Fix: Clock Reverts to Wrong Time After Computer...

March 12, 2024

2 comments

Bill November 12, 2019 - 6:12 pm

completely full of errors when I remove the silent flag.

Reply
PK June 24, 2020 - 9:54 am

It is not recommended to do re-registration of DLLs on 2008 r2 or above version of OS.

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Encrypt Any Client-Server App Traffic on Windows with Stunnel

    June 12, 2025
  • Failed to Open the Group Policy Object on a Computer

    June 2, 2025
  • Remote Desktop Printing with RD Easy Print Redirection

    June 2, 2025
  • Disable the Lock Screen Widgets in Windows 11

    May 26, 2025
  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Booting Windows from GPT Disk on BIOS (non-UEFI) Computer
  • Managing Printers from the Command Prompt in Windows
  • Fix RDP Authentication Error: The Function Requested Is Not Supported
  • Auto-mount VHD/VHDX File at Startup in Windows
  • Configure Storage Spaces Direct (S2D) on Windows Server
  • Installing Free Let’s Encrypt TLS(SSL) Certificates on Windows Server
  • How to Get My Public IP Address with PowerShell
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top