Monday 26 July 2021

Re-registering VSS Writers on Windows Server

 Some times when you have a retryable error in VSS its a good step to re-register the dll and restart the service.

to do this you will need to run the following commands in command prompt as admin

c:
cd c:\windows\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
pause

doing it as a bat file saves some time

No comments:

Post a Comment