Group Policy
From Wikipedia, the free encyclopedia
This article needs additional citations for verification. Please help improve this article by adding reliable references (ideally, using inline citations). Unsourced material may be challenged and removed. (September 2008) |
Group Policy is a feature of Microsoft Windows NT family of operating systems. It is what provides the centralized management and configuration of computers and remote users in an Active Directory environment. In other words, it controls what users can and can't do on a computer network. Although Group Policy is usually used in enterprise environments, its usage is also common in schools, businesses, and other small organizations to restrict certain actions that may pose potential security risks: for instance, blocking the Windows Task Manager, restricting access to certain folders, disabling downloaded executable files and so on.
As part of Microsoft's IntelliMirror technologies, it aims to reduce the overall cost of supporting users of Windows. These technologies relate to the management of disconnected machines or roaming users and include Roaming user profiles, Folder redirection and Offline Files.
Contents |
[edit] Overview
Group Policy can control a target object's registry, NTFS security, audit and security policy, software installation, logon/logoff scripts, folder redirection, and Internet Explorer settings. The policy settings are stored in Group Policy Objects (GPOs). A GPO is internally referenced by a Globally Unique Identifier (GUID). Each one may be linked to multiple sites, domains or organizational units. This allows for multiple machines or users to be updated via a change to a single GPO in turn reducing the administrative burden and costs associated with managing these resources.
Group Policies use Administrative Templates (ADM/ADMX) files to describe where registry-based policy settings are stored in the registry. Administrative Templates essentially describe the user interface that administrators see in the Group Policy Object Editor snap-in. On a single workstation, administrative templates are stored in the %WinDir%\Inf folder, while on a domain controller, they are stored for each domain GPO in a single folder called the Group Policy Template (GPT) in the Sysvol folder. ADMX is the new XML-based file format introduced in Windows Vista, which contains configuration settings for individual GPOs.
User and computer objects may only exist once in the Active Directory but often fall into the scope of several GPOs. The user or computer object applies each applicable GPO. Conflicts between GPOs are resolved at a per attribute level.
Group Policies are analyzed and applied at startup for computers and during logon for users. The client machine refreshes most of the Group Policy settings periodically, the period ranging from 60-120 minutes and controlled by a configurable parameter of the Group Policy settings.
Group Policy is supported on Windows 2000, Windows XP Professional, Windows Vista, Windows Server 2003 and Windows Server 2008. Windows XP Media Center Edition and Windows XP Professional computers not joined to a domain can also use the Group Policy Object Editor to change the group policy for the individual computer. This local group policy however is much more limited than GPOs for Active Directory.
Group Policies can be enforced on Unix-like operating systems (e.g. Mac OS X, UNIX, Linux) through third-party software solutions (e.g. Centrify DirectControl) that run on the client machine to apply settings.
[edit] The three phases of using Group Policy
Group Policy can be considered in three distinct phases - GPO creation, targeting of the GPO and application of the GPO.
[edit] Creating and editing GPOs
GPOs are created and edited through two tools - the Group Policy Object Editor (Gpedit.msc) and the freely downloadable Group Policy Management Console (GPMC). GPEdit is used to create and edit single Group Policy Objects one at a time. Prior to GPMC, administrators wanting to document or inventory previously deployed GPOs would have to use Active Directory Users and Computers (ADUC) to interrogate each organizational unit individually, a very time-consuming and error-prone task. The GPMC simplified GPO management by providing tools to manage large numbers of group policies collectively. GPMC provides a number of features including GPO settings summarization, a simplified security pane for group filtering, GPO backup/restoration/cloning and more within a GUI that mimics ADUC. Editing a GPO from within GPMC still launches GPEdit. The friendly name of a GPO can also be determined from its GUID by using GPOTool.exe. This tool outputs all GPO GUIDs and their corresponding friendly name.
[edit] Targeting GPOs
GPOs may be conditionally applied to targets in two ways: object linking and customizing Security Descriptors. After a GPO has been created it can be linked to the following objects: Site, domain, or Organizational Unit (OU). In addition, the default Security Descriptor of the GPO may be modified using Security Filtering, Windows Management Instrumentation (WMI) Filtering, or Delegation.[1]
Security Filtering is the process of customizing the Scope of the GPO by choosing what Users and Groups the GPO applies to.
WMI Filtering is the process of customizing the Scope of the GPO by choosing a WMI Filter to apply.
Delegation is the process of customizing the Security Descriptors of the GPO by assigning specific Users and Groups and the individual permissions that will be applied for each. This has more control than Security Filtering as it allows modification of both Apply and Deny permissions.
[edit] GPO application
The Group Policy client operates on a "pull" model - every so often (a randomized delay of between 90 and 120 minutes, although this offset is configurable via Group Policy) it will collect the list of GPOs appropriate to the machine and logged on user (if any). The Group Policy client will then apply those GPOs which will thereafter affect the behavior of policy-enabled operating system components and applications.
[edit] Local group policy
Local group policy (LGP) is a more basic version of the group policy used by Active Directory. In versions of Windows before Windows Vista, LGP can configure the group policy for a single local computer, but unlike Active Directory group policy, can not make policies for individual users or groups. It also has many fewer options overall than Active Directory group policy. The specific-user limitation can be overcome by using the Registry Editor to make changes under the HKCU or HKU keys. LGP simply makes registry changes under the HKLM key, thus affecting all users; the same changes can be made under HKCU or HKU to only affect certain users. Microsoft has more information on using the Registry Editor to configure group policy available on TechNet.[2] LGP can be used on a computer on a domain, and it can be used on Windows XP Home Edition.
Windows Vista supports Multiple Local Group Policy objects (MLGPO), which allows setting local group policy for individual users.[3]
[edit] Security
A problem with the per-user policies is that they're only enforced voluntarily by the targeted applications. A malevolent user can interfere with the application so that it cannot successfully read its Group Policy settings (thus enforcing potentially lower security defaults) or even return arbitrary values. The user can also create a copy of the application at a writable location, and modify it such that it ignores the settings. One should rather see it that the Group Policy helps the user provide some safe defaults to help him enforce security for himself.
[edit] See also
[edit] References
[edit] External links
- Microsoft Group Policy page
- The Group Policy Management Console (GPMC)
- Step-by-Step Guide to Managing Multiple Local Group Policy Objects
- Group Policy Settings (in Excel format) and registry key equivalents, from Microsoft