Microsoft KB Archive/307882

= How To Use the Group Policy Editor to Manage Local Computer Policy in Windows XP =

Article ID: 307882

Article Last Modified on 12/1/2007

-

APPLIES TO


 * Microsoft Windows XP Professional x64 Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q307882



IN THIS TASK

 * SUMMARY
 * MORE INFORMATION
 * Uses of Group Policy
 * How to Start the Group Policy Editor
 * How to Use the Group Policy Editor
 * Example
 * REFERENCES



SUMMARY
This article describes how to use the Group Policy Editor to change local policy settings for the computer or for users of the computer.

Back to the top



Uses of Group Policy
In Microsoft Windows XP, you use Group Policy to define user and computer configurations for groups of users and computers. You create a specific desktop configuration for a particular group of users and computers by using the Group Policy Microsoft Management Console (MMC) snap-in. The Group Policy settings that you create are contained in a Group Policy Object (GPO), which is in turn associated with selected Active Directory containers, such as sites, domains, or organizational units (OUs). With the Group Policy snap-in you can specify policy settings for the following:
 * Registry-based policies.

These include Group Policy for the Windows XP operating system and its components and for programs. To manage these settings, use the Administrative Templates node of the Group Policy snap-in.
 * Security options.

These include options for local computer, domain, and network security settings.
 * Software installation and maintenance options.

These are used to centrally manage program installation, updates, and removal.
 * Scripts options.

These include scripts for computer startup and shutdown, and user logon and logoff.
 * Folder redirection options.

These allow administrators to redirect users' special folders to the network.

With Group Policy, you can define the state of users' work environment once and rely on the system to enforce the policies that you define.

Back to the top

How to Start the Group Policy Editor
To start the group policy editor, follow these steps.

NOTE: You must be logged on to the computer using an account that has administrator privileges in order to use Group Policy Editor.
 * 1) Click Start, and then click Run.
 * 2) In the Open box, type mmc, and then click OK.
 * 3) On the File menu, click Add/Remove Snap-in.
 * 4) Click Add.
 * 5) Under Available Stand-alone Snap-ins, click Group Policy, and then click Add.
 * 6) If you do not want to edit the Local Computer policy, click Browse to locate the group policy object that you want. Supply your user name and password if prompted, and then when you return to the Select Group Policy Object dialog box, click Finish.

NOTE: You can use the Browse button to locate group policy objects linked to sites, domains, organizational units (OU), or computers. Use the default Group Policy Object (GPO) (Local Computer) to edit the settings on the local computer.
 * 1) Click Close, and then in the Add/Remove Snap-in dialog box, click OK.

The selected GPO is displayed in the Console Root.

Back to the top

How to Use the Group Policy Editor
The Group Policy snap-in contains the following major branches:
 * Computer Configuration

Administrators can use Computer Configuration to set policies that are applied to computer, regardless of who logs on to the computers. Computer Configuration typically contains sub-items for software settings, Windows settings, and administrative templates.
 * User Configuration

Administrators can use User Configuration to set policies that apply to users, regardless of which computer they log on to. User Configuration typically contains sub-items for software settings, Windows settings, and administrative templates.

To use the group policy editor, follow these steps:
 * 1) Expand the GPO that you want. For example, Local Computer Policy.
 * 2) Expand the configuration item that you want. For example, Computer Configuration.
 * 3) Expand the sub-item that you want. For example, Windows Settings.
 * 4) Navigate to the folder that contains the policy setting that you want. The policy items are displayed in the right pane on the Group Policy Editor snap-in.

NOTE: If no policy is defined for the selected item, right-click the folder that you want and then on the shortcut menu that appears, point to All Tasks, and then click the command that you want. The commands that are displayed on the All Tasks submenu are context sensitive. Only those commands that are applicable to the selected policy folder appear on the menu.
 * 1) In the Setting list, double-click the policy item that you want.

NOTE: When you work with policy items in the Administrative Templates folder, click the Extended tab in the right pane of the MMC if you want to view more information about the selected policy item.
 * 1) Edit the settings of the policy in the dialog box that appears, and then click OK.
 * 2) When you are finished, quit the MMC.

Back to the top

Example
The following example illustrates the use of the Group Policy Editor to customize the Windows XP user interface. In this example, we will use the Group Policy Editor to temporarily remove the Turn Off Computer button from the Start menu. To do this, follow these steps:  Start the Group Policy Editor and open the Local Computer policy by using the steps provided in the How to Start the Group Policy Editor section of this article.

NOTE: You can start the Group Policy Editor snap-in from the command line. This automatically loads the Local Computer GPO. To do this, follow these steps:  Click Start, and then click Run. In the Open box, type Gpedit.msc, and then click OK.  Expand User Configuration (if it is not already expanded). Under User Configuration, expand Administrative Templates.</li> Click Start Menu and Taskbar.</li> In the right pane, double-click Remove and disable the Turn Off Computer button.</li> Click Enabled, and then click Apply.</li> Click Start.

Notice that the Turn Off Computer button is no longer displayed.</li> Select the Remove and disable the Turn Off Computer button Properties dialog box.</li> Click Not Configured, then click Apply, and then click OK.</li> Click Start.

Notice that the Turn Off Computer button is again displayed on the Start menu.</li> Quit the Group Policy Editor snap-in.</li></ol>

Back to the top

<div class="references_section">