{"id":1326,"date":"2020-06-08T15:02:00","date_gmt":"2020-06-08T13:02:00","guid":{"rendered":"https:\/\/itblogwildi.wordpress.com\/?p=824"},"modified":"2020-06-08T15:02:00","modified_gmt":"2020-06-08T13:02:00","slug":"exchange-2019-deinstallation-system-componentmodel-win32exception-zugriff-verweigert","status":"publish","type":"post","link":"https:\/\/itblog.wildi.dk\/?p=1326","title":{"rendered":"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Der folgende Fehler wurde generiert, als \"$error.Clear();\n$regPath='HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall';\n$PackageGUIDRegEx = \"{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}\";\n$InstallPath = (Get-ItemProperty\n'HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup').MsiInstallPath;\nif(test-path ($regPath))\n{\nWrite-ExchangeSetupLog -info (\"Removing \" + $RoleLanguagePackType + \" Language Packs.\");\nGet-ChildItem ($regPath) | foreach{\nif($_ -match\n\"(?$PackageGUIDRegEx)\") {\n$langPackPackageCode = $matches['ProductCode'];\nif($langPackPackageCode -ne $null -and $langPackPackageCode.Length -ne 0) {\nWrite-ExchangeSetupLog -info (\"Removing package $langPackPackageCode\");\n$language =\n$langPackPackageCode.Substring(20,4);\n$logFilePath = [IO.Path]::Combine($RoleLogFilePath,\"Uninstall\") + '.' + $language + '.' + \"OwaPlus\" + \".\" + $RoleLogDateTime + \".msilog\";\nuninstall-MsiPackage -ProductCode ($langPackPackageCode) -LogFile ($logFilePath);\n};\n};\n};\nGet-Childitem -Path $InstallPath -include \"<em>.Localized.js\",\"<\/em>.Localized.min.js\" -recurse | foreach ($_) {remove-item $_.fullname};\nWrite-ExchangeSetupLog -info \"Remove Language Packs completed.\";\n};\n\" ausgef\u00fchrt wurde: \"System.UnauthorizedAccessException:\nZugriff verweigert ---&gt; System.ComponentModel.Win32Exception: Zugriff verweigert\n--- Ende der internen Ausnahmestapel\u00fcberwachung ---\nbei System.Management.Automation.Utils.NativeDirectoryExists(String path)\nbei\nSystem.Management.Automation.SessionStateInternal.IsItemContainer(CmdletProvider providerInstance, String path, CmdletProviderContext context)\".\nThe Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the :\\ExchangeSetupLogs folder.<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ich verbrachte einige Stunden mit der Problemsuche, fand aber keine L\u00f6sung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ein paar Tage sp\u00e4ter f\u00fchrten wir Wartung an diesem Server durch, installierten die aktuellsten Microsoft Updates und starteten den Server neu. Danach konnte die Deinstallation erfolgreich abgeschlossen werden:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2020\/06\/image-6-1.png?w=915\" alt=\"\" class=\"wp-image-848\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ok &#8211; erledigt \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als &#171;$error.Clear(); $regPath=&#8217;HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall&#8216;; $PackageGUIDRegEx&#8230; <a class=\"read-more\" href=\"https:\/\/itblog.wildi.dk\/?p=1326\">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,"footnotes":""},"categories":[13],"tags":[61],"class_list":["post-1326","post","type-post","status-publish","format-standard","hentry","category-exchange","tag-exchange-2019"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als &quot;$error.Clear(); $regPath=&#039;HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall&#039;; $PackageGUIDRegEx = &quot;{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}&quot;; $InstallPath = (Get-ItemProperty &#039;HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup&#039;).MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (&quot;Removing &quot; + $RoleLanguagePackType + &quot; Language Packs.&quot;); Get-ChildItem ($regPath) | foreach{ if($_ -match &quot;(?$PackageGUIDRegEx)&quot;) { $langPackPackageCode = $matches[&#039;ProductCode&#039;]; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Martin Wildi\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/itblog.wildi.dk\/?p=1326\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"IT Blog Wildi - Blog \u00fcber IT und anderes.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi\" \/>\n\t\t<meta property=\"og:description\" content=\"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als &quot;$error.Clear(); $regPath=&#039;HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall&#039;; $PackageGUIDRegEx = &quot;{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}&quot;; $InstallPath = (Get-ItemProperty &#039;HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup&#039;).MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (&quot;Removing &quot; + $RoleLanguagePackType + &quot; Language Packs.&quot;); Get-ChildItem ($regPath) | foreach{ if($_ -match &quot;(?$PackageGUIDRegEx)&quot;) { $langPackPackageCode = $matches[&#039;ProductCode&#039;]; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/itblog.wildi.dk\/?p=1326\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-08T13:02:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-08T13:02:00+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als &quot;$error.Clear(); $regPath=&#039;HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall&#039;; $PackageGUIDRegEx = &quot;{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}&quot;; $InstallPath = (Get-ItemProperty &#039;HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup&#039;).MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (&quot;Removing &quot; + $RoleLanguagePackType + &quot; Language Packs.&quot;); Get-ChildItem ($regPath) | foreach{ if($_ -match &quot;(?$PackageGUIDRegEx)&quot;) { $langPackPackageCode = $matches[&#039;ProductCode&#039;]; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#blogposting\",\"name\":\"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi\",\"headline\":\"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert\",\"author\":{\"@id\":\"##author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/itblog.wildi.dk\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/image-6-1.png?w=915\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326\\\/#articleImage\"},\"datePublished\":\"2020-06-08T15:02:00+02:00\",\"dateModified\":\"2020-06-08T15:02:00+02:00\",\"inLanguage\":\"de-CH-informal\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#webpage\"},\"articleSection\":\"Exchange, Exchange 2019\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/itblog.wildi.dk\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?cat=13#listItem\",\"name\":\"Exchange\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?cat=13#listItem\",\"position\":2,\"name\":\"Exchange\",\"item\":\"https:\\\/\\\/itblog.wildi.dk\\\/?cat=13\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#listItem\",\"name\":\"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#listItem\",\"position\":3,\"name\":\"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?cat=13#listItem\",\"name\":\"Exchange\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/#person\",\"name\":\"Martin Wildi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1c8a3ca3a2a4720206887f0ccc4f80bf521e8af2cef394783141b99318bcca4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Martin Wildi\"}},{\"@type\":\"Person\",\"@id\":\"##author\",\"url\":\"#\",\"name\":\"Martin Wildi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1c8a3ca3a2a4720206887f0ccc4f80bf521e8af2cef394783141b99318bcca4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Martin Wildi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#webpage\",\"url\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326\",\"name\":\"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi\",\"description\":\"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als \\\"$error.Clear(); $regPath='HKLM:\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Uninstall'; $PackageGUIDRegEx = \\\"{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}\\\"; $InstallPath = (Get-ItemProperty 'HKLM:\\\\SOFTWARE\\\\Microsoft\\\\ExchangeServer\\\\v15\\\\setup').MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (\\\"Removing \\\" + $RoleLanguagePackType + \\\" Language Packs.\\\"); Get-ChildItem ($regPath) | foreach{ if($_ -match \\\"(?$PackageGUIDRegEx)\\\") { $langPackPackageCode = $matches['ProductCode']; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length\",\"inLanguage\":\"de-CH-informal\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/?p=1326#breadcrumblist\"},\"author\":{\"@id\":\"##author\"},\"creator\":{\"@id\":\"##author\"},\"datePublished\":\"2020-06-08T15:02:00+02:00\",\"dateModified\":\"2020-06-08T15:02:00+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/#website\",\"url\":\"https:\\\/\\\/itblog.wildi.dk\\\/\",\"name\":\"IT Blog Wildi\",\"description\":\"Blog \\u00fcber IT und anderes.\",\"inLanguage\":\"de-CH-informal\",\"publisher\":{\"@id\":\"https:\\\/\\\/itblog.wildi.dk\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi","description":"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als \"$error.Clear(); $regPath='HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall'; $PackageGUIDRegEx = \"{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}\"; $InstallPath = (Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup').MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (\"Removing \" + $RoleLanguagePackType + \" Language Packs.\"); Get-ChildItem ($regPath) | foreach{ if($_ -match \"(?$PackageGUIDRegEx)\") { $langPackPackageCode = $matches['ProductCode']; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length","canonical_url":"https:\/\/itblog.wildi.dk\/?p=1326","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/itblog.wildi.dk\/?p=1326#blogposting","name":"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi","headline":"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert","author":{"@id":"##author"},"publisher":{"@id":"https:\/\/itblog.wildi.dk\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2020\/06\/image-6-1.png?w=915","@id":"https:\/\/itblog.wildi.dk\/?p=1326\/#articleImage"},"datePublished":"2020-06-08T15:02:00+02:00","dateModified":"2020-06-08T15:02:00+02:00","inLanguage":"de-CH-informal","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/itblog.wildi.dk\/?p=1326#webpage"},"isPartOf":{"@id":"https:\/\/itblog.wildi.dk\/?p=1326#webpage"},"articleSection":"Exchange, Exchange 2019"},{"@type":"BreadcrumbList","@id":"https:\/\/itblog.wildi.dk\/?p=1326#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk#listItem","position":1,"name":"Home","item":"https:\/\/itblog.wildi.dk","nextItem":{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk\/?cat=13#listItem","name":"Exchange"}},{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk\/?cat=13#listItem","position":2,"name":"Exchange","item":"https:\/\/itblog.wildi.dk\/?cat=13","nextItem":{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk\/?p=1326#listItem","name":"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert"},"previousItem":{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk\/?p=1326#listItem","position":3,"name":"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert","previousItem":{"@type":"ListItem","@id":"https:\/\/itblog.wildi.dk\/?cat=13#listItem","name":"Exchange"}}]},{"@type":"Person","@id":"https:\/\/itblog.wildi.dk\/#person","name":"Martin Wildi","image":{"@type":"ImageObject","@id":"https:\/\/itblog.wildi.dk\/?p=1326#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/a1c8a3ca3a2a4720206887f0ccc4f80bf521e8af2cef394783141b99318bcca4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Martin Wildi"}},{"@type":"Person","@id":"##author","url":"#","name":"Martin Wildi","image":{"@type":"ImageObject","@id":"https:\/\/itblog.wildi.dk\/?p=1326#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/a1c8a3ca3a2a4720206887f0ccc4f80bf521e8af2cef394783141b99318bcca4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Martin Wildi"}},{"@type":"WebPage","@id":"https:\/\/itblog.wildi.dk\/?p=1326#webpage","url":"https:\/\/itblog.wildi.dk\/?p=1326","name":"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi","description":"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als \"$error.Clear(); $regPath='HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall'; $PackageGUIDRegEx = \"{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}\"; $InstallPath = (Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup').MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (\"Removing \" + $RoleLanguagePackType + \" Language Packs.\"); Get-ChildItem ($regPath) | foreach{ if($_ -match \"(?$PackageGUIDRegEx)\") { $langPackPackageCode = $matches['ProductCode']; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length","inLanguage":"de-CH-informal","isPartOf":{"@id":"https:\/\/itblog.wildi.dk\/#website"},"breadcrumb":{"@id":"https:\/\/itblog.wildi.dk\/?p=1326#breadcrumblist"},"author":{"@id":"##author"},"creator":{"@id":"##author"},"datePublished":"2020-06-08T15:02:00+02:00","dateModified":"2020-06-08T15:02:00+02:00"},{"@type":"WebSite","@id":"https:\/\/itblog.wildi.dk\/#website","url":"https:\/\/itblog.wildi.dk\/","name":"IT Blog Wildi","description":"Blog \u00fcber IT und anderes.","inLanguage":"de-CH-informal","publisher":{"@id":"https:\/\/itblog.wildi.dk\/#person"}}]},"og:locale":"de_DE","og:site_name":"IT Blog Wildi - Blog \u00fcber IT und anderes.","og:type":"article","og:title":"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi","og:description":"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als &quot;$error.Clear(); $regPath='HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall'; $PackageGUIDRegEx = &quot;{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}&quot;; $InstallPath = (Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup').MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (&quot;Removing &quot; + $RoleLanguagePackType + &quot; Language Packs.&quot;); Get-ChildItem ($regPath) | foreach{ if($_ -match &quot;(?$PackageGUIDRegEx)&quot;) { $langPackPackageCode = $matches['ProductCode']; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length","og:url":"https:\/\/itblog.wildi.dk\/?p=1326","article:published_time":"2020-06-08T13:02:00+00:00","article:modified_time":"2020-06-08T13:02:00+00:00","twitter:card":"summary_large_image","twitter:title":"Exchange 2019 Deinstallation: System.ComponentModel.Win32Exception: Zugriff verweigert - IT Blog Wildi","twitter:description":"Ich musste einen Exchange 2019 deinstallieren, dabei trat folgender Fehler auf: Der folgende Fehler wurde generiert, als &quot;$error.Clear(); $regPath='HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall'; $PackageGUIDRegEx = &quot;{9BBCB5[0-9a-fA-F]{2}-AAC3-4BF5-[0-9a-fA-F]{4}-A4D51A19BF14}&quot;; $InstallPath = (Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\ExchangeServer\\v15\\setup').MsiInstallPath; if(test-path ($regPath)) { Write-ExchangeSetupLog -info (&quot;Removing &quot; + $RoleLanguagePackType + &quot; Language Packs.&quot;); Get-ChildItem ($regPath) | foreach{ if($_ -match &quot;(?$PackageGUIDRegEx)&quot;) { $langPackPackageCode = $matches['ProductCode']; if($langPackPackageCode -ne $null -and $langPackPackageCode.Length"},"aioseo_meta_data":{"post_id":"1326","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-05-16 01:54:39","updated":"2026-05-16 01:54:39"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/itblog.wildi.dk\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/itblog.wildi.dk\/?cat=13\" title=\"Exchange\">Exchange<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/itblog.wildi.dk"},{"label":"Exchange","link":"https:\/\/itblog.wildi.dk\/?cat=13"},{"label":"Exchange 2019 Deinstallation:  System.ComponentModel.Win32Exception: Zugriff verweigert","link":"https:\/\/itblog.wildi.dk\/?p=1326"}],"_links":{"self":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/1326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1326"}],"version-history":[{"count":0,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/1326\/revisions"}],"wp:attachment":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}