Thomas Lee
Chief Technologist – QA plc
•
•
•
•
Definitions
History
Local/Group/System Policy
Admin Pack
•
•
User Profiles
– User Data and Settings…
– Outlook settings
Local/Group/System Policy
– Allows administrative control of settings
– Local Policy
Windows XP workstations
– Group Policy
Windows 2000/.Net Domains
– System Policy
NT4 Domains
•
•
•
•
Default user data
– Hard to deploy customized app
– Used empirical methods to find reg keys
Mandatory user data
– Lots of settings with no policies
– Confusion about default policies
Multiple user scenario
– Setup only writes user data for the user who installed the app
Registry Tattooing
Architecture
•
•
•
Office apps always write to their own areas
- never to Policies hive
Policy templates write to
HKCU\Software\Policies hive
Differences from System Polices in
NT4/WIn9x
– Policies can be undone
– Policy reapplied at each app boot
– Policy reapplied without user logon
– Policy reapplied while user is logged on
•
•
•
•
ADM files describe polices
Template policies result in registry settings
Registry settings automatically applied to user environment
Applications that understand the policies can look for these settings
•
•
Reside in %systemroot%\inf
Simple structure - user Extensible
CLASS MACHINE
CATEGORY !!WindowsComponents
CATEGORY !!WindowsUpdateCat
POLICY !!ImmediateInstall_Title
KEYNAME "Software\Policies\Microsoft\Windows\WindowsUpdate\AU"
#if version >= 4
SUPPORTED !!SUPPORTED_WindowXPSP1
#endif
VALUENAME "AutoInstallMinorUpdates"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
[strings]
WindowsComponents="Windows Components"
WindowsUpdateCat="Windows Update“
ImmediateInstall_Title="Allow Automatic Updates immediate installation"
•
•
•
•
•
•
Domain
Tree
Forest
Objects
Attributes
OU
Domain Tree
Domain
Domain
Domain
GC
Domain Domain
Objects
OU
Domain
Organizational Unit
OU
Domain
OU
Forest
•
•
•
Domain/OU/Site objects
– Have GPLINK property which points to…
Policy Container
– Contains all the policies for the domain which points to…
Sysvol on DCs
– Contain the actual policy
•
•
•
Computer
– Only affects Computer objects in an OU
User
– Only affects User objects in an OU
Polices can affect one or both
•
•
•
Enforce Security
Deploy Software
Enforce Settings
•
•
•
•
•
Disable menus and tool buttons
Disabled items are gray in UI
Tool tip is customizable
Predefined are easy
Any command bar item can be disabled.
•
• Secedit can be used to configure local group policy for:
– Account and local policies
– Event log
– Restricted groups
– File system, registry, system services
For administrative & application template settings:
– configure one machine manually
– Copy %systemroot % \system32\GroupPolicy to new machines
•
•
•
•
•
•
•
New UI for managing Group Policy
Reporting
Search
Resultant Set of Policy (RSoP) integration
Backup/Restore
Copy/Paste and Import
Scripting of GPO operations (not settings)
•
•
GPO Scope is managed by
– Linking GPOs to an Active Directory Container
(Sites, Domains and OUs)
– Adding Security Filters to a GPO
– Adding WMI Filters to a GPO
Group Policy inheritance can be altered by
– Changing GPO link order
– Enforce (previously No Override)
– Block Inheritance
•
•
Windows 2000 Admin Pack will not work with Windows XP
Windows 2003 Admin Pack does
– Requires XP SP1 (or see KB 329357)
– Get download from: http://tinyurl.com/ab7q
•
•
•
•
Local Policy
ADM files
Policy architecture inside AD
Managing Scope
•
•
•
•
•
Manages Active Directory Group Policy
Free download
Used in Windows 2000 and Windows 2003 domains
Runs on Windows XP SP1 and Windows
2003 Server
GPMC Rocks
•
•
•
•
•
•
•
New UI for managing Group Policy
Reporting
Search
Resultant Set of Policy (RSoP) integration
Backup/Restore
Copy/Paste and Export/Import
Scripting of GPO operations
•
•
•
Shows conflict resolution of policy settings
Example
– Both GPO A and GPO B apply to same user
• GPO A sets Wallpaper = Red Moon Desert
• GPO B sets Wallpaper = Bliss
– RSoP data tells you
• Which setting ultimately “wins”
• Which GPO set that winning setting
• Precedence info (the “losing” GPOs)
Allows you to more easily plan and troubleshoot Group Policy deployments
•
•
•
GPMC User Interface
Backup/Restore of Policies
RSOP
•
•
•
Limit who can create and modify GPOs
Use Enforce/Block Inheritance and Deny sparingly
Consider loopback for some scenarios
– Applies user settings based on the location of the computer (not just the user)
– Example: Exchange admin logging on to an
Exchange server – don’t want user assigned applications to be applied
– Consider for closely managed environments such as labs, servers (Exchange, IIS, etc) and terminal servers
•
•
• Fewer GPOs per user/computer is better - but GPO contents are more important
Avoid cross-domain GPO linking
Use WMI Filters sparingly
•
•
Stage policy deployments prior to production deployment
– Staging domain is easy to build using
GPMC
Roll out major changes to Group
Policy incrementally
•
•
•
Plan carefully
– Policy design can drive OU design
– OU design can drive policy design
Test, test, test
Use GPMC
•
•
•
•
Group Policy Web sites
– www.microsoft.com/grouppolicy
– www.microsoft.com/technet/grouppolicy
GPMC Web site www.microsoft.com/windowsserver2003/gpmc/
Scripting resources
– 32 sample scripts included with the product
• %programfiles%\gpmc\scripts
– GPMC SDK
• %programfiles%\gpmc\scripts\gpmc.chm
• Also in Platform SDK
Newsgroup
– microsoft.public.windows.group_policy