Procedure re-register Volume Shadow Copy Service(VSS) in a Windows server to fix VSS_E_WRITERERROR_RETRYABLE error in bytevault


Issue


Bytevault backup of exchange server fails with following error

===============================
[com.ahsay.afc.microsoft.MSExchangeExpt] The writer failed due to an error that would likely not occur if the entire backup, restore, or shadow copy creation process was restarted. (VSS_E_WRITERERROR_RETRYABLE)
 ===============================

 

Solution


Volume Shadow Copy Service(VSS) is the service which is responsible for the Backups on your Exchange Server

We can check for available writers using the below command from command prompt.

===================
Vssadmin list writers
===================

We could find that some writers are in unstable or in waiting for completion state. "Microsoft Exchange Writer" can be in such a state in many cases.

If "Microsoft Exchange Writer" is unstable or waiting for completion for a long time, the backup is very likely to fail.


Restart of "Microsoft Exchange Information store" Service will help to refresh "Microsoft Exchange Writer" and it may help to resolve the issue.

If restart of  "Microsoft Exchange Information store" Service  is not helping, a server reboot will help to resolve the issue.

If above steps does not help to resolve the issue, we nee to re-register the Vss dlls

Given below commands will help to re-register the VSS dlls

========================
cd /d %windir%\system32
net stop vss
net stop swprv
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
net start swprv
net start vss
========================

Re-registering Volume Shadow Copy Service(VSS) will help to resolve the issue in almost all cases.

Last update:
2016-07-05 04:18
Author:
Bytehouse Technical Support
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

top