![]() |
|||
| Welcome • Services • Getting Started • Support and Tools • Documentation | |||
Assigning a Logon Script to Student AccountsCreated: 03/14/2003 Version 0.0.0.3 I. Overview I. OverviewWithin CalNetAD, student accounts are maintained in the Users container in the top-level Students Organizational Unit (OU). Permissions are set to allow only domain administrators access to the Students OU. This configuration raises an issue for OU administrators. How can they assign user settings using Group Policy Objects (GPOs) to student accounts when the students log on to machines managed by the OU administrator? A specific example would be executing logon scripts whenever students log on to a machine managed by the administrator. Creating and linking a GPO to the Student OU is not an option, since OU administrators do not have rights to the OU. There are 2 nodes in a GPO, User Configuration and Computer Configuration, which apply to user and computer objects, respectively. For a GPO linked to a computer's OU, only the Computer Configuration node settings are applied during computer startup, shutdown and the policy refresh interval. For a GPO linked to a user's OU, only the User Configuration settings are applied during logon, logoff and the policy refresh interval. To override this default behavior, enable and configure the loopback processing mode. Loopback processing enables processing of the User Configuration node settings of a GPO linked to the computer OU, which is normally ignored during user logon, logoff or refresh cycle. Before proceeding, verify that you have everything that you need:
II. Enable Loopback Processing
IntroductionBy default, Authenticated Users are granted Read and Apply Group Policy rights to new GPOs so everyone gets the GPO settings. Filtering Group Policy Objects allows administrators to control who are affercted by the GPO settings. If the administrator needs to limit the effects of the GPO to a target group of users/computers, filtering should be used. There are 2 methods for filtering:
Method 1: Explicit Deny: Deny GPO permissions to groups Example: The GPO applies to all users logging to computers in the OU except for members of the OU admin group (CollegeA-OU Admins-gs).
Method 2: Grant rights to GPO: Apply GPO to members of specific group(s) Example: The GPO applies to members of specific groups logging on to the computers in the OU, not all members of Authenticated Users. This assumes that you have identified the groups to be granted Read and Apply Group Policy permission.
This completes the section on GPO and loopback processing. If you are having problems with GPO application, refer to the troubleshooting section. Use GPRESULT.EXE to track Group Policy application GPRESULT.EXE, a Windows 2000 Resource Kit utility, displays information about the user and computer domain, group memberships and enumerates the group-policy related settings applied to the user and computer. Running this utility allows tracking of GPO application. If you need more details displayed during computer startup/shutdown or user logon/logoff, go to the next tip. Showing more detail during startup, shutdown, logon and logoff To get more details on the dialog boxes displayed during startup, shutdown, logon and logoff, enable the group policy setting Verbose vs normal status messages under Administrative Templates\System of the Computer Configuration node. This enables the display additional information such as the names of GPO being applied and scripts executed, thus showing a more detailed view of events occuring during startup/shutdown/logon/logoff events. For more details, User Environment Debug Logging can be turned on as shown in the next tip. Enable "user environment debug logging" for detailed tracking
of GPO application There is a registry key that enables creation of a log file that records detailed information about Group Policy processing on a machine. This registry key is documented in the Microsoft Knowledge Base article 221833. HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon The log file will be created in %SystemRoot%\Debug\UserMode\userenv.log. Once the issues have been resolved, make sure to disable the logging and verbose messages settings. Otherwise, it can negatively impact system performance and user experience. VI. ConclusionThis document illustrates a process for assigning logon scripts to student accounts. Using a GPO linked to the computer OU, instead of the student account OU, and enabling loopback processing settings, activates processing of the user configuration settings of the computer GPO, which is normally ignored during user logon. By enabling loopback processing, any user setting available in the User Configuration node can be applied even if the GPO is linked to the computer OU. |
|||
| Contact Us |