Hi,
I have set up a logonscript to run for users in a particular organisational unit. My OU structure is like this:
Domain
|-> Public
|->->Sales
|->->Marketing
(for example, ou=Sales, ou=Public, dc=.....)
I have users in Public, as well as users in Sales, Marketing etc. When a user in Public logs in to the domain from a workstation, the login script executes once. However when a user in Sales, for example, logs in in the same way, the script executes twice. The group policy for public is inherited to sales. All users are part of this group.
I have tried the following:
1) Block policy inheritance. Result: the public user gets the login script executing 1 time, the sales user does not get to run in at all.
Is there some way I can set the login script to execute just once per GPO application. I realise that I can set a logon script to each user, but I wonder if I can do it on a group policy level.
Thanks in advance,
Jonathan Daniels
I have set up a logonscript to run for users in a particular organisational unit. My OU structure is like this:
Domain
|-> Public
|->->Sales
|->->Marketing
(for example, ou=Sales, ou=Public, dc=.....)
I have users in Public, as well as users in Sales, Marketing etc. When a user in Public logs in to the domain from a workstation, the login script executes once. However when a user in Sales, for example, logs in in the same way, the script executes twice. The group policy for public is inherited to sales. All users are part of this group.
I have tried the following:
1) Block policy inheritance. Result: the public user gets the login script executing 1 time, the sales user does not get to run in at all.
Is there some way I can set the login script to execute just once per GPO application. I realise that I can set a logon script to each user, but I wonder if I can do it on a group policy level.
Thanks in advance,
Jonathan Daniels