{"id":398,"date":"2022-10-19T01:19:00","date_gmt":"2022-10-19T01:19:00","guid":{"rendered":"https:\/\/3735943886.com\/?p=398"},"modified":"2022-10-19T01:25:32","modified_gmt":"2022-10-19T01:25:32","slug":"windows-defender-credential-guard-prevents-from-using-saved-credentials","status":"publish","type":"post","link":"https:\/\/3735943886.com\/?p=398","title":{"rendered":"Windows Defender Credential Guard Prevents RDP from Using Saved Credentials"},"content":{"rendered":"<p>After recent windows update, <b>Windows Defender Credential Guard<\/b> blocks <b>Saved Credentials<\/b> when connecting to remote desktop.<\/p>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"456\" height=\"406\" src=\"https:\/\/3735943886.com\/wp-content\/uploads\/2022\/10\/RDPCRED.png\" alt=\"\" class=\"wp-image-399\" srcset=\"https:\/\/3735943886.com\/wp-content\/uploads\/2022\/10\/RDPCRED.png 456w, https:\/\/3735943886.com\/wp-content\/uploads\/2022\/10\/RDPCRED-300x267.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><figcaption><em>CredentialUIBroker<\/em><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"456\" height=\"406\" src=\"https:\/\/3735943886.com\/wp-content\/uploads\/2022\/10\/RDPCRED_INFO.png\" alt=\"\" class=\"wp-image-400\" srcset=\"https:\/\/3735943886.com\/wp-content\/uploads\/2022\/10\/RDPCRED_INFO.png 456w, https:\/\/3735943886.com\/wp-content\/uploads\/2022\/10\/RDPCRED_INFO-300x267.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><figcaption><em>AutomationId and ClassName of Fields<\/em><\/figcaption><\/figure>\n<\/div>\n\n<p>I modified my <a href=\"https:\/\/3735943886.com\/?p=385\">previous codes<\/a>, and it now works for both types of RDP credential window.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/3735943886\/1bc5c49e28400d1d5a320d3d8cecb7d0.js\"><\/script><\/p>\n<p><b>CredentialAutoInput<\/b> class can be used as following simple codes.<\/p>\n\n\n<pre class=\"wp-block-code\"><code>namespace UI\n{\n    internal class Uimain\n    {\n        static void Main(string&#91;] args)\n        {\n            var u = new CredentialAutoInput();\n            switch(u.GetId())\n            {\n                case \"myid1\":\n                    u.Connect(\"myid1\", \"mypass1\");\n                    break;\n\n                case \"myid2\":\n                    u.Connect(\"myid2\", \"mypass2\");\n                    break;\n            }\n        }\n    }\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>After recent windows update, Windows Defender Credential Guard blocks Saved Credentials when connecting to remote desktop. I modified my previous codes, and it now works for both types of RDP credential window. CredentialAutoInput class can be used as following simple codes.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54,40,10],"tags":[],"class_list":["post-398","post","type-post","status-publish","format-standard","hentry","category-development","category-os","category-security"],"_links":{"self":[{"href":"https:\/\/3735943886.com\/index.php?rest_route=\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3735943886.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3735943886.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3735943886.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/3735943886.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=398"}],"version-history":[{"count":11,"href":"https:\/\/3735943886.com\/index.php?rest_route=\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/3735943886.com\/index.php?rest_route=\/wp\/v2\/posts\/398\/revisions\/411"}],"wp:attachment":[{"href":"https:\/\/3735943886.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3735943886.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3735943886.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}