We help IT Professionals succeed at work.

Limit User Logon

Medium Priority
328 Views
Last Modified: 2012-06-21
We are currently paying for a piece of software called "User Lock", this allows us to prevent users from logging on at more than one machine at a time - "sharing accounts"

They are not allowed to share accounts but as this is a school, pupils will try it on.

Is there a way to do it in Active Directory / Group Policy?

We are running Windows Server 2008 (R2) with Windows 7 Clients.
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Lionel MMSmall Business IT Consultant
CERTIFIED EXPERT

Commented:
Do you want certain users to logon onto specific PCs and only that PC? IF that is the case you can control that quite easily so let me know!
Lionel MMSmall Business IT Consultant
CERTIFIED EXPERT

Commented:
Otherwise you can use this logon script to control access to one PC at a time
@echo on
Title Logon Check File

    :: variables
    set drive=\\ServerName\ShareName

for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do Set dt=%%i
If Exist "%drive%\%dt%.%UserName%Logon.tst" GoTo Stop

:Create Logon File
Set >"%drive%\%dt%.%UserName%Logon.tst"
GoTo End

:Stop
We will have to put something here, depending on what you want done to notify or stop the logon

:End
Exit

If this will work for you I can clean it up and add a parameter on what do do if that user is already logged on.
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.