How to Re-register Volume Shadow Copy Service (VSS) Components on Windows 2003/Windows 2008

If an Exchange Backup Job is performed with AOFO and Sybari Antigen product is installed in ESE mode, the error: “AOFO: Initialization failure on: \\servername\Microsoft Information Store\First Storage Group Advanced Open File Option used: Microsoft Volume Shadow Copy Service (VSS)” may occurHow to Re-register Volume Shadow Copy Service (VSS) Components on Windows 2008/Windows 2003.http://www.symantec.com/business/support/index?page=content&id=TECH70486

Problem

How to Re-register Volume Shadow Copy Service (VSS) Components on Windows 2008/Windows 2003.

Solution

VSS may not be working in one or more of the following ways:

1. Volume snapshots may fail with errors.
2. Backups using VSS may fail.
3. One or more VSS writers are missing when running the following command:
•vssadmin list writers

4. Using Backup Exec for Window Servers, backup jobs may:
•fail with VSS or snapshot errors.
•hang at snapshot processing.

5. Using Backup Exec System Recovery, backup jobs may:
•fail at 5%.
•appear to be progressing, reach 90% or higher then fail.

Re-registering VSS in Windows 2008 & testing is done in 2 parts:

Part 1 – Create and Execute a batch file named, FIXVSS08.BAT:
Please note the following:
•Run the batch file as Administrator.
•This is only for Windows 2008, not Windows 2003.

After running the .bat file, reboot the server to bring all of the writers into a stable state.
Copy and paste the following into Notepad, then click Save As and save it as FIXVSS08.BAT.

rem FILENAME: FIXVSS08.BAT

rem

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”

Part 2 – Testing VSS by performing a System State Backup:
•You must first open a command prompt by right-clicking on Command Prompt and select Run As Administrator.

The command to start a System State Backup is:

Wbadmin start systemstatebackup -backuptarget:F:

Additional Notes:
•F: is the target drive where you wish to store the system state backup.
•This shouldn’t be a drive that is hosting any of the files included with System State.
•For Windows 2003, please refer to the following article: http://support.microsoft.com/kb/940032

For additional details, refer to the following Microsoft Technet article:
http://blogs.technet.com/sbs/archive/2008/10/13/system-state-backups-and-sbs-2008.aspx

Mark as helpful. 0

Posted in: Backup, Server