What I am trying to do is create some Group Policy objects that will force certain batch files to execute at logon and/or logoff.
Here is what I have done:
1. Created a security group with the users I want to run the script.
2. Created a GP Object and set it to only apply to that security group.
3. Added the batch file (which is in the Netlogon share) to the GP Object under User Configuration/Windows Settings/Scripts/Logon
4. Linked the GP Object to the domain.
5. Run GPUPDATE /FORCE
Unfortunately, it's not working. The batch file is not executing. I have used Group Policy Results to verify that my test user (me) is having the policy applied, but the batch file is not running.
What is running, is the default SBS batch file that is setup on my user profile tab. (the one that makes sure you get all your SBS client files, etc.)
What am I missing?
Here is what I have done:
1. Created a security group with the users I want to run the script.
2. Created a GP Object and set it to only apply to that security group.
3. Added the batch file (which is in the Netlogon share) to the GP Object under User Configuration/Windows Settings/Scripts/Logon
4. Linked the GP Object to the domain.
5. Run GPUPDATE /FORCE
Unfortunately, it's not working. The batch file is not executing. I have used Group Policy Results to verify that my test user (me) is having the policy applied, but the batch file is not running.
What is running, is the default SBS batch file that is setup on my user profile tab. (the one that makes sure you get all your SBS client files, etc.)
What am I missing?