GROUP POLICY COURSE · PAGE 12 OF 14

Sysinternals and NirSoft tools for Group Policy

Process Monitor, PsExec, AD Explorer, Autoruns, AccessChk and Sysmon, plus NirSoft RegistryChangesView, RegScanner, FullEventLogView and AdvancedRun, used for Group Policy work.

Why extra tools

gpresult tells you what Group Policy thinks it applied. The tools on this page show what really happened on disk, in the registry, in the event logs and in Active Directory: which process wrote a value, which permission blocked a GPT file, which LDAP query was slow. All are free downloads; run them from a trusted share or install them with winget.

Sysinternals tools for Group Policy

ToolGroup Policy use
Process MonitorFilter Operation is RegSetValue / RegDeleteValue and Path contains \Policies\, then run gpupdate /force: you see every value the Registry extension writes and deletes. Filter on \SYSVOL\ to catch access-denied or path-not-found on GPT files. Use Enable Boot Logging to capture startup policy processing.
PsExecpsexec -s cmd opens a shell as SYSTEM, the account that processes computer policy: test SYSVOL access with the computer's identity. psexec \\PC01 gpupdate /force refreshes a remote machine.
AD ExplorerBrowse CN=Policies,CN=System to read a GPO's versionNumber, gPCFileSysPath, gPCMachineExtensionNames and gPCWQLFilter; read gPLink and gPOptions on OUs. Take snapshots before and after a change and compare them.
AD InsightTraces the LDAP calls a process makes. Attach to the Group Policy service host to see the queries for GPO lists, WMI filters and site lookups, and which one is slow or failing.
AutorunsShows startup and logon programs and scripts, including ones set by policy keys, so you can spot leftovers from old GPOs.
AccessChkaccesschk -d "\\corp.contoso.com\SYSVOL\corp.contoso.com\Policies\{GUID}" checks who can read or write a GPT folder; accesschk -k hklm\software\policies checks registry ACLs.
Process ExplorerFind which svchost.exe hosts the Group Policy service (gpsvc) and inspect its threads and handles when processing hangs.
SysmonRegistry events (IDs 12, 13, 14) on Policies keys give a permanent audit trail of who changed a policy value outside Group Policy.
LogonSessions / PsLoggedOnCheck who is signed in before a remote Results report, and which sessions a user refresh will touch.

More Sysinternals use cases for AD are on ad.cloudschool.ai/sysinternals, and for the registry on the Registry Academy.

NirSoft tools for Group Policy

ToolGroup Policy use
RegistryChangesViewTake a registry snapshot, apply or remove a GPO and run gpupdate /force, then compare: the exact list of added, changed and deleted values. The quickest way to prove whether a setting tattoos.
RegScannerSearch the whole registry for a value name or data (for example every value under any Policies key, or a server name left by an old GPO).
FullEventLogViewRead Microsoft-Windows-GroupPolicy/Operational, System and Application events together, from local or remote machines, with a time filter around a gpupdate.
AdvancedRunStart a tool as SYSTEM or another user to reproduce how a policy behaves for that identity.
RegFileExportExport keys from an offline hive or a user's NTUSER.DAT to see the user policy values a profile carries.

Some antivirus products flag NirSoft tools as potentially unwanted because they can read stored passwords. Download them from nirsoft.net only, check the hash, and keep them on admin workstations.

Microsoft's own Group Policy tools

  • Policy Analyzer (Security Compliance Toolkit): compares GPO backups, local policy and baselines side by side and finds conflicts and redundant settings.
  • LGPO.exe: local policy backup, restore and Registry.pol parsing (LGPO.exe /parse /m <file>).
  • Group Policy Search and the Group Policy Settings Reference spreadsheet: older Microsoft resources; the policy browser covers the same ground from current templates.
  • TSS (TroubleShootingScript) with the Group Policy scenario: collects gpresult, gpsvc logs, event logs and traces for a support case.