Group Policy, Profiles, and IntelliMirror for Windows2003, WindowsXP, and Windows 2000 (Mark Minasi Windows Administrator Library)

Using Group Policy to Affect Group Policy

At times, you might want to change the behavior of Group Policy. Amazingly, you actually use Group Policy settings to change the behavior of Group Policy! Several Group Policy settings appear under both the User and Computer nodes; however, you must set the policy settings in each section independently.

Affecting the User Settings of Group Policy

The Group Policy settings that affect the User node appear under User Configuration ˜ Administrative Templates ˜ System ˜ Group Policy. Remember that user accounts must be subject to the site, domain, or OU where these GPOs are linked in order to be affected. Most of these policy settings are valid for Windows 2000, Windows XP machines, and Windows 2003 servers, although some are explicitly designed and will operate only on Windows XP Professional and Windows 2003 servers.

Here's a list of the policy settings that affect the user side of Group Policy:

Group Policy Refresh Interval for Users

This setting changes the default User node background refresh rate of 90 minutes with a 030 minute positive randomizer to almost any number of refresh and randomizer minutes you choose. Choose a smaller number for the background refresh to speed up Group Policy happen faster on your machines, or choose a larger number to quell the traffic that a Group Policy refresh takes across your network. There is a similar refresh interval for computers, which is on an alternate clock with its own settings. A setting of 0 is equal to 7 seconds. Set to 0 only in the test lab.

Group Policy Slow Link Detection

You can change the default definition of fast connectivity from 500Kbps to any speed you like. Recall that certain aspects of Group Policy are not applied to machines that are determined to be coming in over slow links. This setting specifies what constitutes a slow link for the User node. There is an identically named policy setting located under the Computer node (explored later in this chapter) also needs to be set to define what is slow for the Computer node. Preferably set these to the same number.

Group Policy Domain Controller Selection

GPOs are written to the PDC emulator by default. When users ( generally Domain Administrators or OU administrators) are affected by this setting, they are allowed to create new GPOs on Domain Controllers other than the PDC emulator. (See Chapter 4 for more information on this setting and how and why to use it.)

Create New Group Policy Object Links Disabled by Default

When users (generally Domain Administrators or OU administrators) are affected by this setting, the GPOs they create will be disabled by default. This ensures that users and computers are not hitting their refresh intervals and downloading half-finished GPOs that you are in the process of creating. Enable the GPOs when finished, and they will download during their next background refresh cycle.

Default Name for Group Policy Objects

If a user has been assigned the rights to create GPOs via membership in the Group Policy Creator Owners group and has also been assigned the rights to link GPOs to OUs within Active Directory, the default name created for GPOs is "New Group Policy Object." You might want all GPOs created at the domain level to have one name, perhaps "AppliesToDomain-GPO", and all GPOs created at the Human Resources OU level (and all child levels) to have another name, maybe "AppliestoHR-GPO." Again, in order for this policy to work, the user's account with the rights to create GPOs must be affected by the policy.

Note 

This policy setting is only valid when applied to Windows XP workstations and Windows 2003 servers.

Enforce Show Policies Only

When users (generally Domain Administrators or OU Administrators) are affected by this setting, the "Only show policy settings that can be fully managed" setting (explored in Chapter 4) is forced to be enabled. This prevents the importation of old-style NT 4 ADM templates, which have the unfortunate side effect of "tattooing" the Registry until they are explicitly removed. (See Chapter 4 for more information on using NT 4style ADM templates with Windows 2003.)

Turn Off Automatic Update of ADM Files

ADM template files are updated by service packs . The default behavior is to check the launching point, that is, the \windows\INF folder, to see if the ADM template has yet been updated. This check for an update occurs, by default, every time you double-click the Administrative Templates section of any GPO as if you were going to modify it. However, if you enable this setting, you're saying to ignore the normal update process and simply keep on using the ADM template you initially used. In other words, you're telling the system you'd prefer to keep the initial ADM template regardless of whether a newer one is available. (See Chapter 5 for critical information on updating ADM templates when service packs are available for Windows XP or Windows 2003.)

Disallow Interactive Users from Generating Resultant Set of Policy Data

Users affected by this setting cannot use the "Group Policy Modeling" or "Group Policy Results" tasks in the GPMC. Enabling this setting locks down a possible entry point into the system. That is, it prevents unauthorized users from determining the current security settings on the box and developing attack strategies.

Note 

This policy setting is valid only when applied to Windows XP workstations and Windows 2003 servers.

Affecting the Computer Settings of Group Policy

The Group Policy settings that affect the Computer node appear under Computer Configuration ˜ Administrative Templates ˜ System ˜ Group Policy. Once computers are affected by these policy settings, they change the processing behavior of Group Policy. Remember that the computer accounts must be subject to the site, domain, or OU where these GPOs are linked in order to be affected.

Turn Off Background Refresh of Group Policy

When this setting is enabled, the affected computer downloads the latest GPOs for both the user and the computer, according to the background refresh intervalbut it doesn't apply them. The GPOs are applied when the user logs off but before the next user logs on. This is helpful in situations in which you want to guarantee that a user's experience stays the same throughout the session.

Group Policy Refresh Interval for Computers

This setting changes the default Computer node background refresh rate of 90 minutes with a 30-minute randomizer to almost any number of refresh and randomizer minutes you choose. Choose a smaller number for the background refresh to speed up Group Policy on your machines, or choose a larger number to quell the traffic a Group Policy refresh takes across your network. A similar refresh interval for the Users node is on a completely separate and unrelated timing rate and randomizer. A setting of 0 equals 7 seconds. Set to 0 only in the test lab.

Group Policy Refresh Interval for Domain Controllers

Recall that Domain Controllers are updated regarding Group Policy changes within 5 minutes. You can close or widen that gap as you see fit. The closer the gap, the more network chatter. Widen the gap, and the security settings will be inconsistent until the interval is hit. A setting of 0 equals 7 seconds. Set to 0 only in the test lab.

User Group Policy Loopback Processing Mode

We'll explore this setting with an example in the next section.

Allow Cross-Forest User Policy and Roaming User Profiles

This policy is valid only in cross-forest trust scenarios. I'll describe how these work and how this policy works later in this chapter.

Note 

This policy setting is valid only when applied to Windows XP workstations and Windows 2003 servers.

Group Policy Slow Link Detection

You can change the default definition of fast connectivity from 500Kbps to any speed you like. Recall that certain aspects of Group Policy are not applied to those machines that are deemed to be coming in over slow links. Independently, an identically named policy setting exists under the User node (explored earlier) also needs to be set to define what is slow for the User node. Preferably, set these to the same number.

Turn Off Resultant Set of Policy Logging

As you'll see in Chapter 4, users on Windows XP machines can launch the Resultant Set of Policy (RSoP) snap-in. Enabling this policy doesn't prevent its launch but, for all intents and purposes, disables its use. This policy disables the use for the currently logged-on user (known as the interactive user) as well as anyone trying to get the results using the remote features of the RSoP snap in.

Note 

This policy setting is valid only when applied to Windows XP workstations and Windows 2003 servers.

Remove Users Ability to Invoke Machine Policy Refresh

By default, mere-mortal users can perform their own background refreshes using GPUpdate, as described in the Initiating a Manual Background Refresh for Windows XP and Windows 2003" section. However, you might not want users to perform their own GPUpdate . I can think of only one reason to disable this setting: to prevent users from sucking up bandwidth on Domain Controllers by continually running GPUpdate . Other than that, I can't imagine why you would want to prevent them from being able to get the latest GPO settings if they were so inclined. Perhaps one user is performing a denial of service (DoS) attack on your Domain Controllers by continually requesting Group Policybut even that's a stretch.

Even if this policy is enabled, local administrators can still force a GPUpdate . But, again, GPUpdate only works when run locally on the machine needing the update.

Note 

This policy setting is valid only when applied to Windows XP workstations and Windows 2003 servers.

Disallow Interactive Users from Generating Resultant Set of Policy Data

This policy is similar to the "Turn off Resultant Set of Policy logging" setting, but affects only the user on the console. Enabling this setting might be useful if you don't want the interactive user to have the ability to generate RSoP data, but still allow administrators to get the RSoP remotely. Again, RSoP and its related functions are explored in Chapter 4.

Note 

This policy setting is valid only when applied to Windows XP workstations and Windows 2003 servers.

Registry Policy Processing

This setting affects how your policy settings in the Administrative Templates subtrees react (and, generally, any other policy that affects the Registry). Once this policy setting is enabled, you have two other options:

Note 

You cannot turn off Registry policy processing over slow links. They are always downloaded and applied.

Internet Explorer Maintenance Policy Processing

Once enabled, this policy setting has three potential options:

Software Installation Policy Processing

Once enabled, this policy setting has two potential options:

Note 

Users can still optto download software over slow links, even if the "Allow Processing Across a Slow Network Connection" is selected. See the Software Installation settings described in detail in Chapter 10.

Folder Redirection Policy Processing

Once enabled, this policy setting has two potential options:

Note 

Folder Redirection settings are discussed in detail in Chapter 9.

Scripts Policy Processing

Once enabled, this policy setting has three potential options:

Security Policy Processing

Once enabled, this policy setting has two potential options:

IP Security Policy Processing

Once enabled, this policy setting has three potential options:

EFS Recovery Policy Processing

Once enabled, this policy setting has three potential options:

Like IP Security, the EFS recovery settings are always downloadedeven over slow networks. Once again, this is the same bug as shown in Figure 3.3 earlier in this chapter. To repeat, EFS recovery policy is always processed, regardless of link speed.

Note 

EFS recovery policies act slightly different from other policy setting categories. EFS recovery policies are not additive; the last applied policy wins.

Do Not Apply During Periodic Background Processing If this option is selected, the latest EFS recovery settings in Active Directory GPOs are not downloaded or applied during the background refresh.

Process Even If the Group Policy Objects Have Not Changed If this option is selected, it updates and reapplies the policy settings in this category even if the underlying GPO has not changed. Recall that this type of processing is meant to clean up should a user or an administrator have nefariously gone around our backs and modified a local setting.

Wireless Policy Processing

If this policy setting is enabled, it has three potential options:

Note 

This policy is valid only when applied to Windows XP workstations and Windows 2003 servers.

Disk Quota Policy Processing

If this policy setting is enabled, it has three potential options:

Note 

Disk quotas and their corresponding Group Policy settings are discussed in detail in Chapter 9.

Always Use Local ADM Files for Group Policy Object Editor

ADM files are the underlying language that creates policy settings. I'll talk more about ADM files and how to best use them in Chapter 5. However, for reference, if a computer is affected by this policy setting, the Group Policy Object Editor attempts to show the text within the ADM files from your local %windir%\inf of directory (usually c:\windows\inf .) If the ADM file is different on the Domain Controller than on your local c:\windows\inf directory, you could end up seeing different settings and helptext than are really inside the Domain Controller.

Indeed, if this policy is enabled, you might now see totally different policy settings than were originally placed in the GPO. However, you might want to enable this policy setting if you know that you will always be using one specific Windows XP management workstation as described in Chapter 5. Stay tuned for Chapter 5 to see how to use this function.

Note 

This policy is valid only when applied to Windows XP workstations and Windows 2003 servers.

Категории