Basic Troubleshooting
- Make sure you have the latest patches installed for Windows
- Open an Admin Console Windows
- Run each command
- vssadmin delete shadows /all
- This will clean up any orphaned shadows. System with to many orphaned shadows can become unresponsive.
- This does not work with XP or Vista
- vssadmin list writers
- This show what services have registered with VSS. If you find an error look for a specific fix for that service.
- There can be multiple errors listed.
- vssadmin delete shadows /all
- Restart the service that is throwing the errors found in either the event log or the list writer command
- e.g. Hyper-V VSS writer service
- Restart the following services
- COM+ System Application Service
- Distributed Transaction Coordinator Service
- Volume Shadow Copy Service
- For Virtual Machines make sure your guest tools are updated.
- Remove 3rd party VSS Writers and test. These are often installed by backup providers like Acronis.
- If the machine is hosting virtual machines
- Stop and save all VM’s and VM configurations
- Remove the VM hosting software.
- Retest VSS and fix any errors before re-installing VM software
Known Event ID and other issues
Event ID: 8193
Receiving the Event 8193 in the event log and in the details of the event the following is listed
"Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...). hr = 0x80070005, Access is denied."
- Search the event details for the account that is being denied access.
- Open the Registry Editor
- Navigate to: HKLM\SYSTEM\CurrentControlSet\Services\VSS\
- Give the account listed in the event “Full Permissions” to the hive
- Reboot the system
System Writer errors
The Event Viewer may be reporting this or a similar error:
Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Name: System Writer
Writer Instance ID: {34162f4c-59ff-468e-848d-cb4b3d8dd7dc}
- Open the registry editor
- Navigate to:
HKLM\Software\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216} - Delete the Subscriptions key
- Reboot the machine.
- Open an Admin Console Windows, run the following command
- vssadmin list writers
- The System Writer error should be gone
Manually registering the VSS subsystem
This is a last ditch effort to re-initialize the VSS systems. The final solutions will be to rebuild the system/
- Open a Admin Console Windows
- Run these commands, one per line. Feel free to write a batch file.
Foe 32-bit systems and 64-bit systems
cd /d %windir%\system32
Net stop vss
Net stop swprv
regsvr32 ole32.dll
regsvr32 vss_ps.dll
Vssvc /Register
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll
regsvr32 Vssapi.dll
regsvr32 Vssui.dll
net start vss
net start swprv
For 64-bit systems run this second set of commands
Net stop vss
Net stop swprv
regsvr32.exe /i %windir%\system32\eventcls.dll
regsvr32.exe /i %windir%\system32\swprv.dll
regsvr32.exe %windir%\system32\vssui.dll
regsvr32.exe %windir%\SysWOW64\vss_ps.dll
regsvr32.exe %windir%\SysWOW64\msxml.dll
regsvr32.exe %windir%\SysWOW64\msxml2.dll
regsvr32.exe %windir%\SysWOW64\msxml3.dll
regsvr32.exe %windir%\SysWOW64\msxml4.dll
regsvr32.exe %windir%\SysWOW64\ole32.dll
regsvr32.exe %windir%\SysWOW64\oleaut32.dll
regsvr32.exe %windir%\SysWOW64\es.dll
regsvr32.exe %windir%\SysWOW64\comsvcs.dll
vssvc /register
net start swprv
net start vss
net stop winmgmt
regsvr32 wmiutils.dll
net start winmgmt
Common VSS Writer list
VSS Writer | Process (.exe) | Service |
ADAM $instanceName Writer | ADAM_$instanceName | $instanceName |
ASR Writer | VSS | Volume Shadow Copy |
BITS Writer | BITS | Background Intelligent Transfer Service |
COM+ REGDB Writer | VSS | Volume Shadow Copy |
DFS Replication Service Writer | DFSR | DFS Replication |
DHCP Jet Writer | DHCPServer | DHCP Server |
FRS Writer | NtFrs | File Replication |
FRSM Writer | srmsvc | File Server Resource Manager |
IIS Config Writer | AppHostSvc | Application Host Helper Service |
IIS Metabase Writer | IISADMIN | IIS Admin Service |
Microsoft Exchange Replica Writer | MSExchangeRepl | Microsoft Exchange Replication Service |
Microsoft Exchange Writer | MSExchangeIS | Microsoft Exchange Information Store |
Microsoft Hyper-V VSS Writer | vmms | Hyper-V Virtual Machine Management |
MSMQ Writer | MSMQ | Message Queuing |
MSSearch Service Writer | WSearch | Windows Search |
NTDS | NTDS | Active Directory Domain Services |
OSearch VSS Writer | OSearch | Office SharePoint Server Search |
OSearch 14 VSS Writer | OSearch14 | SharePoint Server Search 14 |
OSearch15 VSS Writer | OSearch15 | SharePoint Server Search 15 |
Registry Writer | VSS | Volume Shadow Copy |
Shadow Copy Optimization Writer | VSS | Volume Shadow Copy |
Windows SharePoint Services VSS Writer | SPWriter | SPWriter |
SMS Writer | SMSSITEVSSWRITER | SMS_SITE_VSS_WRITER |
SPSearch VSS Writer | SPSearch | Windows SharePoint Services Search |
SPSearch4 VSS Writer | SPSearch4 | SharePoint Foundation Search V4 |
SqlServerWriter | SQLWriter | SQL Server VSS Writer |
System Writer | CryptSvc | Cryptographic Services |
TermServLicensing | TermServLicensing | Remote Desktop Licensing |
WDS VSS Writer | Windows Deployment Services Server | Windows Deployment Services Server |
WIDWriter | WIDWriter | Windows Internal Database VSS Writer |
WINS Jet Writer | WINS | Windows Internet Name Service (WINS) |
WMI Writer | Winmgmt | Windows Management Instrumentation |
References
- https://support.microsoft.com/en-us/help/940184/error-message-when-you-run-the-vssadmin-list-writers-command-on-a-wind
- https://kb.datto.com/hc/en-us/articles/205356544-How-To-Repair-VSS-Writers-For-Windows-8-Server-2012
- https://kb.datto.com/hc/en-us/articles/200554805-Re-Registering-VSS-DLL-Binaries-in-32-bit-and-64-bit-Environments
Did you get a clue?
If you got a clue and want to thank me, then visit the thank me page. It’s the best way to keep me publishing articles and keeping this site operation.
This site uses affiliate links. When you go to another site from here the link typically will have an affiliate code attached to it. Your actions on that site may earn a small commission for me. Read our affiliate link policy for more details.
{fin}