How to check what Group Policy Objects are being applied using gpresult
Published February 03, 2024 by Danny Moran
Table of Contents
Introduction
Learn how to check which group policies are applied to the logged-in user. In this example, I show you how to use the gpresult command to view a list of which group policy objects are applied to the current workstation or server session and how to export those to an HTML file to see the exact policy settings.
Video
Commands
NOTE: If the user that is running the command is not a local Administrator on the machine, then it will only show the GPOs applied to the user. Run
cmd
as an Administrator to see the GPOs applied to the machine.
To see a list of what Group Policy Objects are applied to a user or machine, run the below command:
gpresult -r
To export a list of applied Group Policy Objects and their settings, run the below command:
gpresult -h "C:\Users\%username%\Desktop\gpo-export.html"