{"id":985,"date":"2020-08-21T03:40:34","date_gmt":"2020-08-21T03:40:34","guid":{"rendered":"http:\/\/inetholding.com\/?post_type=epkb_post_type_1&#038;p=985"},"modified":"2020-08-21T03:59:50","modified_gmt":"2020-08-21T03:59:50","slug":"fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied","status":"publish","type":"epkb_post_type_1","link":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied","title":{"rendered":"Fix VSS EventID:8194 with PowerShell"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p class=\"has-text-align-center has-normal-font-size\"><strong>Event ID: 8194 Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em><strong>If you require assistance with the steps below, need Tech Support or any IT Services, please do not hesitate to <a href=\"http:\/\/inetholding.com\/#contact-us\" target=\"_blank\" rel=\"noreferrer noopener\">Contact Us<\/a>. We are offering free tech support by email<\/strong><\/em><\/p><\/blockquote>\n\n\n\n<p>The error seems to be caused by the fact that the VSS service is running as LocalSystem and it does not have the right permissions on the DCOM<\/p>\n\n\n\n<p>I created a small PowerShell script to address the issue<\/p>\n\n\n\n<p><strong><span class=\"has-inline-color has-luminous-vivid-orange-color\">Please note that a reboot is required!<\/span><\/strong><\/p>\n\n\n\n<p>The code can be run as in PowerShell, saved in a ps1 file as run as .\/filename.ps1 or used in a RMM script<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>echo &#8220;Getting VSS account logon info&#8221;;<\/em><\/p><p><em>$svcLogon = Get-WmiObject -Class Win32_Service -ComputerName $env:computername |<code>? { $_.StartName -match $LogonAccount } |<\/code>? { $_.DisplayName -eq &#8220;Volume Shadow Copy&#8221; } | select DisplayName, StartName, State, StartMode | Select-Object -ExpandProperty StartName<\/em><\/p><p><em>echo &#8221; VSS is running as &#8221; $svcLogon<\/em><\/p><p><em>echo &#8220;Get registry values&#8221;<\/em><\/p><p><em>$regValues = Get-Item -Path HKLM:SYSTEM\\CurrentControlSet\\Services\\VSS\\VssAccessControl | Select-Object -ExpandProperty Property;<\/em><\/p><p><em>echo &#8220;Registry contains&#8221; $regValues<\/em><\/p><p><em>echo &#8220;Checking to see if it is in the registry&#8221;<\/em><\/p><p><em>foreach ($rVal in $regValues ) {<br>if ($rVal -eq &#8220;NT Authority\\SYSTEM&#8221;) { $regFound = $true; break} else {$regFound = $false }<br>} ; $regFound;<\/em><\/p><p><em>echo &#8220;Is LocalSystem present? &#8221; $regFound<\/em><\/p><p><em>echo &#8220;If not existent we will create it, otherwise exit&#8221;<\/em><\/p><p><em>echo &#8220;Getting VSS account logon info&#8221;;<\/em><\/p><p><em>$svcLogon = Get-WmiObject -Class Win32_Service -ComputerName $env:computername |<code>? { $_.StartName -match $LogonAccount } |<\/code>? { $_.DisplayName -eq &#8220;Volume Shadow Copy&#8221; } | select DisplayName, StartName, State, StartMode | Select-Object -ExpandProperty StartName<\/em><\/p><p><em>echo &#8221; VSS is running as &#8221; $svcLogon<\/em><\/p><p><em>echo &#8220;Get registry values&#8221;<\/em><\/p><p><em>$regValues = Get-Item -Path HKLM:SYSTEM\\CurrentControlSet\\Services\\VSS\\VssAccessControl | Select-Object -ExpandProperty Property;<\/em><\/p><p><em>echo &#8220;Registry contains&#8221; $regValues<\/em><\/p><p><em>echo &#8220;Checking to see if it is in the registry&#8221;<\/em><\/p><p><em>foreach ($rVal in $regValues ) {<br>if ($rVal -eq &#8220;NT Authority\\SYSTEM&#8221;) { $regFound = $true; break} else {$regFound = $false }<br>} ; $regFound;<\/em><\/p><p><em>echo &#8220;Is LocalSystem present? &#8221; $regFound<\/em><\/p><p><em>echo &#8220;If not existent we will create it, otherwise exit&#8221;<\/em><\/p><p><em>echo &#8220;Getting VSS account logon info&#8221;;<\/em><\/p><p><em>$svcLogon = Get-WmiObject -Class Win32_Service -ComputerName $env:computername |<code>? { $_.StartName -match $LogonAccount } |<\/code>? { $_.DisplayName -eq &#8220;Volume Shadow Copy&#8221; } | select DisplayName, StartName, State, StartMode | Select-Object -ExpandProperty StartName<\/em><\/p><p><em>echo &#8221; VSS is running as &#8221; $svcLogon<\/em><\/p><p><em>echo &#8220;Get registry values&#8221;<\/em><\/p><p><em>$regValues = Get-Item -Path HKLM:SYSTEM\\CurrentControlSet\\Services\\VSS\\VssAccessControl | Select-Object -ExpandProperty Property;<\/em><\/p><p><em>echo &#8220;Registry contains&#8221; $regValues<\/em><\/p><p><em>echo &#8220;Checking to see if it is in the registry&#8221;<\/em><\/p><p><em>foreach ($rVal in $regValues ) {<br>if ($rVal -eq &#8220;NT Authority\\SYSTEM&#8221;) { $regFound = $true; break} else {$regFound = $false }<br>} ; $regFound;<\/em><\/p><p><em>echo &#8220;Is LocalSystem present? &#8221; $regFound<\/em><\/p><p><em>echo &#8220;If not existent we will create it, otherwise exit&#8221;<\/em><\/p><p><em>echo &#8220;Getting VSS account logon info&#8221;;<\/em><\/p><p><em>$svcLogon = Get-WmiObject -Class Win32_Service -ComputerName $env:computername |<code>? { $_.StartName -match $LogonAccount } |<\/code>? { $_.DisplayName -eq &#8220;Volume Shadow Copy&#8221; } | select DisplayName, StartName, State, StartMode | Select-Object -ExpandProperty StartName<\/em><\/p><p><em>echo &#8221; VSS is running as &#8221; $svcLogon<\/em><\/p><p><em>echo &#8220;Get registry values&#8221;<\/em><\/p><p><em>$regValues = Get-Item -Path HKLM:SYSTEM\\CurrentControlSet\\Services\\VSS\\VssAccessControl | Select-Object -ExpandProperty Property;<\/em><\/p><p><em>echo &#8220;Registry contains&#8221; $regValues<\/em><\/p><p><em>echo &#8220;Checking to see if it is in the registry&#8221;<\/em><\/p><p><em>foreach ($rVal in $regValues ) {<br>if ($rVal -eq &#8220;NT Authority\\SYSTEM&#8221;) { $regFound = $true; break} else {$regFound = $false }<br>} ; $regFound;<\/em><\/p><p><em>echo &#8220;Is LocalSystem present? &#8221; $regFound<\/em><\/p><p><em>echo &#8220;If not existent we will create it, otherwise exit&#8221;<\/em><\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p><em>We are offering free tech support by email<\/em>, <em>do not hesitate to <a href=\"http:\/\/inetholding.com\/#contact-us\" target=\"_blank\" rel=\"noreferrer noopener\">Contact Us<\/a>.<\/em><\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Event ID: 8194 Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[68],"epkb_post_type_1_tag":[],"class_list":["post-985","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-vss"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fix VSS EventID:8194 with PowerShell - IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington<\/title>\n<meta name=\"description\" content=\"Fix EventID:8194 with PowerShell Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fix VSS EventID:8194 with PowerShell - IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington\" \/>\n<meta property=\"og:description\" content=\"Fix EventID:8194 with PowerShell Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied\" \/>\n<meta property=\"og:url\" content=\"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied\" \/>\n<meta property=\"og:site_name\" content=\"IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-21T03:59:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/inetholding.com\\\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied\",\"url\":\"https:\\\/\\\/inetholding.com\\\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied\",\"name\":\"Fix VSS EventID:8194 with PowerShell - IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/inetholding.com\\\/#website\"},\"datePublished\":\"2020-08-21T03:40:34+00:00\",\"dateModified\":\"2020-08-21T03:59:50+00:00\",\"description\":\"Fix EventID:8194 with PowerShell Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/inetholding.com\\\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/inetholding.com\\\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/inetholding.com\\\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/inetholding.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/inetholding.com\\\/?post_type=epkb_post_type_1\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fix VSS EventID:8194 with PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/inetholding.com\\\/#website\",\"url\":\"https:\\\/\\\/inetholding.com\\\/\",\"name\":\"iNet Holding - Professional IT Consulting Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/inetholding.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/inetholding.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/inetholding.com\\\/#organization\",\"name\":\"iNet Holding Inc\",\"url\":\"https:\\\/\\\/inetholding.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/inetholding.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/inetholding.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/INH-Logo.png\",\"contentUrl\":\"http:\\\/\\\/inetholding.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/INH-Logo.png\",\"width\":339,\"height\":111,\"caption\":\"iNet Holding Inc\"},\"image\":{\"@id\":\"https:\\\/\\\/inetholding.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fix VSS EventID:8194 with PowerShell - IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington","description":"Fix EventID:8194 with PowerShell Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied","og_locale":"en_US","og_type":"article","og_title":"Fix VSS EventID:8194 with PowerShell - IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington","og_description":"Fix EventID:8194 with PowerShell Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied","og_url":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied","og_site_name":"IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington","article_modified_time":"2020-08-21T03:59:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied","url":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied","name":"Fix VSS EventID:8194 with PowerShell - IT Support Tech Support Computer Services Oakville Mississauga Hamilton Burlington","isPartOf":{"@id":"https:\/\/inetholding.com\/#website"},"datePublished":"2020-08-21T03:40:34+00:00","dateModified":"2020-08-21T03:59:50+00:00","description":"Fix EventID:8194 with PowerShell Message: Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied","breadcrumb":{"@id":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/inetholding.com\/?epkb_post_type_1=fix-eventid8194-with-powershell-message-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80070005-access-is-denied#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/inetholding.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/inetholding.com\/?post_type=epkb_post_type_1"},{"@type":"ListItem","position":3,"name":"Fix VSS EventID:8194 with PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/inetholding.com\/#website","url":"https:\/\/inetholding.com\/","name":"iNet Holding - Professional IT Consulting Services","description":"","publisher":{"@id":"https:\/\/inetholding.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/inetholding.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/inetholding.com\/#organization","name":"iNet Holding Inc","url":"https:\/\/inetholding.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/inetholding.com\/#\/schema\/logo\/image\/","url":"http:\/\/inetholding.com\/wp-content\/uploads\/2020\/06\/INH-Logo.png","contentUrl":"http:\/\/inetholding.com\/wp-content\/uploads\/2020\/06\/INH-Logo.png","width":339,"height":111,"caption":"iNet Holding Inc"},"image":{"@id":"https:\/\/inetholding.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/inetholding.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1\/985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inetholding.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/inetholding.com\/index.php?rest_route=\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/inetholding.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inetholding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=985"}],"version-history":[{"count":14,"href":"https:\/\/inetholding.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1\/985\/revisions"}],"predecessor-version":[{"id":1004,"href":"https:\/\/inetholding.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1\/985\/revisions\/1004"}],"wp:attachment":[{"href":"https:\/\/inetholding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=985"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/inetholding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fepkb_post_type_1_category&post=985"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/inetholding.com\/index.php?rest_route=%2Fwp%2Fv2%2Fepkb_post_type_1_tag&post=985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}