locked
Re: Windows SBS 2011 - Fault with VSS writers, causing failed backup. (how to re-register Shadow copy VSS writers) RRS feed

  • Question

  • I have an issue with a Windows SBS 2011. The system Backups have started to fail, investigating this further I noticed that VSS writers of Shadow Copy are not responding. I have a batch file with the text below. I just want some confirmation as I believe the VSS writers need to be re-registered due to permission issues.

    Creating a batch file for the below, will this work?

    Thanks for your time.

    Roy

    net stop "System Event Notification Service"
     net stop "Background Intelligent Transfer Service"
     net stop "COM+ Event System"
     net stop "Microsoft Software Shadow Copy Provider"
     net stop "Volume Shadow Copy"
     cd /d %windir%\system32
     net stop vss
     net stop swprv
     regsvr32 /s ATL.DLL
     regsvr32 /s comsvcs.DLL
     regsvr32 /s credui.DLL
     regsvr32 /s CRYPTNET.DLL
     regsvr32 /s CRYPTUI.DLL
     regsvr32 /s dhcpqec.DLL
     regsvr32 /s dssenh.DLL
     regsvr32 /s eapqec.DLL
     regsvr32 /s esscli.DLL
     regsvr32 /s FastProx.DLL
     regsvr32 /s FirewallAPI.DLL
     regsvr32 /s kmsvc.DLL
     regsvr32 /s lsmproxy.DLL
     regsvr32 /s MSCTF.DLL
     regsvr32 /s msi.DLL
     regsvr32 /s msxml3.DLL
     regsvr32 /s ncprov.DLL
     regsvr32 /s ole32.DLL
     regsvr32 /s OLEACC.DLL
     regsvr32 /s OLEAUT32.DLL
     regsvr32 /s PROPSYS.DLL
     regsvr32 /s QAgent.DLL
     regsvr32 /s qagentrt.DLL
     regsvr32 /s QUtil.DLL
     regsvr32 /s raschap.DLL
     regsvr32 /s RASQEC.DLL
     regsvr32 /s rastls.DLL
     regsvr32 /s repdrvfs.DLL
     regsvr32 /s RPCRT4.DLL
     regsvr32 /s rsaenh.DLL
     regsvr32 /s SHELL32.DLL
     regsvr32 /s shsvcs.DLL
     regsvr32 /s /i swprv.DLL
     regsvr32 /s tschannel.DLL
     regsvr32 /s USERENV.DLL
     regsvr32 /s vss_ps.DLL
     regsvr32 /s wbemcons.DLL
     regsvr32 /s wbemcore.DLL
     regsvr32 /s wbemess.DLL
     regsvr32 /s wbemsvc.DLL
     regsvr32 /s WINHTTP.DLL
     regsvr32 /s WINTRUST.DLL
     regsvr32 /s wmiprvsd.DLL
     regsvr32 /s wmisvc.DLL
     regsvr32 /s wmiutils.DLL
     regsvr32 /s wuaueng.DLL
     sfc /SCANFILE=%windir%\system32\catsrv.DLL
     sfc /SCANFILE=%windir%\system32\catsrvut.DLL
     sfc /SCANFILE=%windir%\system32\CLBCatQ.DLL
     net start "COM+ Event System"
     net start "System Event Notification Service"
     net start "Background Intelligent Transfer Service"
     net start "Microsoft Software Shadow Copy Provider"
     net start "Volume Shadow Copy"


    • Edited by RoysMS Friday, July 25, 2014 11:56 AM
    Friday, July 25, 2014 11:55 AM

Answers

  • Hi,

    The script you provided is one of the general steps we are using to troubleshoot VSS related issue so yes you can try on this script (please run as Administrator). 

    If issue still exists please provide the result of "VSSAdmin list writers" in your reply.

    Also if there is any error occurs in Event please provide without modify. 


    If you have any feedback on our support, please send to tnfsl@microsoft.com.

    Monday, July 28, 2014 8:08 AM