IncidentResponsev2

Enforce Group Policy Compliance

Task Enforce Group Policy Compliance Across Workstations and Servers

Conditions

Given a target Domain, domain credentials with appropriate permissions, and systems joined to Active Directory, the operator will validate and enforce Group Policy Objects (GPO) to ensure security baselines and containment policies are in effect.

Operator Note: During an incident, it is critical that GPOs apply immediately and accurately to reduce attacker freedom of movement and ensure systems are properly hardened.

Standards

End State

Group Policy is confirmed to be applied to all in-scope systems and verified as compliant with incident containment requirements.


Notes


Manual Steps

Method 1: Group Policy Management Console (GPMC)

Open GPMC

gpmc.msc

Method 2: Force GPO Refresh (gpupdate)

On local or remote systems:

gpupdate /force

Operator Note: /force reapplies all policies, not just those that have changed.

Remote with PowerShell (single system):

Invoke-GPUpdate -Computer "Workstation01" -Force

Remote with PowerShell (bulk systems):

Get-ADComputer -Filter * -SearchBase "OU=Workstations,DC=example,DC=com" |
ForEach-Object {
    Invoke-GPUpdate -Computer $_.Name -Force
}

Operator Note: Ensure WinRM is enabled for remote PowerShell invocation.


Method 3: Validate GPO Application

Use Resultant Set of Policy (RSOP)

rsop.msc

Or via PowerShell:

Get-GPResultantSetOfPolicy -ReportType Html -Path ".\GPOReport.html"

Operator Note: This produces a full report of applied GPOs for validation.


Method 4: Local Group Policy Object (Optional for non-domain systems)

LGPO.exe /b backup_folder
LGPO.exe /g

Operator Note: LGPO.exe is useful for standalone hosts but normally unnecessary in domain environments.


Running Script (Bulk Update Example)

$Computers = Get-ADComputer -Filter * -SearchBase "OU=Workstations,DC=example,DC=com"

foreach ($Computer in $Computers) {
    Invoke-GPUpdate -Computer $Computer.Name -Force
}

Operator Note: This ensures that all workstations receive updated GPO during containment.


Dependencies


Other Available Tools

Tool Platform Use Case
GPMC (gpmc.msc) Windows Primary policy management and enforcement
gpupdate (cmd) Windows Local refresh
Invoke-GPUpdate (PowerShell) Windows Remote refresh
rsop.msc Windows Validate resultant set of policies
LGPO.exe Windows Standalone hosts or forensic application of local policy

Operator Recommendations and Additional Tools

Operator Checklist

Best Practices


References

Group Policy Management Console (GPMC)
GPUpdate command documentation
PowerShell Invoke-GPUpdate
LGPO Utility


Revision History

Date Version Description Author
2025-05-02 1.0 Fully generated operator guide for enforcing GPO with methods, validation, and best practices Leo