Geeks With Blogs
Brent Caskey Active Directory, Hyper-V, Clustering, and Exchange Blog


Just a quick one here.


Sometimes I setup a server and I get everything configured but, forget to enable RDP. So – of course I could login locally to the server and make the change. BUT – I would have to go a different site (or sometimes a different room – Its not that I am lazy… I’d like to think that I am working smarter, not harder Smile ).


The quickest way to resolve this issue is to change the registry key that enables Remote Desktop directly. I usually have remote registry access to the system because I am an administrator on the system.

  1. Open up Regedit
  2. Connect Network Registry
  3. Select the computer you want to change the setting on (other server will need to be in the domain)
  4. On the network computer, browse to HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
  5. Change the fDenyTSConnections to 0

You might need to reboot the computer – I am usually able to get this to work without rebooting.

To remotely reboot a computer type the following

Shutdown –m \\<servername> -r

Posted on Thursday, June 2, 2011 10:14 PM Windows | Back to top

Comments on this post: Remotely enable RDP

# re: Remotely enable RDP
Requesting Gravatar...
Also you may open command line and write:

#For Windows 8 or older versions like 7/XP
wmic /node:»HOSTNAME» /user:»DOMAIN\USER» path win32_terminalservicesetting where (__Class!=»») call setallowtsconnections 1

#For Windows Server 2008 or older versions like 2003
wmic /node:»HOSTNAME» /user:»DOMAIN\USER» rdtoggle where ServerName=»HOSTNAME» call setallowtsconnections 1

Anyway thank you for great tips as I tried to launch (writing service reviewer ) form my friend and didn't know how to help her remotely.
Left by JB on Sep 08, 2015 12:17 PM

Your comment:
 (will show your gravatar)

Copyright © Brent Caskey | Powered by: