Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Reg.exe And Remote Desktop

Reg.exe And Remote Desktop 13 years 1 month ago #11837

  • ping
  • ping's Avatar Topic Author
  • Offline
  • Distinguished Member
  • Distinguished Member
  • Posts: 181
  • Thank you received: 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..!!

Reg 13 years 1 month ago #11840

Hey that's nice ping! Thanks for that

Re: Reg.exe And Remote Desktop 13 years 1 month ago #11844

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Honored Member
  • Posts: 1302
  • Karma: 1
  • Thank you received: 0
Excellent! I'll file that away. Obviously I presume you're using something like Sysinternal's PsExec to run the program remotely.
  • Page:
  • 1
Time to create page: 0.150 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