Krystalware
Products | Purchase | Free Stuff | Forums | Blog | Testimonials | Company | Contact

I've often wanted to force a single rdp/ts session per user, or sometimes just the opposite -- make each login open a new session regardless of user. While I was doing research about multiple remote desktop sessions on Vista, I finally tracked down the setting that controls the single remote desktop/terminal services session behavior. Here is the registry key:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fSingleSessionPerUser

This is a DWORD setting. The possible values are as follows:

0x0
Allow multiple sessions per user
0x1
Force each user to a single session

You can also access this setting from the Terminal Services configuration snapin -- it's the Restrict each user to one session setting.

posted on Monday, April 16, 2007 9:24 AM | Filed Under [ General ]

Comments

Gravatar
# re: Force a single Remote Desktop/Terminal Services session per user
Posted by prince
on 10/31/2007 2:40 AM
Hi,

I am trying to connect a remote-desktop using c#.I am able to connect the remote desktop,but the problem is the target machine logs-off.That,i want to avoid...I need code to avoid log-off in remote-desktop using c#.Please help me....

My mail-id:-princetech1@gmail.com
Gravatar
# re: Force a single Remote Desktop/Terminal Services session per user
Posted by kareemramadan
on 7/6/2008 11:52 AM
thanks
Title  
Name
Email (never displayed)
Url
Comments   
Please add 2 and 3 and type the answer here: