Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a Windows Server machine (such as Windows Server 2008), there can be a console session and many more RDP sessions. But sometimes the console session get detached from the server. From a service running on the same server machine I want to reattach the console session if it's detached.

I searched for days but no luck yet. Please help me on how to do it. I have tested this scenario with 'LogMeIn free' and it successfully reattach the console.

share|improve this question

migrated from Nov 16 '11 at 10:08

This question came from our site for professional and enthusiast programmers.

Create a shortcut, and use the target as below:

%systemroot%\system32\mstsc.exe /admin /v:SERVER_ADDRESS

use /admin parameter will always allow you to connect to console

share|improve this answer
Hi Gekowa, I tried your option. It shows the console desktop, but it doesn't reattach or activate the console session. It's been shown as another RDP session in the task manager->users. What I want is to reattach/activate the console session. – SonaliM Aug 16 '11 at 5:37
as far as i tried, this RDP connection will show the console desktop. I used to find some other services such as TeamViewer, VNC, or LogMeIn, and I finally use this method. – gekowa Aug 16 '11 at 5:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.