Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Hi,

 

I have a GPO here that deletes the user profiles upon logoff. It doesn't seem to be working - yet it did work for a while.

 

Isn't there a command I can run on machines that tells me which GPOs have been applied to a particular machine?

 

GJE

Posted

When logged in run RSOP.msc - this will show you all gpo's that have been applied and any errors that have occured.

 

This will only show the group policy's for the currently logged in user

Posted

I think what you're after is gpresult.

 

It has the following switches:

- /s - denotes a remote system to connect to

- /u - denotes the user to run under

- /p - the user's password, it'll ask you for one if you leave it out

- /scope - whether to display user or computer settings

- /user - denotes the user to analyse

- /v - verbose information, gives additional information on policies applied with a high precedence

- /z - super-verbose, gives information on all policies applied with precedence of 1 and higher, useful for check if it has been applied in multiple places

 

Type /? to get the above information.

 

Since it tends to display a lot of information I usually pipe the result into a text file which can then be checked at leisure. ( > filename dumps the results into a designated file)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...