Types of GPOs in the Registry

Windows stores many Group Policy settings in the Registry. The Registry is a database on each Windows computer that stores configuration settings for the computer and users. The Group Policy Settings Reference spreadsheet lists the key locations for settings stored in the Registry. The Registry stores Group Policy settings either in HKEY_CURRENT_USER (HKCU) or HKEY_LOCAL_MACHINE (HKLM). HKCU keys define settings that are specific to each user. HKLM keys define settings that apply to the computer, regardless of who is logged on.

Local Group Policy Editor

It is easy to view and edit Group Policy settings with the Group Policy Editor. There are two main types of Group Policy settings: Local Group Policy settings and Active Directory Group Policy settings, which you’ll learn about in the next section. You define local Group Policy settings on each computer and Windows stores the settings on that computer. All of the local Group Policy settings apply to a single computer. When you first open the Local Group Policy Editor, you see the two main groups of settings, “Computer Configuration” and “User Configuration” settings. FIGURE 6-3 shows the Local Group Policy Editor.

A screenshot of the Local Group Policy Editor is shown.

FIGURE 6-3
Local Group Policy Editor.

Courtesy of Microsoft Corporation.

Notice the two main categories of settings in the Local Group Policy Editor. The settings under the Computer Configuration category are stored in the Registry under the HKLM entry. The settings under the User Configuration category are stored under the HKCU entry. Although the Windows Registry Editor can be used to modify Group Policy settings, the Local Group Policy Editor is easier and safer. The Local Group Policy Editor allows you to change only Group Policy settings and ensures the settings are stored properly and in the correct location in the Registry. Changing Group Policy settings in the Local Group Policy Editor is easy. Find the setting you want to change, choose Edit, and change the setting to the value you choose. FIGURE 6-4 shows the modified value for the Turn Off user-installed desktop gadgets setting. When you enable this setting, users will not be able to launch any of their own user-installed gadgets in the sidebar of their desktop.

A screenshot of the Local Group Policy Editor window is shown.

FIGURE 6-4
Changing a setting in the Local Group Policy Editor.

Courtesy of Microsoft Corporation.

GPOs in the Registry Editor

Since Group Policy settings are stored in the Registry, they can be edited directly using the Registry Editor. Windows stores all currently active GPOs in the Registry under the HKCU entry. When a user logs on, and every 90–120 minutes thereafter, Windows will update the HKCU hive with the most current GPOs that apply to the current user. This updater will also occur within 10 minutes if a Windows Server computer refreshes GPOs with the Remote Group Policy Update. Each GPO has a globally unique identifier (GUID) that uniquely identifies it as a Windows object. The GPO GUID is the key Windows uses to store the GPO in the Registry. Windows stores current GPOs under the key: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects. FIGURE 6-5 shows the GPO setting for “Turn Off User-Installed Desktop Gadgets” from the previous example in the Registry Editor.

A screenshot of the Registry Editor shows the Group Policy settings. The content pane shows the settings of the GPO.

FIGURE 6-5
Group Policy setting in the Registry Editor.

Courtesy of Microsoft Corporation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.223.10