How to fix VSS errors in Windows XP and 2003.
I use Mozy Home to backup my laptop online so I don’t lose confidentials files or important documents in the event of a hard drive crash. Well for some reason my laptop started hard locking when Mozy would start so I had to disable it so I could keep working. Well today I decided to fix it after another hard lock. I opened up Event Viewer and had the following error:
After seeing this I immediately go and check the VSS writers on my Windows XP solution by opening a command prompt and typing “vssadmin list writers.” Of course this shows all the proper writers. So next I check the shadows by typing “vssadmin list shadows” and instantly I get an error: Error: 0x8000ffff.
At this point I realize that VSS is essentially broke on my machine. I remembered seeing a KB article awhile ago with Microsoft for repairing VSS after a corrupt registry subkey called subscriptions. If you want to check out the KB article go here or simply use the following instructions, which I slightly edited for Windows XP.
1. Click Start, click Run, type Regedit, and then click OK.
2. Locate and then click the following registry subkey:
3. On the Edit menu, click Delete, and then click Yes to confirm that you want to delete the subkey.
4. Exit Registry Editor.
5. Click Start, click Run, type services.msc, and then click OK.
6. Right-click the following services one at a time. For each service, click Restart:
- COM+ Event System
- COM+ System Application
- Microsoft Software Shadow Copy Provider
- Volume Shadow Copy
7. Click Start, click Run, type cmd, and then click OK.
8. At the command prompt, type vssadmin list writers, and then press ENTER.
9. If the VSS writers are now listed, close the Command Prompt window. You do not have to complete the remaining steps. If the VSS writers are not listed, type the following commands at the command prompt. Press ENTER after each command.
- cd /d %windir%\system32
- net stop vss
- net stop swprv
- regsvr32 ole32.dll
- regsvr32 oleaut32.dll
- regsvr32 vss_ps.dll
- vssvc /register
- regsvr32 /i swprv.dll
- regsvr32 /i eventcls.dll
- regsvr32 es.dll
- regsvr32 stdprov.dll
- regsvr32 vssui.dll (does not work in Windows XP)
- regsvr32 msxml.dll
- regsvr32 msxml3.dll
- regsvr32 msxml4.dll
Note The last command may not run successfully.
10. At the command prompt, type vssadmin list writers, and then press ENTER.
11. Confirm that the VSS writers are now listed.
12. At the command prompt, type vssadmin list shadows and then press ENTER.
13. Confirm that there are no errors listed. On Windows XP you should see: No shadow copies present in the system.
14. Congratulations your machine should work again with any VSS compatible programs.