{"id":87,"date":"2013-11-15T11:06:14","date_gmt":"2013-11-15T16:06:14","guid":{"rendered":"http:\/\/passionwind.com\/techref\/?p=87"},"modified":"2013-11-15T11:06:14","modified_gmt":"2013-11-15T16:06:14","slug":"remotely-enable-remote-desktop","status":"publish","type":"post","link":"http:\/\/techref.camellarry.com\/?p=87","title":{"rendered":"Remotely Enable Remote Desktop"},"content":{"rendered":"<p>Remote Desktop (aka Terminal Service) is disabled by default in Windows 7. \u00a0If you have administrator access to the computers on your domain, you can remotely enable it by doing the following:<\/p>\n<h3>Step 1: Open ports in the Windows firewall<\/h3>\n<p>There is no native way to change the settings of a remote Windows firewall. However, you can use\u00a0<a href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb897553\">PsExec from SysInternals<\/a>\u00a0to disable it or change some rules.<\/p>\n<p>If you download the app and drop it into your c:\\ drive, you can run this command and get command line access for that remote box.<\/p>\n<blockquote><p><em>c:\\psexec \\\\remote_machine_name cmd<\/em><\/p><\/blockquote>\n<p>Once you have that command line open, you can run this command to disable the firewall:<\/p>\n<blockquote><p><em>netsh advfirewall set currentprofile state off<\/em><\/p><\/blockquote>\n<p>Alternatively you can run this command to allow\u00a0<em>only<\/em>\u00a0Remote Desktop while still leaving the rest of the firewall as is:<\/p>\n<blockquote><p><em>netsh advfirewall firewall set rule group=\u201dremote desktop\u201d new enable=Yes<\/em><\/p><\/blockquote>\n<h3>Step 2:\u00a0Start the Remote Registry service<\/h3>\n<p>Load up the Services MMC (<em>Control Panel &gt; Administrative Tools &gt; Services<\/em>), right click on \u201cServices (Local)\u201d and choose \u201cConnect to another computer\u201d. Enter the name of your remote machine and connect to it. You should now be able to find the \u201cRemote Registry\u201d service and start it.<\/p>\n<p>Depending on your environment, this may already be running, but I have found it generally isn\u2019t on fresh computers.<\/p>\n<h3>Step 3: Change a registry setting to enable Remote Desktop<\/h3>\n<p>It\u2019s time to make use of the Remote Registry and actually enable RDP. Load up\u00a0<em>regedit<\/em>\u00a0and go to<em>File &gt; Connect Network Registry<\/em>. Enter the name of your remote computer and connect to it. Navigate to\u00a0<em>HKEY_LOCAL_MACHINE &gt; System &gt; CurrentControlSet &gt; Control &gt; Terminal Server<\/em>. Change the value of \u201cfDenyTSConnections\u201d to \u201c0\u2033.<\/p>\n<h3>Step 4:\u00a0Start the Remote Desktop service<\/h3>\n<p>Go back to the Services MMC you used in Step 2. Find the service \u201cRemote Desktop Services\u201d and start it (or restart if it is already running).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remote Desktop (aka Terminal Service) is disabled by default in Windows 7. \u00a0If you have administrator access to the computers on your domain, you can remotely enable it by doing the following: Step 1: Open ports in the Windows firewall There is no native way to change the settings of a remote Windows firewall. However, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10],"tags":[31,45,61,62,65,73,80],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-windows","tag-firewall","tag-microsoft","tag-registry","tag-remote","tag-service","tag-terminal","tag-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9t3oE-1p","_links":{"self":[{"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":1,"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":88,"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions\/88"}],"wp:attachment":[{"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/techref.camellarry.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}