Sunday, December 21, 2014

Enable Remote Desktop login from command line

Have you ever forget to turn on remote desktop on a Window machine and then you cannot remotely do your admin or development work? I am sure there must be a time you wish there is a ssh login shell for your windows machine. As all hackers do, I believe just give me a shell, and I can move the earth. So I spend some time to research the way to turn on remote desktop from and windows command line shell. Here is the post:

http://www.windows-commandline.com/enable-remote-desktop-command-line/

Here is the command:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

No comments:

Post a Comment