22
Corso referenti S.I.R.A. – Corso referenti S.I.R.A. – Modulo 2 Modulo 2 07 – Group Policy 07 – Group Policy 20/11 – 27/11 – 05/12 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano Viola Cristiano Gentili, Massimiliano Viola (CSIA) (CSIA)

Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Embed Size (px)

Citation preview

Page 1: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Corso referenti S.I.R.A. – Modulo 2Corso referenti S.I.R.A. – Modulo 2

07 – Group Policy07 – Group Policy

20/11 – 27/11 – 05/1220/11 – 27/11 – 05/12

11/12 – 13/12 (gruppo 1)11/12 – 13/12 (gruppo 1)

12/12 – 15/12 (gruppo 2)12/12 – 15/12 (gruppo 2)

Cristiano Gentili, Massimiliano Viola (CSIA)Cristiano Gentili, Massimiliano Viola (CSIA)

Page 2: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

OverviewOverview

Introduction to Group PolicyIntroduction to Group Policy

Group Policy StructureGroup Policy Structure

Working with Group Policy ObjectsWorking with Group Policy Objects

How Group Policy Settings Are Applied in How Group Policy Settings Are Applied in Active DirectoryActive Directory

Modifying Group Policy InheritanceModifying Group Policy Inheritance

Delegating Administrative Control of Group Delegating Administrative Control of Group PolicyPolicy

Monitoring and Troubleshooting Group PolicyMonitoring and Troubleshooting Group Policy

Best PracticesBest Practices

Page 3: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Introduction to Group PolicyIntroduction to Group Policy

Group Policy Enables You to:Group Policy Enables You to:Set centralized and decentralized policiesSet centralized and decentralized policies

Ensure users have their required environmentsEnsure users have their required environments

Lower total cost of ownership by controlling user and Lower total cost of ownership by controlling user and computer environmentscomputer environments

Enforce corporate policiesEnforce corporate policies

SiteSite

DomainDomain

OUOU

Windows 2000 Applies ContinuallyWindows 2000 Applies Continually

UsersUsers

ComputersComputers

Administrator Sets Group Policy OnceAdministrator Sets Group Policy Once

Group PolicyGroup Policy

Page 4: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

• Group Policy StructureGroup Policy Structure

Types of Group Policy SettingsTypes of Group Policy Settings

Group Policy ObjectsGroup Policy Objects

Group Policy Settings for Computers and UsersGroup Policy Settings for Computers and Users

Group Policy Objects and Active Directory Group Policy Objects and Active Directory ContainersContainers

Page 5: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Types of Group Policy SettingsTypes of Group Policy Settings

Types of Group Policy SettingsTypes of Group Policy SettingsTypes of Group Policy SettingsTypes of Group Policy Settings

AdministrativeTemplates

AdministrativeTemplates Registry-based Group Policy settingsRegistry-based Group Policy settings

SecuritySecurity Settings for local, domain, and network securitySettings for local, domain, and network security

Software InstallationSoftware Installation Settings for central management of software installationSettings for central management of software installation

ScriptsScripts Startup, shutdown, logon, and logoff scriptsStartup, shutdown, logon, and logoff scripts

Remote Installation Services

Remote Installation Services

Settings that control the options available to users when running the Client Installation wizard used by RISSettings that control the options available to users when running the Client Installation wizard used by RIS

Internet Explorer Maintenance

Internet Explorer Maintenance

Settings to administer and customize Microsoft Internet Explorer on Windows 2000–based computersSettings to administer and customize Microsoft Internet Explorer on Windows 2000–based computers

Folder RedirectionFolder Redirection Settings for storing of users’ folders on a network serverSettings for storing of users’ folders on a network server

Page 6: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Group Policy ObjectsGroup Policy Objects

Group Policy Object

Contains Group Policy settings Content stored in two

locations

Located in domain controller shared Sysvol folder

Provides Group Policy settings that computers running Windows 2000 obtain and apply

Located in Active Directory Provides version information used

by domain controllers

Group Policy Template (GPT)

Group Policy Container (GPC)

Page 7: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Group Policy Settings for Computers and UsersGroup Policy Settings for Computers and Users

Group Policy Settings for Computers:Group Policy Settings for Computers:Specify oSpecify operating system behavior, desktop perating system behavior, desktop behavior, security settings, computer behavior, security settings, computer startup and shutdown scripts, computer-startup and shutdown scripts, computer-assigned application options, and assigned application options, and application settingsapplication settings

Apply when the operating system initializes Apply when the operating system initializes and during the periodic refresh cycle and during the periodic refresh cycle

Group Policy Settings for Users:Group Policy Settings for Users:Specify oSpecify operating system behavior, desktop perating system behavior, desktop settings, security settings, assigned and settings, security settings, assigned and published application options, application published application options, application settings, folder redirection options, and user settings, folder redirection options, and user logon and logoff scriptslogon and logoff scripts

Apply when users log on to the computer Apply when users log on to the computer and during the periodic refresh cycleand during the periodic refresh cycle

UsersUsers

ComputersComputers

Page 8: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Group Policy Objects and Active Directory ContainersGroup Policy Objects and Active Directory Containers

GPO Settings Affect User and Computer Objects Within GPO Settings Affect User and Computer Objects Within Sites, Domains, and OUs to Which a GPO Is LinkedSites, Domains, and OUs to Which a GPO Is Linked

You can link one GPO to multiple sites, domains, or OUsYou can link one GPO to multiple sites, domains, or OUs

You can link multiple GPOs to one site, domain, or OUYou can link multiple GPOs to one site, domain, or OU

You Cannot Link GPOs to Default Active Directory You Cannot Link GPOs to Default Active Directory ContainersContainers

SiteSite

DomainDomain

OUOU

OUOUOUOU

OU GPOOU GPO OU GPOOU GPO

Site GPOSite GPODomain GPODomain GPO

Page 9: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Working with Group Policy ObjectsWorking with Group Policy Objects

Creating Linked Group Policy ObjectsCreating Linked Group Policy Objects

Creating Unlinked Group Policy ObjectsCreating Unlinked Group Policy Objects

Linking an Existing Group Policy ObjectLinking an Existing Group Policy Object

Specifying a Domain Controller for Managing Specifying a Domain Controller for Managing Group Policy ObjectsGroup Policy Objects

Page 10: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Creating Linked Group Policy ObjectsCreating Linked Group Policy Objects

To Apply Group Policy To Apply Group Policy to a Container, Create to a Container, Create a GPO Linked to the a GPO Linked to the Container:Container:

Create GPOs linked Create GPOs linked to domains and OUs to domains and OUs by using Active by using Active Directory Users and Directory Users and ComputersComputers

Create GPOs linked Create GPOs linked to sites by using to sites by using Active Directory Active Directory Sites and ServicesSites and Services

contoso.msft Properties

General Managed By Object Security Group Policy

Current Group Policy Object Links for contoso.msft

Group Policy Object Links No Override DisabledDefault Domain PolicyAccount Lockout Policy

Passwords Policy

Group Policy Objects higher in the list have the highest priority. This list obtained from: London.contoso.msft

New

Options...

Add...

Delete...

Edit

Properties

Up

DownDown

Block Policy inheritance

Close CancelCancel ApplyApply

Name of linked GPO

Name of linked GPO

Page 11: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Creating Unlinked Group Policy ObjectsCreating Unlinked Group Policy Objects

Select Group Policy Object

Local Computer

Browse…

Allow the focus of the Group Policy Snap-in to be changed when launching from the command line. This only applies if you save the console.

View

Arrange Icons

Line up Icons

Refresh

NewTo create an unlinked GPOTo create an

unlinked GPO

Browse for a Group Policy Object

Domains/OUs Sites Computers All

Look in: contoso.msft

All Group Policy Objects stored in this domain:Name

Application DeploymentDefault Domain Controllers PolicyDefault Domain PolicyNew Group Policy ObjectNew Group Policy ObjectNew Group Policy ObjectNew Group Policy ObjectTest

Page 12: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Linking an Existing Group Policy ObjectLinking an Existing Group Policy Object

contoso.msft Properties

General Managed By Object Security Group Policy

Current Group Policy Object Links for contoso.msft

Group Policy Object Links No Override DisabledDefault Domain PolicyAccount Lockout Policy

Passwords Policy

Group Policy Objects higher in the list have the highest priority. This list obtained from: London.contoso.msft

New

Options...

Add...

Delete...

Edit

Properties

Up

DownDown

To link an existing GPO

To link an existing GPO

Add a Group Policy Object Link

Domains/OUs Sites All

Look in:

Group Policy Objects linked to this container:Name Domain

Domain Controllers.nwtraders.msft

Accounting.nwtraders.msft

Human Resources.nwtraders.msft

Default Domain Policy

Redirect My Document Policy

Logon Attempts Policy

Passwords Policy

Start Menu Policy

OKOK Cancel

contoso.msft Select container in which GPO residesSelect container in which GPO resides

Select GPO to link

Select GPO to link

Select appropriate tabSelect appropriate tab

Page 13: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

How Group Policy Settings Are Applied in How Group Policy Settings Are Applied in Active DirectoryActive Directory

Group Policy InheritanceGroup Policy Inheritance

How Group Policy Settings Are ProcessedHow Group Policy Settings Are Processed

Controlling the Processing of Group PolicyControlling the Processing of Group Policy

Resolving Conflicts Between Group Policy Resolving Conflicts Between Group Policy SettingsSettings

Page 14: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Group Policy InheritanceGroup Policy Inheritance

Windows 2000 Applies GPO Windows 2000 Applies GPO Settings in a Specific OrderSettings in a Specific Order

SiteSite

DomainDomain

OUOU

Child Containers Inherit Child Containers Inherit GPO Settings from GPO Settings from Parent ContainersParent Containers

Computers

Users

Payroll

Domain

Domain GPODomain GPO

Page 15: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

How Group Policy Settings Are ProcessedHow Group Policy Settings Are Processed

Computer starts

User logs on

Computer settings applied

Startup scripts run

User settings applied Logon scripts run

The GetGPOList Function Executes on the Client Computer During:

Computer startup to determine which GPOs contain computer configurations settings to be applied

User logon to determine which GPOs contain user configurations settings to be applied

Page 16: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Controlling the Processing of Group PolicyControlling the Processing of Group PolicySynchronous and Asynchronous ProcessingSynchronous and Asynchronous Processing

By default, the processing of Group Policy is By default, the processing of Group Policy is synchronoussynchronous

You can change the processing of Group You can change the processing of Group Policy to asynchronous by using a Group Policy to asynchronous by using a Group Policy setting for both computers and usersPolicy setting for both computers and users

Refreshing Refreshing Group Policy at Established Intervals Group Policy at Established Intervals of:of:

90 minutes for computers running Windows 90 minutes for computers running Windows 2000 Professional and for member servers 2000 Professional and for member servers running Windows 2000 Serverrunning Windows 2000 Server

5 minutes for domain controllers5 minutes for domain controllers

Processing Unchanged Group Policy SettingsProcessing Unchanged Group Policy Settings

You can configure each client-side extension You can configure each client-side extension to process all applicable Group Policy to process all applicable Group Policy settings settings

Page 17: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Resolving Conflicts Between Group Policy Resolving Conflicts Between Group Policy SettingsSettings

All Group Policy Settings Apply Unless There Are All Group Policy Settings Apply Unless There Are ConflictsConflicts

The Last Setting Processed AppliesThe Last Setting Processed Applies

When settings from different GPOs in the Active When settings from different GPOs in the Active Directory hierarchy conflict, the child container Directory hierarchy conflict, the child container GPO settings applyGPO settings apply

When settings from GPOs linked to the same When settings from GPOs linked to the same container conflict, the settings for the GPO highest container conflict, the settings for the GPO highest in the GPO list apply in the GPO list apply

A Computer Setting Applies When It Conflicts with a A Computer Setting Applies When It Conflicts with a User SettingUser Setting

Page 18: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Modifying Group Policy InheritanceModifying Group Policy Inheritance

Enabling Block InheritanceEnabling Block Inheritance

Enabling No OverrideEnabling No Override

Filtering Group Policy SettingsFiltering Group Policy Settings

Page 19: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Enabling Block InheritanceEnabling Block Inheritance

Block Inheritance:Block Inheritance:

Stops inheritance of Stops inheritance of all GPOs from all all GPOs from all parent containersparent containers

Cannot selectively Cannot selectively choose which GPOs choose which GPOs are blockedare blocked

Cannot stop No Cannot stop No OverrideOverride

GPOs GPOs

Sales

Production

Domain

No GPO settings apply

No GPO settings apply

Page 20: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Enabling No OverrideEnabling No Override

No Override:No Override:Overrides Block Overrides Block Inheritance and GPO Inheritance and GPO conflictsconflicts

Should be set high in Should be set high in the Active Directory treethe Active Directory tree

Is applicable to links and Is applicable to links and not to GPOsnot to GPOs

Enforces corporate-wide Enforces corporate-wide rulesrules

Sales

Production

Domain

Domain GPO settings applyDomain GPO settings apply

Conflicting GPO Settings

Conflicting GPO Settings

No Override GPO SettingsNo Override GPO Settings

Page 21: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Filtering Group Policy SettingsFiltering Group Policy Settings

Domain

Sales

Mengph

Kimyo

Group Deny Apply Group Policy

Deny Apply Group Policy

Allow Read and Apply Group

Policy

Allow Read and Apply Group

Policy

Filter Group Policy Settings by:

Explicitly denying the Apply Group Policy permission

Omitting an explicit Apply Group Policy permission

Page 22: Corso referenti S.I.R.A. – Modulo 2 07 – Group Policy 20/11 – 27/11 – 05/12 11/12 – 13/12 (gruppo 1) 12/12 – 15/12 (gruppo 2) Cristiano Gentili, Massimiliano

Delegating Administrative Control of Group PolicyDelegating Administrative Control of Group Policy

Enable a User to Manage Group Policy Links for a Site, Enable a User to Manage Group Policy Links for a Site, Domain, or OU by:Domain, or OU by:

Assigning the user read and write permissions to the gPLink and Assigning the user read and write permissions to the gPLink and gPOptions attributes of the site, domain, or OUgPOptions attributes of the site, domain, or OU

Using the Delegation of Control wizard Using the Delegation of Control wizard

Enable a User or Group to Create GPOs by:Enable a User or Group to Create GPOs by: Adding the user or group to the Group Policy Creator Owners Adding the user or group to the Group Policy Creator Owners groupgroup

Enable a User to Edit GPOs by:Enable a User to Edit GPOs by:Assigning the user read and write permissions to the GPOAssigning the user read and write permissions to the GPO

Making the user a member of either Domain Admins, Enterprise Making the user a member of either Domain Admins, Enterprise Admins, or GPO Creator Owners groupsAdmins, or GPO Creator Owners groups

Granting the user access to the GPO by using the Security tab in Granting the user access to the GPO by using the Security tab in the GPO Properties dialog boxthe GPO Properties dialog box