{"id":2924,"date":"2017-10-27T00:35:24","date_gmt":"2017-10-27T00:35:24","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=2924"},"modified":"2017-11-17T19:37:23","modified_gmt":"2017-11-17T19:37:23","slug":"veeam-writers-state-vss_ws_failed_at_prepare_snapshot-error-code-0x800423f4","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/fixes\/veeam-writers-state-vss_ws_failed_at_prepare_snapshot-error-code-0x800423f4","title":{"rendered":"Veeam Writer&#8217;s state: [VSS_WS_FAILED_AT_PREPARE_SNAPSHOT]. Error code: [0x800423f4].]"},"content":{"rendered":"<p>A Server 2012 R2 started getting VSS Writer Errors randomly in Veeam backup job. The server is running AADconnect which is set to autoupdate<\/p><p>A restart of the VSS SQL Writer which usually fixes this did not resolve the issue.<\/p><p>A look in the event log shows<\/p><p style=\"padding-left: 30px;\"><strong>A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error. If the backup process is retried,<\/strong><br \/><strong>the error is likely to reoccur.<\/strong><br \/><strong>. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.<\/strong><\/p><p style=\"padding-left: 30px;\"><strong>Operation:<\/strong><br \/><strong>PrepareForSnapshot Event<\/strong><\/p><p style=\"padding-left: 30px;\"><strong>Context:<\/strong><br \/><strong>Execution Context: Writer<\/strong><br \/><strong>Writer Class Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}<\/strong><br \/><strong>Writer Name: SqlServerWriter<\/strong><br \/><strong>Writer Instance Name: SQL Server Code-Named &#8216;Denali&#8217; CTP2:SQLWriter<\/strong><br \/><strong>Writer Instance ID: {6c73bfe9-f82f-4854-bec4-4382c314a583}<\/strong><br \/><strong>Command Line: &#8220;C:\\Program Files\\Microsoft SQL Server\\90\\Shared\\sqlwriter.exe&#8221;<\/strong><br \/><strong>Process ID: 4292<\/strong><\/p><p>With some<\/p><p style=\"padding-left: 30px;\"><strong>SQLVDI: Loc=SignalAbort. Desc=Client initiates abort. ErrorCode=(0). Process=4292. Thread=3940. Client. Instance=LOCALDB#SHDA41B2. VD=Global\\{9C831400-DE4D-4364-BA22-A8299CF545FC}4_SQLVDIMemoryName_0.<\/strong><\/p><p>Looks like you need to download the SQL Fix from here :\u00a0<a href=\"https:\/\/support.microsoft.com\/en-us\/help\/2983175\/cumulative-update-package-2-for-sql-server-2012-sp2\">https:\/\/support.microsoft.com\/en-us\/help\/2983175\/cumulative-update-package-2-for-sql-server-2012-sp2<\/a><\/p><p>Mirror Here :\u00a0<a href=\"https:\/\/mega.nz\/#!3AZ3gK7I!kDPhnAlur4XtslKxGXwmbnLitJiwN9R6rK-z4Rh0N-s\">https:\/\/mega.nz\/#!3AZ3gK7I!kDPhnAlur4XtslKxGXwmbnLitJiwN9R6rK-z4Rh0N-s<\/a><\/p><p>&nbsp;<\/p><p>**Update , fix does not seem to work<\/p><p>A repair on the SQL database and then run the below script<\/p><p>Looks like this might be an issue with AADcoonect<\/p><p><a href=\"https:\/\/github.com\/pariswells\/pariswells.com\/blob\/master\/fixaadconnectvsswriter.ps1\">https:\/\/github.com\/pariswells\/pariswells.com\/blob\/master\/fixaadconnectvsswriter.ps1<\/a><\/p><p>&nbsp;<\/p><p>**Update<\/p><p>\u00a0ADSync launches an SQL Server Local DB under it\u2019s own user account<br \/>\u2013 The User Profile Service thinks ADSync is no longer logged on, and unloads the registry<br \/>\u2013 SQL Server though still has handles to the registry, but they\u2019re invalid now<\/p><p>Detailed explanation:<br \/><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/2287297\/a-com-application-may-stop-working-on-windows-server-2008-when-a-user\" rel=\"nofollow\">https:\/\/support.microsoft.com\/en-us\/help\/2287297\/a-com-application-may-stop-working-on-windows-server-2008-when-a-user<\/a><\/p><p>In short: Computer Configuration-&gt;Administrative Templates-&gt;System-&gt;User Profiles-&gt;Do not forcefully unload the user registry at user logoff<\/p>","protected":false},"excerpt":{"rendered":"<p>A Server 2012 R2 started getting VSS Writer Errors randomly in Veeam backup job. The server is running AADconnect which is set to autoupdateA restart of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[2192,2193,1886,2198,591,739],"class_list":["post-2924","post","type-post","status-publish","format-standard","hentry","category-fixes","tag-0x800423f4","tag-2193","tag-2012-r2","tag-aadconnect","tag-sql","tag-veeam"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=2924"}],"version-history":[{"count":4,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2924\/revisions"}],"predecessor-version":[{"id":2991,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2924\/revisions\/2991"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=2924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=2924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=2924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}