Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Reg.exe And Remote Desktop

Reg.exe And Remote Desktop 12 years 5 months ago #11837

  • ping
  • ping's Avatar
  • Offline
  • Distinguished Member
  • Posts: 181
  • Karma: 0
Hello all,

Last week i was doing something and i needed to trun on remote desktop from remote location on windows server 2003.After way too much googling I finally came up with the reg.exe command. This allows you to modify the registry from the command line. It is built into server 2003 and XP, but will work on win 2000 also if you can get the program onto the server/workstation.

To turn on remote desktop, just issue this command.

reg.exe ADD "HKEY_LOCAL_Machine\System\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0x0 /f

0x1 = turns it back off

The nice thing about this is once you edit the registry key server 2003 and XP automatically turns on remote desktop, no need to mess with trying to restart Terminal Services.

Hope some people find this usefull, I know I have.

Cheers.. :D

The greatest pleasure in life is doing what people say you can not do..!!
The administrator has disabled public write access.

Reg 12 years 5 months ago #11840

  • TheBishop
  • TheBishop's Avatar
  • Offline
  • Moderator
  • Posts: 1719
  • Thank you received: 8
  • Karma: 5
Hey that's nice ping! Thanks for that
The administrator has disabled public write access.

Re: Reg.exe And Remote Desktop 12 years 5 months ago #11844

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
Excellent! I'll file that away. Obviously I presume you're using something like Sysinternal's PsExec to run the program remotely.
The administrator has disabled public write access.
Time to create page: 0.100 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup