question

Touraj-5160 avatar image
0 Votes"
Touraj-5160 asked ToddTrembath-8895 commented

Restrict the simultaneous entry of a user in Active Directory



Hello Is it possible in AD to prevent a person from logging in at the same time with a user & password? I want to prevent 1 person from logging in to 2 systems in Active Directory at the same time. I want to log out of the previous system and log in from other systems. But it can not log in at the same time


WINDOS-SERVER 2019

please guide me





windows-active-directorywindows-server-2016
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Welcome to share your current situation if there are any updates.
Please feel free to let us know if you need further assistance.
 
Best Regards,

0 Votes 0 ·
udara avatar image
0 Votes"
udara answered

Follow up the give steps in below article.
37839.active-directory-limit-concurrent-user-logins.aspx

You can get useful resources here,
Limit-concurrent-logins-in-dc13d8cb


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thameur-BOURBITA avatar image
0 Votes"
Thameur-BOURBITA answered

Hi,

There is no default option in active directory let you to avoid a user to logon on many machine in same time.
you can create a custom solution to trace the user logon and logoff by creating a shared file when a user logon. Then you create a GPO to launch a a script when user logon and another script when he logoff to update this file and check if the user is already logged when he try to logon:


45433-image.png




Please don't forget to mark this reply as answer if it help you to fix your issue


image.png (223.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FanFan-MSFT avatar image
0 Votes"
FanFan-MSFT answered ToddTrembath-8895 commented

Hi,
As @Thameur-BOURBITA and @udara mentioned , to Limit concurrent user logins, the logon script should be considered.
For deploying this step by step, refer to the link provided by udara.
Please feel free to let us know if you need further assistance.
 
Best Regards,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Looking for the Limitlogon.ps1 and the other scripts for this but can't find them here:
https://docs.microsoft.com/en-us/samples/browse/?redirectedfrom=TechNet-Gallery&languages=powershell&skip=30
Does anyone know if MS removed them and if they still work with Server 2016? Any help is appreciated.

0 Votes 0 ·