Skip to content
WETNav

Discovery · Windows

gpresult.exe

Group Policy Results

Shows the Group Policy settings applied to a user and computer. Used to learn security settings, logon scripts and group memberships.

Legitimate use

Used to troubleshoot which policies apply.

Worst caseMedium

Switches

/r

Summary of applied policy.

Low
/z

Super-verbose output with every setting.

Low
/v

Verbose output.

Low
/h<value>

Writes an HTML report to a file.

Low
/x<value>

Writes an XML report to a file.

Low
/s<value>

Queries a remote computer.

Medium
/scope<value>

Limits output to user or computer policy.

Info

Where it is recorded

  • Security4688Process creation with the full command line, when command-line auditing is enabled.
  • Sysmon1Process creation with command line, hashes and parent process.

Community detections

1 SigmaHQ rule for gpresult.exe. The explainer checks every pasted command line against all of them.

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.