Saturday, November 7, 2009

Re-register VSS Writers

On occasion, we see VSS throw errors when a snapshots are taken. In some instances, a reboot corrects the issue. You can check the status as follows:

From an admin command prompt, enter

vssadmin list writers

If there are any errors, try re-registering the associated DLLs as follows:

net stop "System Event Notification"
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 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
net start "COM+ Event System"

Restart the server for the changes to take effect.

1 comment:

Greg Summerton said...

Thanks, this worked for me after i deleted all reg keys relating to acronis drive monitor. Thanks :)