70 640 Lesson07 Ppt 041009

33
Introduction to Group Introduction to Group Policy Policy Lesson 7

Transcript of 70 640 Lesson07 Ppt 041009

Page 1: 70 640 Lesson07 Ppt 041009

Introduction to Group PolicyIntroduction to Group PolicyLesson 7

Page 2: 70 640 Lesson07 Ppt 041009

Skills MatrixSkills MatrixTechnology Skill Objective Domain Objective #

Using the Group Policy Management Console

Create and apply Group Policy Objects (GPOs)

4.3

Configuring Group Policy Settings

Configure GPO templates 4.4

Page 3: 70 640 Lesson07 Ppt 041009

Group PolicyGroup Policy• Group Policy is a method of controlling settings

across your network. – Group Policy consists of user and computer

settings on all versions of Windows since Windows 2000 that can be implemented during computer startup and shutdown and user logon and logoff.

– You can configure one or more GPOs within a domain and then use a process called linking, which applies these settings to various containers (domain, sites and OUs) within Active Directory.

– You can link multiple GPOs to a single container or link one GPO to multiple containers throughout the Active Directory structure.

Page 4: 70 640 Lesson07 Ppt 041009

Group PolicyGroup Policy• The following managed settings can be

defined or changed through Group Policies:– Registry-based policies - As the name

implies, these settings modify the Windows Registry.

– Software installation policies can be used to ensure that users always have the latest versions of applications.

– Folder redirection allows files to be redirected to a network drive for backup and makes them accessible from anywhere on the network.

– Offline file storage works with folder redirection to provide the ability to cache files locally. This allows files to be available even when the network is inaccessible.

Page 5: 70 640 Lesson07 Ppt 041009

Group PolicyGroup Policy– Scripts – Including logon, logoff, startup,

and shutdown scripts, these can assist in configuring the user environment.

– Windows Deployment Services (WDS) – Assists in rebuilding or deploying workstations quickly and efficiently in an enterprise environment.

– Microsoft Internet Explorer settings – Provide quick links and bookmarks for user accessibility, in addition to browser options such as proxy use, acceptance of cookies, and caching options.

– Security settings – Protect resources on computers in the enterprise.

Page 6: 70 640 Lesson07 Ppt 041009

Group PolicyGroup Policy• Group Policies can be linked to sites,

domains, or OUs (not groups) to apply those settings to all users and computers within these Active Directory containers.

• You can use security group filtering, which allows you to apply GPO settings to only one or more users or groups within a container by selectively granting the “Apply Group Policy” permission to one or more users or security groups.

Page 7: 70 640 Lesson07 Ppt 041009

Group Policy Objects (GPOs)Group Policy Objects (GPOs)

• Contain all of the Group Policy settings that you wish to implement to user and computer objects within a site, domain, or OU.

• Must be associated (linking) with the container to which it is applied.

• There are three types of GPOs: – Local GPOs.– Domain GPOs.– Starter GPOs.

Page 8: 70 640 Lesson07 Ppt 041009

Local GPOLocal GPO• The local GPO settings are stored on the local

computer in the %systemroot%/System32/GroupPolicy folder.

• Local GPOs contain fewer options. – They do not support folder redirection or

Group Policy software installation. – Fewer security settings are available.

• When a local and a nonlocal (Active Directory–based) GPO have conflicting settings, the local GPO is overwritten by the nonlocal GPO.

Page 9: 70 640 Lesson07 Ppt 041009

Nonlocal GPOsNonlocal GPOs• Nonlocal GPOs are created in Active Directory. • They are linked to sites, domains, or OUs.

– Once linked to a container, the GPO is applied to all users and computers within that container by default.

• GPOs are stored in two places:– Group Policy container (GPC) — An Active

Directory object that stores the properties of the GPO.

– Group Policy template (GPT) — Located in the Policies subfolder of the SYSVOL share, the GPT is a folder that stores policy settings, such as security settings and script files.

Page 10: 70 640 Lesson07 Ppt 041009

Starter GPOsStarter GPOs

• A new feature in Windows Server 2008.

• Used as GPO templates within Active Directory.

• Allow you to configure a standard set of items that will be configured by default in any GPO that is derived from a starter GPO.

Page 11: 70 640 Lesson07 Ppt 041009

Default Group PoliciesDefault Group Policies

• When Active Directory is installed, two domain GPOs are created by default. – Default Domain Policy — It is linked

to the domain, and its settings affect all users and computers in the domain.

– Default Domain Controller Policy — It is linked to the Domain Controllers OU and its settings affect all domain controllers in the domain.

Page 12: 70 640 Lesson07 Ppt 041009

Creating and Managing Group PoliciesCreating and Managing Group Policies• The Group Policy Management Console

(GPMC) is the Microsoft Management Console (MMC) snap-in that is used to create and modify Group Policies and their settings.– The GPMC was not pre-installed in Windows

Server 2003; it needed to be downloaded manually from the Microsoft Web site.

– The GPCM is included in Windows Server 2008 by default.

• When you configure a GPO, you will use the Group Policy Management Editor, which can be accessed through the GPMC or through Active Directory Users and Computers.

Page 13: 70 640 Lesson07 Ppt 041009

Group Policy Management Console Group Policy Management Console (GPMC)(GPMC)

Page 14: 70 640 Lesson07 Ppt 041009

Group Policy Management Console Group Policy Management Console (GPMC)(GPMC)

Page 15: 70 640 Lesson07 Ppt 041009

Group Policy Management Console Group Policy Management Console (GPMC)(GPMC)

Page 16: 70 640 Lesson07 Ppt 041009

Group Policy Object EditorGroup Policy Object Editor

Page 17: 70 640 Lesson07 Ppt 041009

Group Policy SettingsGroup Policy Settings

• Configuring Group Policy settings enables you to customize the configuration of a user’s desktop, environment, and security settings.

• The actual settings are divided into two subcategories:– Computer Configuration – User Configuration

Page 18: 70 640 Lesson07 Ppt 041009

Group Policy SettingsGroup Policy Settings• The Computer Configuration and the User

Configuration nodes contain three subnodes:– Software Settings

•Used to install software.– Windows Settings

•Used for define security settings and scripts.

– Administrative Templates•Windows Server 2008 includes thousands

of Administrative Template policies, which contain all registry-based policy settings.

•They are used to generate the user interface for the Group Policy settings.

Page 19: 70 640 Lesson07 Ppt 041009

GPO InheritanceGPO Inheritance

• You link a GPO to a domain, site, or OU or create and link a GPO to one of these containers in a single step. The settings within that GPO apply to all child objects within the object.

Page 20: 70 640 Lesson07 Ppt 041009

Group Policy Processing (LSDOU)Group Policy Processing (LSDOU)1. Local policies.2. Site policies.3. Domain policies.4. OU policies.

Any conflicting GPO settings are overwritten by the later running GPO.

Page 21: 70 640 Lesson07 Ppt 041009

Understanding Group Policy ProcessingUnderstanding Group Policy Processing

• When a computer is initialized during startup, it establishes a secure link between the computer and a domain controller. – Then the computer obtains a list of

GPOs to be applied.

• Computer configuration settings are applied synchronously during computer startup before the Logon dialog box is presented to the user.

Page 22: 70 640 Lesson07 Ppt 041009

Understanding Group Policy ProcessingUnderstanding Group Policy Processing

• Any startup scripts set to run during computer startup are processed. These scripts also run synchronously and have a default timeout of 600 seconds (10 minutes) to complete.

• When the Computer Configuration scripts and startup scripts are complete, the user is prompted to press Ctrl+Alt+Del to log on.

Page 23: 70 640 Lesson07 Ppt 041009

Understanding Group Policy ProcessingUnderstanding Group Policy Processing

• Upon successful authentication, the user profile is loaded based on the Group Policy settings in effect.

• A list of GPOs specific for the user is obtained from the domain controller. – User Configuration settings also are

processed in the LSDOU sequence.

Page 24: 70 640 Lesson07 Ppt 041009

Understanding Group Policy ProcessingUnderstanding Group Policy Processing

• After the user policies run, any logon scripts run. Unlike the startup scripts, these scripts run asynchronously by default.

• The user's desktop appears after all policies and scripts have been processed.

Page 25: 70 640 Lesson07 Ppt 041009

Configuring Exceptions to GPO Configuring Exceptions to GPO ProcessingProcessing• Enforce — Configuring this setting on an individual

GPO link forces a particular GPO’s settings to flow down through the Active Directory without being blocked by any child OUs.

• Block Policy Inheritance — Configuring this setting on a container object such as a site, domain, or OU will block all policies from parent containers from flowing to this container.

• Loopback Processing — This is a Group Policy option that provides an alternative method of obtaining the ordered list of GPOs to be processed for the user.– When set to Enabled, this setting has two options:

Merge and Replace.

Page 26: 70 640 Lesson07 Ppt 041009

GPUpdate CommandGPUpdate Command• If you make changes to a group policy,

users may not see changes take effect until:– They log off or log back in.– They Reboot the computer.– They wait 90 minutes (+/- 30 minutes)

for stand-alone servers/workstations and 2 minutes for domain controllers.

• To manually push group policies, you need to use the gpupdate command:Gpupdate /force

Page 27: 70 640 Lesson07 Ppt 041009

SummarySummary• Group Policy consists of user and computer

settings that can be implemented during computer startup and user logon. – These settings can be used to customize the

user environment, to implement security guidelines, and to assist in simplifying user and desktop administration.

– Group Policies can be beneficial to users and administrators.

– They can be used to increase a company's return on investment and to decrease the overall total cost of ownership for the network.

Page 28: 70 640 Lesson07 Ppt 041009

SummarySummary

• In Active Directory, Group Policies can be assigned to sites, domains, and OUs.

• By default, there is one local policy per computer. Local policy settings are overwritten by Active Directory policy settings.

Page 29: 70 640 Lesson07 Ppt 041009

SummarySummary

• Group Policy content is stored in an Active Directory GPC and in a GPT. – The GPC can be seen using the

Advanced Features view in Active Directory Users and Computers.

– The GPT is a GUID-named folder located in the systemroot\sysvol\SYSVOL\domain_name\ Policies folder.

Page 30: 70 640 Lesson07 Ppt 041009

SummarySummary

• The Default Domain Policy and the Default Domain Controller Policy are created by default when Active Directory is installed.

• The Group Policy Management Console is the tool used to create and modify Group Policies and their settings.

Page 31: 70 640 Lesson07 Ppt 041009

SummarySummary

• GPO nodes contain three subnodes including Software Settings, Windows Settings, and Administrative Templates. Administrative templates are XML files with the .admx file extension. – Over 100 ADMX files are included

with Windows Server 2008.

Page 32: 70 640 Lesson07 Ppt 041009

SummarySummary

• The order of Group Policy processing can be remembered using the acronym LSDOU:– Local– Site– Domain– OU

• This order is an important part of understanding how to implement Group Policies for an object.

Page 33: 70 640 Lesson07 Ppt 041009

SummarySummary

• Group Policies applied to parent containers are inherited by all child containers and objects. – Inheritance can be altered by using

the Enforce, Block Policy Inheritance, or Loopback settings.