We help IT Professionals succeed at work.

Controling user Login

Hi...
   I have a generic user(X) account that can login on to the server from anyone of 25 different computers or from all 25 at once to the sever. I need to control how many times at one time the user(X) login to the server can happen.
I need a  message to say that user(X) is already login.  Please try later. or something to that effect.

thanks Twirp
Comment
Watch Question

End-user support
Commented:
I don't think there is a built-in feature to prevent or limit concurrent logins.

In server 2003, Resource Kit, there is an add-on LimitLogin. But, LimitLogin is not compatible with Windows Server 2008 and Windows Server 2008 R2.

There is a 3rd party tool, UserLock that, I think, does what you want to "...limit concurrent or multiple logins...": http://www.isdecisions.com/products/userlock/

More on UserLock and LimitLogin:
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/9d6d0da3-6bd5-4155-8921-6afd16b36b70/restrict-simultaneous-logons-for-same-user?forum=ITCG

http://www.networksteve.com/forum/topic.php/Limit_concurrent_logins_on_a_WS_2008_environment/?TopicId=20500&Posts=5

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_28051396.html#a38949290
NVITEnd-user support

Commented:
Do you want to limit just ONE USER (or is it MULTIPLE USERS) to a CERTAIN LOGON COUNT, regardless of what station he logged on from?

Author

Commented:
I set up two dummy users.... We have a software that we have two Licenses. The software has no controls on the number of users and if we login more than two users at anytime then its a $900.oo pop. I'm trying to limit to the two dummy users so they can only login once and not multiple time.  We have 33 people that use this software and they all want to work from their own workstations.  I have limited the use of the software to only two workstations for now and only to two dummy users.

History - the Software was sold to a new company and they move the licenses from the server base to cloud base system and have taken out the security control that always pop up a message on how many unused Licenses were open. So now I have to find a way to recreate the security control.
NVITEnd-user support
Commented:
One potential workaround is to...
- Install on all stations.
- Place the call to start the program in a batch file. In the batch file, create and check for flags that allow or deny the program from starting.

Example:
- Install on Stn1 to Stn33
- Stn1 starts the program
- Flag1 is set
- Stn2 starts the program
- Flag2 is set
- Stn3 starts the program
- Flag1 and Flag2  is already set.
- Stn3 user is told that Stn1 and Stn2 is using it. and the program exits.

Author

Commented:
thanks.. I will try it.... when I get back Monday... and let you know what happens...
NVITEnd-user support

Commented:
For now, to confirm that it works, don't install on all stations. Just make the batch file. Then test on the 2 existing stations. Doing this prevents unnecessary installs on the other stations. Just in case it doesn't work or to your satisfaction.

Author

Commented:
They were all good Solutions. Went with the 3rd party software...
Thanks
Twirp
NVITEnd-user support

Commented:
Thanks, Twirp. Glad you found a solution. Have a good one.