• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 453
  • Last Modified:

Can we run a specific login script based on Active Directory site?

We have 2 locations and employees frequently travel back and forth between them.  Is it possible to have users run a separate login script based on the location they are currently located based on active directory sites & services?
0
gtelnet
Asked:
gtelnet
1 Solution
 
Mike KlineCommented:
What you can do is create your login scripts and link them at the site level.  Group polices can be linked at the site, domain, and OU level.

Thanks

Mike
0
 
Mike KlineCommented:
Just a quick follow up in GPMC under sites right click and select show sites then you can add your sites and from there you can link a GPO with your script to the site.

Thanks

Mike
0
 
wantabe2Commented:
Absolutely! Just apply the script to login GPO on the different OUs
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
merowingerCommented:
Another possibility is to use wmi filter linked on the policies which queries the ip subnets
0
 
gtelnetAuthor Commented:
@mkline71 Won't that only apply the login script for the OU that the user's account resides in?
0
 
Mike KlineCommented:
It will apply to that active directory site because you are linking it at the site level not the OU level.

Thanks

Mike
0
 
gtelnetAuthor Commented:
Oh... I see what your saying now... I had missed your second comment so I wasn't seeing the sites...

Thanks, I think I can figure it out from here!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now