- StorageCraft ShadowProtect
- StorageCraft Cloud Services
- StorageCraft ImageManager
- StorageCraft ShadowControl CMD
- StorageCraft Granular Recovery for Exchange
- StorageCraft Recovery Environment
- Company Info
This article details how to troubleshoot VSS errors.
Backups may be failing due to Microsoft's VSS framework being in a bad state. This could be caused by clashes between ShadowProtect and other programs trying to use VSS at the same time. Only one writer can use VSS at any given time (See article on "Understanding VSS and ShadowProtect"). Another possible cause for VSS errors is that the necessary system services may have been mistakenly disabled.
If Microsoft's VSS framework and/or some of the VSS writers are in a bad state, you need to clean the system up before your backups will work.
- Cancel any running backup jobs
- End the ShadowProtectSVC process if necessary. (See Part 2, #3)
Go to Start | Run and enter "services.msc" - Click OK.
- Navigate to MS Software Shadow Copy Provider. Startup Type should be set to "Manual" if it is not already.
- Navigate to Volume Shadow Copy. Startup Type should be set to "Manual"
- Navigate to ShadowProtect Service. Startup Type should be set to "Automatic"
- Navigate to StorageCraft Shadow Copy Provider. Startup type should be set to "Automatic"
Next, you need to delete all greyed-out devices (non-present "Storage Volume shadow copies" devices) possibly left over from previous snapshots.
- Run the command prompt as Administrator
- Run vssadmin delete shadows /all and select yes to delete all
- Run Set devmgr_show_nonpresent_devices=1
- Run devmgmt.msc this will open the device manager with the option to show non-present devices
- From "Device Manager" select "View | Show hidden devices"
- Scroll down until you see "Storage volume shadow copies" in the list. If it is not listed go to step 5. Under "Storage volume shadow copies" a listing called "Generic volume shadow copies" will be shown. The icon next to them will be greyed-out.
These can only be removed one at a time. Select one from the list, right click, and then choose uninstall. Repeat this process until all greyed-out devices are removed. If there are devices still listed which are not greyed-out then the vssadmin delete shadows /all did not work properly. Try running it again.
Do not delete any of the Storage Volumes.
- Go to Start | Run.. and enter "cmd" - Click OK.
- From the command line run the following command: vssadmin list writers. This will show you the state of any VSS-aware applications.
- If any of the VSS-Aware applications are in an unstable state you need to troubleshoot the individual writer and error,
For Server 2003 or Earlier ONLY: Manually reset the state of the VSS Writers. - These steps are at the bottom of the page.
After you finish rebooting:
- Click Start | Run and type "cmd"
- At the C:\ prompt type vssadmin list writers (note: these services should all be in a Stable state)
- If you run the vssadmin list shadows command, no existing shadow copies should be shown.
Following the steps listed above should clean the system up enough for you to start using ShadowProtect. Proper VSS interaction is very complex and many backup products leave various components (especially VSS writers) in bad states. This can cause problems for other backup products. If you are using any other backup products, it's very likely that they will corrupt the states of various VSS components. You must always ensure that ShadowProtect does not run at the same time as other backup software such as Backup Exec, Acronis, etc.
Understanding VSS and ShadowProtect - gives more basic information on what VSS is, how it works and which Operating Systems and applications are VSS aware.
Reregistering VSS steps for Server 2003: (Also referenced in the article labled: VSS Backups fail with a VSS error of 0x8000FFFF)
Warning From Microsoft in reference to the information below:
To attempt to reregister/reset VSS follow Microsoft's support knowledge base article listed at:
Scroll down to the section labled:
"Let me fix it myself"
Follow this section of Microsoft's document. .
- On 64bit system's the path to some DLL's will need to be entered differently because they reside in the SysWOW64 section of the WINDOWS directory. e.g.
Net stop vss
Net stop swprv
regsvr32.exe /i %windir%\system32\eventcls.dll
regsvr32.exe /i %windir%\system32\swprv.dll
- You may not have the msxml4.dll installed. Though they are not required, If you are missing msxml4.dll or msxml4r.dll (they should be in your system32 directory) and want to have them installed, then you can Windows Update and update Explorer. and then rerun the command for these DLLs after they are in your system32 directory.
- After reboot you should run the following command and check if all the VSS writers states are good/stable:
"C:\> vssadmin list writers"
- And this command should show no existing shadow copies:
"C:\> vssadmin list shadows"
- At this point things should be cleaned up enough for you to start using ShadowProtect. Proper VSS interaction is a very complex affair and many backup products (including,Microsoft's own backup softwares) can leave various components, especially VSS writers, in bad states. This can cause problems for other backup products. So if you are using any other backup products, it's very possible that they may continue to damage the states of various VSS components.
OS Bit Mode: