group policy preferences, templates, and scripting

25
Group Policy Preferences, Templates, and Scripting Level 300

Upload: microsoft-technet

Post on 01-Nov-2014

7.676 views

Category:

Technology


1 download

DESCRIPTION

In this session we will explore the enhancements to the Group Policy system within Windows Server 2008 and Windows Vista. We will cover the new features in these two products specific to Group Policy and Group Policy processing. The session will then look at the new Group Policy Preferences, explain what they are and how to use them. We will also cover the template format, again looking at its structure and how to use it. Finally we will look at some scripting features of Group Policy and how to use script to automate some Group Policy functions.

TRANSCRIPT

Page 1: Group Policy Preferences, Templates, And Scripting

Group Policy Preferences, Templates, and Scripting

Level 300

Page 2: Group Policy Preferences, Templates, And Scripting

• New Group Policy Features

• Group Policy Preferences

• Administrative Templates

• Managing Group Policy Through Scripting

What Will We Cover?

Page 3: Group Policy Preferences, Templates, And Scripting

• Reviewing New Group Policy Features

• Using Group Policy Preferences

• Exploring the New Template Format

• Scripting Group Policy

Agenda

Page 4: Group Policy Preferences, Templates, And Scripting

New Features of Group Policy

New Policy Management Settings

Starter Group Policy Objects (GPOs)

Network Location Awareness

Comments for GPOs and Policy Settings

Page 5: Group Policy Preferences, Templates, And Scripting

Group Policy Enhancements

Group Policy ServiceComplete isolation from Winlogon

Events and LoggingNo longer relies on trace logging found in userenv.log

Multiple Local GPOsExtends managing shared computing on a single computer

Finding Specific Administrative Template Policy Settings

New options for searching and filtering Administrative Template policy settings

Page 6: Group Policy Preferences, Templates, And Scripting

demonstrationReviewing Group Policy Features

Explore New Group Policy Management Settings

Review Starter Group Policy ObjectsConfigure Multiple Local Group Policy

Objects

Page 7: Group Policy Preferences, Templates, And Scripting

• Reviewing New Group Policy Features

• Using Group Policy Preferences

• Exploring the New Template Format

• Scripting Group Policy

Agenda

Page 8: Group Policy Preferences, Templates, And Scripting

Group Policy Preferences

Improves IT Productivity

Reduces Need for Logon Scripts

Limits Configuration Errors

Enhances End-User Satisfaction

Minimizes Image Maintenance

Reduces Overall Image Count

Page 9: Group Policy Preferences, Templates, And Scripting

Group Policy Preference SettingsCreate

Create dynamic drive mapping to network share

ReplaceDelete and recreate mapped drive

UpdateModify settings of an existing mapped drive

DeleteDelete mapped drive or mapped drives

Page 10: Group Policy Preferences, Templates, And Scripting

Preferences vs. Policy SettingsGroup Policy Preferences Group Policy Settings

Enforcement • Preferences are not enforced.• User interface is not disabled.• Can be refreshed or applied once.

• Settings are enforced.• User interface is disabled.• Settings are refreshed.

Flexibility • Easily create preference items for registry settings and files.

• Import individual registry settings or entire registry branches.

• Adding requires application support and creating administrative templates.

• Cannot create policy settings to manage files or folders.

Local Policy • Not available in local Group Policy. • Available in local Group Policy.

Awareness • Supports non-Group Policy–aware applications.

• Requires Group Policy–aware applications.

Storage • Original settings are overwritten.• Removing the preference item does not restore the original setting.

• Original settings are not changed.• Stored in registry policy branches.• Removing setting restores original settings.

Targeting and Filtering

• Targeting is granular, with a user interface for each type of targeting item.

• Supports targeting at the individual preference item level.

• Filtering is based on Windows Management Instrumentation (WMI) and requires writing WMI queries.

• Supports filtering at a GPO level.

User Interface • Provides a familiar, easy-to-use interface for configuring most settings.

• Provides an alternative user interface for most policy settings.

Page 11: Group Policy Preferences, Templates, And Scripting

demonstrationUsing Group Policy Preferences

Explore Group Policy PreferencesConfigure Group Policy Settings and

PreferencesLog In and Review Group Policy

Preferences and Settings

Page 12: Group Policy Preferences, Templates, And Scripting

• Reviewing New Group Policy Features

• Using Group Policy Preferences

• Exploring the New Template Format

• Scripting Group Policy

Agenda

Page 13: Group Policy Preferences, Templates, And Scripting

ADMX Administrative Template Files

XML-Based Policy Definition Files

Central Store of ADMX Files

Manage Both ADMX and ADM Files

Convert ADM Files to ADMX Format

Multilanguage Support

Page 14: Group Policy Preferences, Templates, And Scripting

demonstrationExploring the ADMX Template Format

Explore ADMX Administrative Template Files

Configure the Central StoreExplore ADMX Filter Options

Page 15: Group Policy Preferences, Templates, And Scripting

• Reviewing New Group Policy Features

• Using Group Policy Preferences

• Exploring the New Template Format

• Scripting Group Policy

Agenda

Page 16: Group Policy Preferences, Templates, And Scripting

Scripting and the GPMC

http://go.microsoft.com/fwlink/?LinkId=109520

Page 17: Group Policy Preferences, Templates, And Scripting

Scripts for Managing Group Policy

Make Cscript.exe default scripting host

Lib_CommonGPMCFunctions.js should be in same location as scripts

Import and Export GPOs

Copy and Paste GPOs

Back Up and Restore GPOs

Search for Existing GPOs

Group Policy Modeling

Group Policy Results

Support for Migration Tables

Reporting Capabilities

Page 18: Group Policy Preferences, Templates, And Scripting

GPMC Interfaces

• IGPMGPO Interface– CopyTo

– GenerateReport

• IGPMRSOP Interface– CreateQueryResults

– GenerateReporthttp://msdn.microsoft.com/en-us/library/aa814147(VS.85).aspx

Page 19: Group Policy Preferences, Templates, And Scripting

demonstrationScripting Group Policy

Review GPMC Sample ScriptsRun GPMC Scripts

Page 20: Group Policy Preferences, Templates, And Scripting

• There are many exciting new Group

Policy features in Windows Server 2008

• Take advantage of Group Policy

Preferences

• Almost all the functionality of GPMC can

be scripted

Session Summary

Page 21: Group Policy Preferences, Templates, And Scripting

Visit TechNet at: technet.microsoft.com

Also, visit TechNet Edge at:

edge.technet.com

and TechNet Spotlight at:

www.microsoft.com/emea/spotlight

Or, visit www.microsoft.com/technet/srv-302

for additional information about this session

Where to Find More Information

Page 22: Group Policy Preferences, Templates, And Scripting

For more titles, visit

www.microsoft.com/technet/srv-302

Supporting Publications

Page 23: Group Policy Preferences, Templates, And Scripting

Course ID Title

6436A Designing a Windows Server 2008 Active

Directory Infrastructure and Services

For more training information

www.microsoft.com/technet/srv-302

Training Resources

Page 24: Group Policy Preferences, Templates, And Scripting

Become a Microsoft Certified Professional

• What Are MCP Certifications?

Validation in performing critical IT functions

• Why Certify?

WW recognition of skills gained via experience

More effective deployments with reduced costs

• What Certifications Are There for IT Pros?

MCTS, MCITP

www.microsoft.com/certification

Page 25: Group Policy Preferences, Templates, And Scripting

TechNet PlusTechNet Plus is an essential, premium, Web-enabled, and live support resource that provides IT Professionals with fast and easy access to Microsoft experts, software, and technical information, enhancing IT productivity, control, and planning.

Evaluate and Learn Plan and Deploy Support and Maintain

Use the TechNet Library to plan for deployment using the Knowledge Base, resource kits, and technical training

Use exclusive tools, like System Center Capacity Planner, to accurately plan for and deploy Exchange Server and System Center Operations Manager

Stay informed with your free subscription to TechNet Magazine

Two complimentary Professional Support incidents for use 24/7 (20-percent discount on additional incidents)

Access more than 100 managed newsgroups, and get next business day response—guaranteed

Use the TechNet Library to maintain your IT environment with security updates, service packs, and utilities

Get all these resources and more with a TechNet Plus subscription.For more information, visit: technet.microsoft.com/subscriptions

Evaluate full versions of all Microsoft commercial software for evaluation—without time limits; this includes all client, server, and Microsoft Office system applications

Try out all the latest betas before public release

Keep your skills current with quarterly training resources, including select Microsoft E-Learning courses