Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RDP console session 0

Status
Not open for further replies.

slbobo

MIS
Oct 14, 2004
17
US
Is there any way to limit users to use session 0 only?
 
Take a look in the Terminal Services Configuration console and open the connections folder, there should be an RDP-Tcp icon in there right click this and select properties then select the Network Adapter tab. You should be able to set max connections in there i think if this is set to 1 then only session 0 will be used.

Give it a try on a test box as i haven't uses this setting on 2k3 only on 2k.
 
If your aim is to log in directly to the console session, just change the shortcut or run this from a command line:
Code:
mstsc /console
 
I have found that by limiting the number of connections under the Network Adapter tab to 1 and then from under the Environment tab set "Do not allow an initial program to be launched. Always show desktop." I believe that if anyone attempts to log in through mstsc /console or mstsc, they should receive the desktop of the console when they remote in.
 
I tested and found out that that suggestion didn't work either.
 
it's

MSTSC -C
or
MSTSC -CONSOLE

Merry non denominational winter festival!!!

 
I get the feeling that we're all missing the actual point. I think he want's to force all connections (whether connecting with the /console switch or not) to use the console session. If you've ever used Remote Desktop to get into a Windows XP box, you'll know what I mean.

What I can't figure out is why you'd want to do this on a server. You can't have multiple console sessions at the same time and you can't have more than one user in the same session (unless you count shadowing). You just wind up kicking off the current user.
 
No thats why i suggested setting the number of connections to 1, i thought that might make it use the console but i'm not sure. It's not something i've ever thought to try.
 
My reason for wanting this to be limited to only one session (the console session) is that the application running on this server is Notes Domino. The Notes administrator wants to know when/if someone remotes into this server because Notes applications running on this box may not function properly if someone remotes into the server with some session other than console. The Notes administrator also wishes for certain personnel to alert him as to when they need to view the desktop on the server.
 
Ppettit - you mentioned RDC'ing into an XP box. For a moment it sounded like you knew a way to do this without kicking the current user off, or to share the session rather than take it over. I'd be pleased to hear if there was such a thing.

_________________________________
Leozack
Code:
MakeUniverse($infinity,1,42);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top