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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concurrent Connections 1

Status
Not open for further replies.

FUBAR911

MIS
Sep 30, 2002
36
GB
Is there a way to limit a user to login only once with his credentials? The only information I have found to date is to install an aplication called cconnect.exe found in the Win 2K resource kit.

I am unable to use this as we have applications on out Metaframe XP servers that don't work with MDAC 2.0. Is it possible to redirect active sessions?
 
Hi,

Give us some info about your config, what are you trying to limit? How many servers do you have, what published applications, what's the limiting factor?

Cheers,
Carl.
 
We are publishing the full desktop via Metaframe XP so what i want to achieve is to limit a user to only log in once with his cridentials. At present users give their login credentials to new users or temp users to login.

The idea is that when more than 1 user log in with the same account in AD it will either throw out an error message or redirect the session to the session already opened with that account. So any account other than domain admins can at any time only have one active session.

Thank you
 
Hi,

If you're using FR3 then you can click on the Published Application within CMC and click the once only option.

Saves you doing any clever scripting!

Cheers,
Carl.
 
Hi,

If you want to script something, try amending the server names below to yours and add the following to either your logon scripts or the usrlogon.cmd script:-

quser Server:server01| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server02| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server03| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server04| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server05| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server06| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server07| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server08| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe
quser Server:server09| find /c " %USERNAME%"
IF %ERRORLEVEL% == 1 GOTO FoundMe

GOTO End

:FoundMe

Logoff.Exe

:End


That will end a users session if another one is found.

Hope that helps,
Carl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top