I am trying to have a logon script run when a user logs in to set the DHCP class id. The class will either enabled to disable internet access for the user. I have so far done the following:
1. I created a class called “InternetEnabled” which holds the appropriate DNS and router information.
2. I created a security group called “InternetUsers” and added the appropriate usernames.
3. I created a group policy called “EnableInternet” and linked it to the domain.
4. I filtered security by adding access to the group policy to the “InternetUsers” group and selecting “apply group policy”.
5. I set the logon script under User Configuration>Windows Settings>Scripts(logon/logoff)>Logon to the batch file I created and tested (works fine).
This should be all I need to do right? the script does not run at all.