Search
Windows 7

Group Policy and the GPMC (part 2) - RSAT and the Group Policy Management Console

Published 8 min readBy Programming4us Editorial Team

3. RSAT and the Group Policy Management Console

The Remote Server Administration Tools (RSAT) for Windows 7 can be installed on a Windows 7 computer to enable IT administrators to manage roles and features on servers in the domain. Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2 servers can all be managed using RSAT.

There are different versions of RSAT for Windows Vista and Windows 7. The Windows 7 version includes the ability to manage up to Windows Server 2008 R2, whereas the Windows Vista version includes only the ability to manage roles and features up to Windows Server 2008.


RSAT includes the Group Policy Management console, which is the primary tool used to manage Group Policy. The GPMC is automatically installed on a domain controller when it is promoted. However, additional settings are available on a Windows 7 and Windows Server 2008 R2 GPMC that you won't see on the GPMC installed on Windows Server 2008.

After installing RSAT on a Windows 7 computer, you enable the desired features via Control Panel. Figure 10 shows the Windows Features dialog box with all of the Remote Server Administration Tools. In the figure, only Group Policy Management Tools are added, but as you can see there are many more tools you can add.

Figure 10. Adding RSAT features to Windows 7


You can download RSAT for free from Microsoft's download site (http://www.Microsoft.com/downloads) by searching on "RSAT Windows 7." Both 32-bit and 64-bit versions are available. The 32-bit version includes the x86 prefix, and the 64-bit version includes the amd64 prefix. You should download the version to match the architecture of your Windows 7 system.

After downloading RSAT, you can follow the steps in Exercise 2 to install it on a Windows 7 system and enable the GPMC. While this activity adds only the GPMC, you can easily install additional features from the Windows Features dialog box.


You can add the Administrative Tools menu to the Start menu with the following steps. Right-click Start and select Properties. Click Customize from the Start Menu tab. Scroll down to the bottom, and select Display On The All Programs Menu And The Start Menu. Click OK twice.


As long as you're logged on to a domain account with permissions to at least read Group Policy in the domain, you'll be able to launch and view the Group Policy Management console. Members of the domain Administrators, Domain Admins, and Enterprise Admins groups will be able to create and apply GPOs.

Exercise 3 shows how to navigate the GPMC and a GPO.


4. User vs. Computer Settings

As you've seen, Group Policy objects have two primary nodes:

Computer Configuration

This node includes settings that apply to computers, no matter which user is logged on. These settings apply only if the computer is in the scope of the GPO.

User Configuration

This node includes settings that apply to a user, no matter which computer the user logs on to. These settings apply only if the user is in the scope of the GPO.

On the surface, the settings that apply are simple to understand. Computer settings apply to computers, and user settings apply to users. However, there are a couple of subtleties that sometimes elude administrators.

It's common for a user object and a computer object to be in the same OU. But if the objects are in different containers, the settings are applied differently. For example, look at Figure 11. The User account for Joe is in the IT OU, and he's logging on to a computer in the Sales OU. The Sales OU has a GPO named NoGames that has enabled Remove Games Link From The Start Menu in the User Configuration node. This setting is located in the User Configuration => Policies => Administrative Templates => Start Menu And Taskbar node.

Because Joe's user account is in the IT OU, the User Configuration settings on the Sales OU GPO don't apply to his account. The link to the Games menu will remain on his computer.

On the other hand, if Sally logs on to the same computer, the Games link will be removed because her user account is in the Sales OU.

Figure 11. User and Computer objects in different OUs


Exercise 4 demonstrates how Group Policy works when the user object is in one OU and the computer object is in another OU. It also demonstrates how you can reverse the default behavior using loopback processing.


If there are any conflicting settings between the User Configuration and the Computer Configuration nodes, the User Configuration settings will take precedence. To make this clear, it's important to know when GPOs are applied, and then you can use the simple rule of the last GPO applied wins.


Computer GPOs applied

When the computer first boots, the computer account retrieves all applied GPOs. If there are any conflicts with any of these settings, the last setting applied wins. The logon screen appears when Group Policy has been applied.

In addition, the computer will check for updates or changes to computer Group Policy settings every 90–120 minutes (90 minutes with a random offset of 30 minutes).


User GPOs applied

When a user first logs on, all the GPO settings that apply to the user are retrieved. If there are any conflicts with any of these settings, the last setting applied wins. If there are any conflicts with the computer settings, the user settings win. The desktop appears when Group Policy has been applied.

In addition, a system will check for updates or changes to user Group Policy settings every 90–120 minutes (90 minutes with a random offset of 30 minutes).

You can improve performance of Group Policy by disabling either the User or Computer Configuration settings. For example, if there aren't any computer settings in a GPO, you can right click over the policy in the Group Policy Editor, select Properties, and then select the Disable Computer Configuration Settings checkbox.


5. Forcing Group Policy Updates

When testing Group Policy changes, you usually don't want to wait for the default refresh time. In other words, when you modify a GPO, you don't want to wait 90 to 120 minutes to see if the setting has been applied as you configured it. Instead, you can use the GPUpdate command from the command line.

GPUpdate is commonly used to reapply all GPO settings for the currently logged-on user and computer. Many of the common switches used with GPUpdate are listed in Table 1.

Table 1. GPUpdate switches

Switch and ExampleComments
/Force GPUpdate /ForceReapplies all Group Policy settings.
/Target

GPUpdate /Target: Computer

GPUpdate /Target: User
Instead of reapplying both user and computer Group Policy settings, you can apply only the computer or user settings.
/Logoff GPUpdate /LogoffCauses a logoff after the Group Policy settings have been updated if the settings require a logon to be applied. This is good for some settings that are processed only when the user logs on, such as Software Installation and Folder Redirection settings. It has no effect if GPO settings do not require a logon to be applied.
/Boot GPUpdate /BootCauses a computer restart after the Group Policy settings are applied if the settings require a restart to be applied. This is good for some settings that are processed only when the computer starts, such as Software Installation settings. It has no effect if GPO settings do not require a reboot to be applied.