Hack the Remote Desktop .RDP file
Posted by jpluimers on 2016/01/01
Glad I found out about the string to add to a .RDP file to make it connect to the administrative console whenever your remote supports that:
connect to console:i:1
–jeroen
Posted by jpluimers on 2016/01/01
Glad I found out about the string to add to a .RDP file to make it connect to the administrative console whenever your remote supports that:
connect to console:i:1
–jeroen
via: Hack the Remote Desktop .RDP file.
This entry was posted on 2016/01/01 at 06:00 and is filed under Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
jpluimers said
Interesting comments at https://plus.google.com/u/0/+JeroenPluimers/posts/JyEX51eASWM
Joe C. Hecht:
I don’t know if this is helpful, but I use this code on a remote machine (run as admin) to log out of a remote desktop and return the screen back to the way it was on login:
Win7/8/10:
for /f “usebackq skip=1 tokens=3” %%i in (
query user %USERNAME%) do %windir%\System32\tscon.exe %%i /dest:consoleWinXP:
@echo off
%windir%\System32\tscon.exe 0 /dest:console
Jeroen Wiert Pluimers:
+Joe C. Hecht Please enlighten me: what do these scripts result in? (I’ve never used tscon)
Joe C. Hecht:
+Jeroen Wiert Pluimers Certainly sir! When I RDP into another machine, then close the connection, the machine I RDP’d into goes to a log-in screen. I use the scripts on the remote machine to close the session, and return the remote machine to the desktop (sans log in screen). I suppose your mileage might vary vary. I do a lot of RDP and VNC sessions, and found the scripts very handy.
Jeroen Wiert Pluimers:
+Joe C. Hecht but then: do you still have an RDP connection? And is that connected to the “console” session? Does it require elevated permissions? If so: how to redirect the session for a user that has no elevation rights?