{"id":1984,"date":"2019-02-16T14:36:30","date_gmt":"2019-02-16T14:36:30","guid":{"rendered":"https:\/\/andyparkes.co.uk\/blog\/?p=1984"},"modified":"2019-02-16T14:37:54","modified_gmt":"2019-02-16T14:37:54","slug":"error-0x80073701-when-adding-or-removing-server-roles","status":"publish","type":"post","link":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/","title":{"rendered":"Error 0x80073701 When Adding Or Removing Server Roles"},"content":{"rendered":"<p>Last week I was removing a really old Window Server 2008 domain controller. As part of that process I needed to remove the Active Directory Certificate Services role. <\/p>\n<p>It took an absolute age and looked like nothing was happening for a while. <\/p>\n<p>Eventually I got an error code <strong>\u201c0x80073701. The referenced assembly could not be found\u201d<\/strong><\/p>\n<p>After a very quick google I found some details about it being a problem with adding and removing services itself as opposed to it specifically being an AD Certificates Services issue.<\/p>\n<p>So I thought I&#8217;d test that by adding another role (print server)<\/p>\n<p>Yep, same issue<\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2019\/02\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"177\" title=\"image\" style=\"display: inline; background-image: none;\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2019\/02\/image_thumb.png\" border=\"0\"><\/a><\/p>\n<p>So I had a quick look through the event log and saw tons of events related to making a change to the status of installed updates (didn\u2019t screenshot them or note exactly what the message was unfortunately!)<\/p>\n<p>Next step was to take a look at the CBS logs<\/p>\n<p>%windir%\\Logs\\CBS\\<\/p>\n<p>CBS.log and CBS.persist.log<\/p>\n<p>In there was the error \u201cERROR_SXS_ASSEMBLY_MISSING\u201d as well a specific update. <\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2019\/02\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"112\" title=\"image\" style=\"display: inline; background-image: none;\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-1.png\" border=\"0\"><\/a><\/p>\n<p>So I uninstalled it and rebooted.<\/p>\n<p>I probably could have re-installed the update but as the whole point in this case was to decommission the server I didn\u2019t see much point. <\/p>\n<p>After the server came back up I tried to add the print server role again and got exactly the same error. I checked the CBS logs again and found the same missing assembly error but with a different update. So I removed that one, rebooted again and I was then able to add the print server role without issue. <\/p>\n<p>With that sorted I then tried to remove the certificate services role and this time around it was successful. <\/p>\n<p>The short version, for when I come back here as it\u2019s happened again<\/p>\n<ul>\n<li><em>Check the CBS logs for ERROR_SXS_ASSEMBLY_MISSING<\/em><\/li>\n<li><em>Remove or reinstall the update mentioned and reboot<\/em><\/li>\n<li><em>Attempt the role change again, repeat until it works!<\/em>&nbsp;&nbsp;&nbsp; <\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Last week I was removing a really old Window Server 2008 domain controller. As part of that process I needed to remove the Active Directory Certificate Services role. It took an absolute age and looked like nothing was happening for a while. Eventually I got an error code \u201c0x80073701. The referenced assembly could not be<\/p>\n<p><a class=\"readmore\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/\"><span class=\"arrow-right icon\"><\/span>Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[57],"tags":[],"class_list":["post-1984","post","type-post","status-publish","format-standard","hentry","category-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Error 0x80073701 When Adding Or Removing Server Roles - Andy&#039;s Techie Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error 0x80073701 When Adding Or Removing Server Roles - Andy&#039;s Techie Blog\" \/>\n<meta property=\"og:description\" content=\"Last week I was removing a really old Window Server 2008 domain controller. As part of that process I needed to remove the Active Directory Certificate Services role. It took an absolute age and looked like nothing was happening for a while. Eventually I got an error code \u201c0x80073701. The referenced assembly could not beRead More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/\" \/>\n<meta property=\"og:site_name\" content=\"Andy&#039;s Techie Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-16T14:36:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-16T14:37:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2019\/02\/image_thumb.png\" \/>\n<meta name=\"author\" content=\"Andy Parkes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy Parkes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/\",\"name\":\"Error 0x80073701 When Adding Or Removing Server Roles - Andy&#039;s Techie Blog\",\"isPartOf\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\"},\"datePublished\":\"2019-02-16T14:36:30+00:00\",\"dateModified\":\"2019-02-16T14:37:54+00:00\",\"author\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\"},\"breadcrumb\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/andyparkes.co.uk\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error 0x80073701 When Adding Or Removing Server Roles\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/\",\"name\":\"Andy&#039;s Techie Blog\",\"description\":\"Professional Geek\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\",\"name\":\"Andy Parkes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"caption\":\"Andy Parkes\"},\"description\":\"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.\",\"sameAs\":[\"http:\/\/www.andyparkes.co.uk\/blog\"],\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error 0x80073701 When Adding Or Removing Server Roles - Andy&#039;s Techie Blog","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:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/","og_locale":"en_US","og_type":"article","og_title":"Error 0x80073701 When Adding Or Removing Server Roles - Andy&#039;s Techie Blog","og_description":"Last week I was removing a really old Window Server 2008 domain controller. As part of that process I needed to remove the Active Directory Certificate Services role. It took an absolute age and looked like nothing was happening for a while. Eventually I got an error code \u201c0x80073701. The referenced assembly could not beRead More","og_url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/","og_site_name":"Andy&#039;s Techie Blog","article_published_time":"2019-02-16T14:36:30+00:00","article_modified_time":"2019-02-16T14:37:54+00:00","og_image":[{"url":"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2019\/02\/image_thumb.png"}],"author":"Andy Parkes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Parkes","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/","url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/","name":"Error 0x80073701 When Adding Or Removing Server Roles - Andy&#039;s Techie Blog","isPartOf":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#website"},"datePublished":"2019-02-16T14:36:30+00:00","dateModified":"2019-02-16T14:37:54+00:00","author":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d"},"breadcrumb":{"@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2019\/02\/16\/error-0x80073701-when-adding-or-removing-server-roles\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/andyparkes.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"Error 0x80073701 When Adding Or Removing Server Roles"}]},{"@type":"WebSite","@id":"https:\/\/andyparkes.co.uk\/blog\/#website","url":"https:\/\/andyparkes.co.uk\/blog\/","name":"Andy&#039;s Techie Blog","description":"Professional Geek","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d","name":"Andy Parkes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","caption":"Andy Parkes"},"description":"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.","sameAs":["http:\/\/www.andyparkes.co.uk\/blog"],"url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pmvJ6-w0","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1984"}],"version-history":[{"count":2,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1984\/revisions"}],"predecessor-version":[{"id":1991,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1984\/revisions\/1991"}],"wp:attachment":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}