{"id":1198,"date":"2019-09-10T17:47:39","date_gmt":"2019-09-10T15:47:39","guid":{"rendered":"http:\/\/itsimple.info\/?p=1198"},"modified":"2023-06-07T15:56:48","modified_gmt":"2023-06-07T13:56:48","slug":"when-trying-to-create-system-state-you-get-windows-backup-failed-to-create-the-shared-protection-point-and-vssadmin-list-shadows-return-unexpected-provider-error","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=1198","title":{"rendered":"When trying to create system state you get Windows Backup failed to create the shared protection point and VSSADMIN list shadows return unexpected provider error"},"content":{"rendered":"<p>When trying to create system state backup you might get errors regarding the Volume Shadow Copy state :<\/p>\n<p>Event 22, VSS<\/p>\n<p>Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID<\/p>\n<p>Event 12292, VSS<\/p>\n<p>Volume Shadow Copy Service error: Error creating the Shadow Copy Provider COM class with CLSID {some id, Class not registered<br \/>\n].<\/p>\n<p>Event 12293, VSS<\/p>\n<p>Volume Shadow Copy Service error: Error calling a routine on a Shadow Copy Provider {some id}. Routine details Error calling Query(). [0x80070006] [hr = 0x80070006, The handle is invalid.<br \/>\n].<\/p>\n<p>Event 517, Backup<\/p>\n<p>The backup operation that started at &#8216;?2019?-?09?-?10T10:54:55.370000000Z&#8217; has failed with following error code &#8216;0x8078006B&#8217; (Windows Backup failed to create the shared protection point on the source volumes.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.<\/p>\n<p>Also when running :<\/p>\n<pre>vssadmin list shadows<\/pre>\n<p>You get error like:<\/p>\n<p><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/ListShadows.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1200\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/ListShadows.png\" alt=\"\" width=\"1125\" height=\"133\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/ListShadows.png 778w, https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/ListShadows-300x35.png 300w, https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/ListShadows-768x91.png 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/a><\/p>\n<p>In my case the problem was on registry key :<\/p>\n<pre>Computer\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\VSS\\Providers<\/pre>\n<p>Under this key all the VSS providers listed, in a normal default state there should be only one but if you have installed 3th party backup software you might get more, before playing around with the registry please export this key for backup and restore options. you should eliminate the rough provider, start delete the providers key &amp; restart VSS service each time and then test the result of the :<\/p>\n<p>vssadmin list shadows<\/p>\n<p>If you get &#8220;<span class=\"test-id__field-value slds-form-element__static slds-grow is-read-only\" data-aura-rendered-by=\"129:179;a\"><b>VSS_E_PROVIDER_NOT_REGISTERED<\/b> (0x80042304): The volume shadow copy provider is not registered in the system.<\/span>&#8221;<br \/>\nYou can try import to registry the correct values from <a href=\"_wp_link_placeholder\" data-wplink-edit=\"true\">this reg key<\/a> (it will through error but will work after service VSS restart) : <a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/FixVSS-2012.rar\">Re-reg_Vss-providers.reg<\/a><\/p>\n<p>MAKE BACKUP OF THE REGISTRY BEFORE ANY CHANGES !!!<\/p>\n<p>If you will want to re-register the Volume Shadow Copy service, use this command, for windows 2008 :<\/p>\n<pre><code>cd c:\\windows\\system32<\/code> <code>Net Stop VSS\nNet Stop SWPRV<\/code> <a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/stop-vss-swprv-services.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1201\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/stop-vss-swprv-services.jpg\" alt=\"\" width=\"931\" height=\"193\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/stop-vss-swprv-services.jpg 550w, https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/stop-vss-swprv-services-300x62.jpg 300w\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" \/><\/a> <code>regsvr32 \/s ole32.dll\n regsvr32 \/s oleaut32.dll\n regsvr32 \/s vss_ps.dll\n vssvc \/register\n regsvr32 \/s \/i swprv.dll\n regsvr32 \/s \/i eventcls.dll\n regsvr32 \/s es.dll\n regsvr32 \/s stdprov.dll\n regsvr32 \/s vssui.dll\n regsvr32 \/s msxml.dll\n regsvr32 \/s msxml3.dll\n regsvr32 \/s msxml4.dll\n vssvc \/register<\/code> <code>Net Start SWPRV\nNet Start VSS\nHere is a ready made script to re-register all vss components : <strong><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/FIXVSS08.rar\">FIXVSS<\/a><\/strong>\n<\/code><\/pre>\n<p>Re-registering\u00a0 VSS components like this is supported on Windows Server\u00a0 2012\/ R2 and on Windows Server 2016 :<\/p>\n<pre>cd \/d %windir%\\system32\nnet stop \"System Event Notification Service\"\nnet stop \"Background Intelligent Transfer Service\"\nnet stop \"COM+ Event System\"\nnet stop \"Microsoft Software Shadow Copy Provider\"\nnet stop \"Volume Shadow Copy\"\ncd \/d %windir%\\system32\nnet stop vss\nnet stop swprv\nregsvr32 \/s ATL.DLL\nregsvr32 \/s comsvcs.DLL\nregsvr32 \/s credui.DLL\nregsvr32 \/s CRYPTNET.DLL\nregsvr32 \/s CRYPTUI.DLL\nregsvr32 \/s dhcpqec.DLL\nregsvr32 \/s dssenh.DLL\nregsvr32 \/s eapqec.DLL\nregsvr32 \/s esscli.DLL\nregsvr32 \/s FastProx.DLL\nregsvr32 \/s FirewallAPI.DLL\nregsvr32 \/s kmsvc.DLL\nregsvr32 \/s lsmproxy.DLL\nregsvr32 \/s MSCTF.DLL\nregsvr32 \/s msi.DLL\nregsvr32 \/s msxml3.DLL\nregsvr32 \/s ncprov.DLL\nregsvr32 \/s ole32.DLL\nregsvr32 \/s OLEACC.DLL\nregsvr32 \/s OLEAUT32.DLL\nregsvr32 \/s PROPSYS.DLL\nregsvr32 \/s QAgent.DLL\nregsvr32 \/s qagentrt.DLL\nregsvr32 \/s QUtil.DLL\nregsvr32 \/s raschap.DLL\nregsvr32 \/s RASQEC.DLL\nregsvr32 \/s rastls.DLL\nregsvr32 \/s repdrvfs.DLL\nregsvr32 \/s RPCRT4.DLL\nregsvr32 \/s rsaenh.DLL\nregsvr32 \/s SHELL32.DLL\nregsvr32 \/s shsvcs.DLL\nregsvr32 \/s \/i swprv.DLL\nregsvr32 \/s tschannel.DLL\nregsvr32 \/s USERENV.DLL\nregsvr32 \/s vss_ps.DLL\nregsvr32 \/s wbemcons.DLL\nregsvr32 \/s wbemcore.DLL\nregsvr32 \/s wbemess.DLL\nregsvr32 \/s wbemsvc.DLL\nregsvr32 \/s WINHTTP.DLL\nregsvr32 \/s WINTRUST.DLL\nregsvr32 \/s wmiprvsd.DLL\nregsvr32 \/s wmisvc.DLL\nregsvr32 \/s wmiutils.DLL\nregsvr32 \/s wuaueng.DLL\nsfc \/SCANFILE=%windir%\\system32\\catsrv.DLL\nsfc \/SCANFILE=%windir%\\system32\\catsrvut.DLL\nsfc \/SCANFILE=%windir%\\system32\\CLBCatQ.DLL\nnet start \"COM+ Event System\"<\/pre>\n<p>Here is a ready made script to re-register all vss components : <a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2019\/09\/FixVSS-2012.rar\">FixVSS-2012.bat<\/a><\/p>\n<p>Then Restart the following services :<\/p>\n<ul class=\" list-paddingleft-2\">\n<li>COM+ Event System<\/li>\n<li>COM+ System Application<\/li>\n<li>Distributed Transactions Coordinator<\/li>\n<li>Microsoft Software Shadow Copy Provider<\/li>\n<li>Volume Shadow Copy service<\/li>\n<li>Networker remote exec service<\/li>\n<li>Cryptographic Service<\/li>\n<\/ul>\n<p>This is the list of services responsible for the writers:<\/p>\n<p><strong>List Of Writers:<\/strong><\/p>\n<table class=\"tmatrix\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\"><strong>VSS Writer<\/strong><\/td>\n<td colspan=\"1\" rowspan=\"1\"><strong>Service Name<\/strong><\/td>\n<td colspan=\"1\" rowspan=\"1\"><strong>Service Display Name<\/strong><\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">ASR Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">VSS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Volume Shadow Copy<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">BITS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">BITS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Background Intelligent Transfer Service<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">COM+ REGDB Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">VSS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Volume Shadow Copy<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">DFS Replication service writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">DFSR<\/td>\n<td colspan=\"1\" rowspan=\"1\">DFS Replication<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">DHCP Jet Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">DHCPServer<\/td>\n<td colspan=\"1\" rowspan=\"1\">DHCP Server<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">FRS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">NtFrs<\/td>\n<td colspan=\"1\" rowspan=\"1\">File Replication<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">FSRM writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">srmsvc<\/td>\n<td colspan=\"1\" rowspan=\"1\">File Server Resource Manager<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">IIS Config Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">AppHostSvc<\/td>\n<td colspan=\"1\" rowspan=\"1\">Application Host Helper Service<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">IIS Metabase Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">IISADMIN<\/td>\n<td colspan=\"1\" rowspan=\"1\">IIS Admin Service<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">Microsoft Exchange Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">MSExchangeIS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Microsoft Exchange Information Store<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">Microsoft Hyper-V VSS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">vmms<\/td>\n<td colspan=\"1\" rowspan=\"1\">Hyper-V Virtual Machine Management<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">NTDS<\/td>\n<td colspan=\"1\" rowspan=\"1\">NTDS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Active Directory Domain Services<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">OSearch VSS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">OSearch<\/td>\n<td colspan=\"1\" rowspan=\"1\">Office SharePoint Server Search<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">OSearch14 VSS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">OSearch14<\/td>\n<td colspan=\"1\" rowspan=\"1\">SharePoint Server Search 14<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">Registry Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">VSS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Volume Shadow Copy<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">Shadow Copy Optimization Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">VSS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Volume Shadow Copy<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">SPSearch VSS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">SPSearch<\/td>\n<td colspan=\"1\" rowspan=\"1\">Windows SharePoint Services Search<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">SPSearch4 VSS Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">SPSearch4<\/td>\n<td colspan=\"1\" rowspan=\"1\">SharePoint Foundation Search V4<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">SqlServerWriter<\/td>\n<td colspan=\"1\" rowspan=\"1\">SQLWriter<\/td>\n<td colspan=\"1\" rowspan=\"1\">SQL Server VSS Writer<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">System Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">CryptSvc<\/td>\n<td colspan=\"1\" rowspan=\"1\">Cryptographic Services<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">TermServLicensing<\/td>\n<td colspan=\"1\" rowspan=\"1\">TermServLicensing<\/td>\n<td colspan=\"1\" rowspan=\"1\">Remote Desktop Licensing<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">WINS Jet Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">WINS<\/td>\n<td colspan=\"1\" rowspan=\"1\">Windows Internet Name Service (WINS)<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">WMI Writer<\/td>\n<td colspan=\"1\" rowspan=\"1\">Winmgmt<\/td>\n<td colspan=\"1\" rowspan=\"1\">Windows Management Instrumentation<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After that check with VSSADMIN LIST PROVIDERS + VSSADMIN LIST WRITERS<\/p>\n<p>see that you have : Writer name: &#8216;System Writer&#8217;<\/p>\n<hr \/>\n<h3>Good Luck<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>When trying to create system state backup you might get errors regarding the Volume Shadow Copy state : Event 22, VSS Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,14,15],"tags":[],"class_list":["post-1198","post","type-post","status-publish","format-standard","hentry","category-tech","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1198"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1198\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}