{"id":552,"date":"2014-08-13T18:46:32","date_gmt":"2014-08-13T16:46:32","guid":{"rendered":"https:\/\/www.em-soft.si\/myblog\/elvis\/?p=552"},"modified":"2014-08-13T18:46:32","modified_gmt":"2014-08-13T16:46:32","slug":"remote-enable-rds-not-thru-remote-registry","status":"publish","type":"post","link":"https:\/\/em-soft.si\/myblog\/elvis\/?p=552","title":{"rendered":"Remote enable RDS (not thru remote registry)"},"content":{"rendered":"<p><span style=\"font-family: times new roman,times; font-size: 12pt;\">If you want to open the remote desktop connectivity on a remote computer, you have few options. There is one that is very easy to find on posts &#8211; change the registry key: <em>hklm\\system\\currentcontrolset\\control\\terminal<\/em> server, key <em>fDenyTSConnections<\/em> to value <em>0<\/em>. The second option is to propagate the same registry key with group policy (maybe this is the best choice).<\/span><br \/>\n<span style=\"font-family: times new roman,times; font-size: 12pt;\">However, what to do if you need to connect to the remote computer in this moment and there is no possibility to connect to the remote registry (remote registry service is disabled)? You can use a simple trick to execute commands on remote computer. The easiest way is psexec (you can download it <a title=\"PsExec\" href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb897553.aspx\" target=\"_blank\">here<\/a>) and execute two commands:<\/span><\/p>\n<ul>\n<li><em><span style=\"font-family: times new roman,times; font-size: 12pt;\">psexec \\\\remotemachine reg add &#8220;hklm\\system\\currentcontrolset\\control\\terminal server&#8221; \/f \/v fDenyTSConnections \/t REG_DWORD \/d 0<\/span><\/em><\/li>\n<li><em><span style=\"font-family: times new roman,times; font-size: 12pt;\">psexec \\\\remotemachine netsh advfirewall firewall set rule group=&#8221;remote desktop&#8221; new enable=yes<\/span><\/em><\/li>\n<\/ul>\n<p><span style=\"font-family: times new roman,times; font-size: 12pt;\">This will enable the Firewall rule and change a registry key also in a situation where all other trying would fail. Be careful with firewall profiles. If you want to open RDP only for domain or private profile, you have to modify the command line properly.<\/span><a style=\"text-decoration:none\" href=\"\/index.php?s=where-can-i-buy-genuine-strattera\">.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to open the remote desktop connectivity on a remote computer, you have few options. There is one that is very easy to find on posts &#8211; change the registry key: hklm\\system\\currentcontrolset\\control\\terminal server, key fDenyTSConnections to value 0. The second option is to propagate the same registry key with group policy (maybe this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,15],"tags":[39,28,40],"class_list":["post-552","post","type-post","status-publish","format-standard","hentry","category-windows","category-windows-server","tag-windows","tag-windows-8","tag-windows-server"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=552"}],"version-history":[{"count":1,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/552\/revisions"}],"predecessor-version":[{"id":553,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/552\/revisions\/553"}],"wp:attachment":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}