IncidentResponsev2

Export Group Policy Objects (GPOs) from Active Directory

Task Export Group Policy Objects (GPOs) from Active Directory

Conditions

Given access to a Domain Controller (DC), domain account with the required permissions, and a workstation with Remote Server Administration Tools (RSAT).

Operator Note: Exporting Group Policy Objects provides visibility into enforced security settings, startup scripts, and other critical system configuration controls.

Standards

Operator Note: Consider both human-readable (HTML/Report) and machine-parseable (XML or Backup) formats.

End State

All Group Policy Objects have been exported to local files, organized for offline review and analysis.


Notes


Manual Steps

PowerShell Method (Preferred)

Import GroupPolicy module:

Import-Module GroupPolicy

Export GPO metadata and display properties:

$GPOs = Get-GPO -All -Server <DomainController> | Select-Object ID, Path, DisplayName, GPOStatus, WMIFilter, CreationTime, ModificationTime, User, Computer
$GPOs | Export-Csv ".\GPO_Metadata.csv" -NoTypeInformation

Export full GPO Backup (Best method for forensic review):

Backup-GPO -All -Path "C:\GPO_Backups"

Operator Note: Backup-GPO includes all settings, links, and can be restored or reviewed later using Get-GPOReport.

Export GPO into human-readable format (HTML Report):

Get-GPO -All | ForEach-Object {
    Get-GPOReport -Name $_.DisplayName -ReportType Html -Path ".\Reports\$($_.DisplayName).html"
}

Operator Note: HTML reports are useful for offline review and presentations.


Group Policy Management Console (GPMC) GUI (Alternative)

Operator Note: This is suitable for single or selective GPO exports.


Running Script

Import-Module GroupPolicy
Backup-GPO -All -Path "C:\GPO_Backups"

Dependencies


Other Available Tools

Tool Platform Use Case
PowerShell + GroupPolicy module Windows Full export + reports + backup
GPMC GUI Windows Manual single GPO export
AGPM (Advanced Group Policy Management) Windows (Optional) Centralized change auditing and rollback

Operator Recommendations and Additional Tools

Operator Checklist

Best Practices


References

Group Policy Cmdlets
Backup-GPO Documentation
PowerShell GPO Examples


Revision History

Date Version Description Author
2025-05-02 1.9 Full original + enriched operator procedures, GUI + PowerShell, operator recommendations and alternate tooling Leo