Clyde G. Johnson
Test Environment Tools of the trade Demo Central Store Show Group Policy Spreadsheets Demo Planning and Deployment
Mine is built in VMware Workstation ◦ Windows 2003 domain controller / file server ◦ Windows XP client ◦ Windows 7 client Windows 2003 Domain / forest Used GPMC scripts to import my environment Isolated from production network
RSAT ◦ Installs WS2008R2 administration tools on Windows 7 computers for remote management ◦ Enables GUI-based remote management for full server and server core installations ◦ Download GPMC ◦ Part of Windows 7 and 2008 R2 Security Compliance Manager
Install RSAT Install GMPC Show SCM ◦ Export as spreadsheet ◦ Export as GPO
Centralized Repository for ADMX Files One-time creation and population of central store per domain Replicated to all domain controllers Helps prevent “GPO bloat” Contains all ADMX templates including Office 2010 and IE 8.0 Located in Sysvol (case sensitive) [sysvol]\ \policies\PolicyDefinitions
Sample
It’s a “good thing” if you: Test -> Stage -> Test -> Deploy -> Validate For significant functional changes, consider a pilot. ◦ Don’t limit the pilot to just IT Staff – they often know how to workaround/resolve issues! Some GPMC features are specifically focused on testing/staging/piloting/deploying GPOs ◦ Group Policy Modeling (more elegant face on RSoP Planning) ◦ Backup/Copy/Import (including migration tables) ◦ Specific “sample” scripts - particularly CreateXMLFromEnvironment and CreateEnvironmentFromXML (optionally include users and groups) ◦ Documentation: HTML or XML Reports
Start small and build… ◦ Security (SCM) ◦ Firewall ◦ Folder Redirection ◦ OS / Application Configuration ◦ IE Maintenance ◦ Software Installation ◦ Segregate and congregate
1. Per Group Policy Object (GPO) 2. Per Group Policy setting 3. Per Group Policy Preference (GPP) Item
Administrative Log Applications and services log XML Based event logs New Tools - GPOLogView
LGPO’s LGPO Admin User User Specified Group Policy Admin/Non-Admin Group Policy Local Computer Policy Multple local GPO’s
Folder Redirection Offline Files (encrypted) – Mobile only
Do not pre-create folders (ACL issues) Do not redirect Application Data folder (particularly if logged on from multiple computers): ◦ Exclusive locks ◦ Absolute paths ◦ Network latency You cannot redirect to a mapped drive (folder redirection occurs before mapping of drives)
25 PowerShell cmdlets for Group Policy scripting GPO operations: creation, removal, backup, and import GPO link operations: creation, update, and removal Setting inheritance flags and permissions on Active Directory organizational units (OUs) and domains GPO Settings: Creating, update, retrieval, removal ◦ Only registry-based policy settings (Administrative Templates) GPP Settings: Creating, update, retrieval, removal ◦ No Item-Level Targeting Starter GPOs operations: creation and update
Backup-GPO –all –path ‘C:\BackupFiles\’ Backup all GPO’s in current domain to directory Get-GPResultantSetofPolicy -ReportType - html -Path D:\ConfigDocuments\Reports\ Get RSoP for local computer and logged on user in html form Copy-GPO -SourceName TestGpo1 - SourceDomain test.contoso.com TargetName TestGpo1 -TargetDomain sales.contoso.com Copy a GPO across domains Set-GPRegistryValue -Name "TestGPO" -key "HKCU\Software\Policies\Microsoft\ExampleKey" - ValueName "ValueOne", "ValueTwo", "ValueThree" - Type String -Value "String 1", "String 2", "String 3" Configure a registry key to policy with a set of values
PowerShell Scripts supported in GPO Startup/Shutdown & Logon/Logoff scripts By default, Windows PowerShell scripts run after non-Windows PowerShell scripts
Group Policy TechNet page Group Policy Wiki Group Policy Team Blog Group Policy Settings Reference Remote Server Administration Tools (RSAT) yID=7d2f6ad7-656b-4313-a005-4e344e43997d
New UI: More intuitive, integrated help content, no more tabs Support for: ◦ REG_MultiSZ ◦ REG_QWORD Easier to use authoring experience Support for more data types
Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification & Training Resources