{"id":9745,"date":"2024-06-02T22:44:26","date_gmt":"2024-06-02T20:44:26","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=9745"},"modified":"2024-06-03T10:17:36","modified_gmt":"2024-06-03T08:17:36","slug":"windows-remote-desktop-gateway-resouce-authorization-policy-store-is-corrupt","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-remote-desktop-gateway-resouce-authorization-policy-store-is-corrupt\/","title":{"rendered":"Windows Remote Desktop Gateway: Resouce authorization policy store is corrupt"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_9745 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_9745')){$('.twoclick_social_bookmarks_post_9745').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%20Remote%20Desktop%20Gateway%3A%20Resouce%20authorization%20policy%20store%20is%20corrupt\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Awhen%20you%20try%20to%20open%20the%20Remote%20Desktop%20Gateway%20Management%20Console%20and%20you%20get%20the%20following%20error%3A%0D%0A%0D%0AThe%20Remote%20Desktop%20resouce%20authorization%20policies%20%28RD%20RAPs%29%20cannot%20not%20be%20read.%20This%20problem%20might%20be%20due%20to%20a%20corrupted%20store%20for%20the%20RD%20RAP.%0D%0A%0D%0AThe%20Microsoft-Windows-TerminalServices-Gateway%2FOperational%20log%20contains%20errors%20with%20EventID%20642%3A%0D%0AThe%20RD%20Gateway%20server%20cannot%20open%20the%20reso%20...\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-remote-desktop-gateway-resouce-authorization-policy-store-is-corrupt\\\/\",\"post_id\":9745,\"post_title_referrer_track\":\"Windows+Remote+Desktop+Gateway%3A+Resouce+authorization+policy+store+is+corrupt\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>when you try to open the Remote Desktop Gateway Management Console and you get the following error:<\/p>\n<p><strong>The Remote Desktop resouce authorization policies (RD RAPs) cannot not be read. This problem might be due to a corrupted store for the RD RAP.<\/strong><\/p>\n<p>The Microsoft-Windows-TerminalServices-Gateway\/Operational log contains errors with EventID 642:<br \/>\n<strong>The RD Gateway server cannot open the resource authorization policy store on Authorization Manager (Azman). The following error occurred: &#8220;11&#8221;.<\/strong><\/p>\n<p><!--more--><\/p>\n<p>Then your Resource Policy store is corrupt. The Store is a XML (rap.xml) file located in C:\\Windows\\System32\\tsgateway.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; dir C:\\Windows\\System32\\tsgateway\r\n  Directory of C:\\Windows\\System32\\tsgateway\r\n\r\n01.06.2024  18:17    &lt;DIR&gt;          .\r\n03.06.2024  08:08    &lt;DIR&gt;          ..\r\n01.06.2024  18:17                 0 rap.xml\r\n               1 File(s)              0 bytes\r\n<\/pre>\n<p>If the file is 0 Byte then it is corrupt. <\/p>\n<p>The only is to delete the file and recreate it.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; net stop TSGateway\r\nD:\\&gt; del C:\\Windows\\System32\\tsgateway\\rap.xml\r\nD:\\&gt; net start TSGateway\r\n\r\n<\/pre>\n<p>Recreate your RAP Policy.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, when you try to open the Remote Desktop Gateway Management Console and you get the following error: The Remote Desktop resouce authorization policies (RD RAPs) cannot not be read. This problem might be due to a corrupted store for the RD RAP. The Microsoft-Windows-TerminalServices-Gateway\/Operational log contains errors with EventID 642: The RD Gateway server &hellip; <a href=\"https:\/\/michlstechblog.info\/blog\/windows-remote-desktop-gateway-resouce-authorization-policy-store-is-corrupt\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows Remote Desktop Gateway: Resouce authorization policy store is corrupt<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[89,2045,20],"class_list":["post-9745","post","type-post","status-publish","format-standard","hentry","category-windows","category-windowsknowhow","tag-error","tag-remote-desktop-gateway","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=9745"}],"version-history":[{"count":3,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9745\/revisions"}],"predecessor-version":[{"id":9748,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9745\/revisions\/9748"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=9745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=9745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=9745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}