How many times have you went back to your Desk or home after installing a brand new Windows 2003 Server just to find that you forgot to enable Remote Desktop Connections? Jim McBee has found the registry key to remotely enable this –
HKLM\System\CCS\Control\Terminal Server\fDenyTSConnection
Just change it from 1 to 0 and reboot.
It's the Little Things in Life ... (Like Google or Regmon ;-)
5 comments:
How about doing it remotely with WMI and not requiring a reboot?
wmic /node:"Computer name (Fully Qualified)" /USER:"username" RDTOGGLE WHERE SErverName="Computer Name" CALL SetAllowTSConnections 1
Way better than registry hacking.
Cheers
Stu Fox
You do not need to reboot after changing the registry key. The change doesn't take effect instantly, but within a minute or so, Remote Desktop will be accessible.
One important bit still to do. The Windows Firewall will stop you still. You need to turn off the firewall service via the Computer Management Console. Then you can get in.
Hi,
Very useful information.saved my life today
Thanks to all
Thanx Dennis,
great tips on this issue,solving the problem of running down to host.
I too would like to share for the windows firewall problem, one need not to turn off this.Instead, do it remotely by changing the following registry setting, this would solve the problem.
HKLM\System\CCS\services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPort
In the right pane find this,
3389:TCP:*:Enabled:RemoteDesktop
Now modify 'Enabled' to 'Disabled'
to get rid off.
Reapeat the Same for -
HKLM\System\CCS\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPort
- also
Thanks to everyone
Post a Comment