VSS Writers commands to fix the issues

Share with friends

VSS Writers commands to fix the issues

Here we gonna discuss about VSS Writers commands to fix the issues

We oftenly see VSS  writers issue wherein VSS writers gets unstable or failed and that causes the System State backup failed. So, here are some basic commands that needs to  be followed to fix the issue

 

Open Command prompt and type vssadmin list writers (to list all writers with their current status) so if you see any of the writer is “failed” or is in “waiting for completion” state then we need to follow below steps:

 

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following commands at a command prompt. Press ENTER after you type each command.
    • cd /d %windir%\system32
    • Net stop vss
    • Net stop swprv
    • regsvr32 ole32.dll
    • regsvr32 oleaut32.dll
    • regsvr32 vss_ps.dll
    • vssvc /register
    • regsvr32 /i swprv.dll
    • regsvr32 /i eventcls.dll
    • regsvr32 es.dll
    • regsvr32 stdprov.dll
    • regsvr32 vssui.dll
    • regsvr32 msxml.dll
    • regsvr32 msxml3.dll
    • regsvr32 msxml4.dll

    Note The last command may not run successfully.

  3. Perform a backup operation to verify that the issue is resolved.

 

It is not necessary that it will refresh the VSS writers. However, you can retry the system state backup.

 

For windows 2008 servers, you can try below steps:

1. Stop the Microsoft Shadow Copy Provider & Volume Shadow Copy Service (run net stop “Microsoft Software Shadow Copy Provider”)
2. Export the contents of the HKLM\Software\Microsoft\EventSystem key to a .reg file (as a backup).
3. Delete the HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions key. (Just delete the Subscriptions subkey; leave the EventClasses key.)
4. Restart the server. “This causes the VSS entries in the HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions key to be rebuilt when the writers initialize.”

 

Then try to run following command for system backup and complete the system state backup. Please don’t cancel it in between otherwise system writers will be in “waiting for completion” state:

wbadmin start systemstatebackup -backupTarget:D:    (D: is the second partition of the server. However, you can change the drive letter accordingly)

VN:F [1.9.22_1171]
Please Rate & Comment !
Rating: 5.0/5 (1 vote cast)
VSS Writers commands to fix the issues, 5.0 out of 5 based on 1 rating

Share with friends