VSS Writers

I really hate VSS writers, mostly in older OS the writers become damaged or corrupt, or out of date, versions overwritten by windows update. You name it! However, any application that needs a snapshot of the operating system, usually C:\ requires VSS writers to perform the action.

I most frequently bump into these issues with TSM and P2V conversations.

To re-register the DLLs (from Admin command prompt)

You first need to work out if you are running Windows in 32bit or 64bit mode. (winver.exe will tell you if your running x64)

For 32bit system

First you need to stop the VSS writers, you may get a message here about “the service is not started”, just proceed onwards.

Open Command Prompt as Adminstrator and type

net stop vss

net stop swprv

 

 

 

 

 

 

 

 

 

 

This will ensure you have no active VSS Writers in use.

Next from Command prompt type

cd /d %windir%\system32

Then enter the following and press Enter each time

regsvr32 ole32.dll[Press Enter]
regsvr32 vss_ps.dll[Press Enter]
regsvr32 /i swprv.dll[Press Enter]
regsvr32 /i eventcls.dll[Press Enter] 
regsvr32 es.dll[Press Enter]
regsvr32 stdprov.dll [Press Enter]
regsvr32 vssui.dll[Press Enter]
regsvr32 msxml.dll[Press Enter]
regsvr32 msxml3.dll[Press Enter]
regsvr32 msxml4.dll[Press Enter]
Vssvc /Register [Press Enter]

 

For 64bit system

Open Command Prompt as Adminstrator and type

Net stop vss
Net stop swprv

This will ensure you have no active VSS Writers in use.

Next from Command prompt type

cd /d %windir%\system32

Then enter the following and press Enter each time

regsvr32.exe /i %windir%\system32\eventcls.dll  [Press Enter]
regsvr32.exe /i %windir%\system32\swprv.dll [Press Enter]
regsvr32.exe %windir%\system32\vssui.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\vss_ps.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\msxml.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\msxml2.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\msxml3.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\msxml4.dll [Press Enter]
regsvr32.exe %windir%\SysWOW64\ole32.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\oleaut32.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\es.dll[Press Enter]
regsvr32.exe %windir%\SysWOW64\comsvcs.dll[Press Enter]
vssvc /register[Press Enter]