GPRESULT

(from Group Policy Resultant)

Displays Resultant Set of Policy (RSoP) information for a specified user or computer on a system.

GPRESULT [/S system [/U username [/P [password]]]] [/SCOPE scope] [/USER username2] [/R | /V | /Z]

Where:

  • /S system - Specifies the remote system to connect to. If not specified, the local system is used.
  • /U username - Specifies the user to log in as when running the operation. If needed, include the domain in the format domain\username.
  • /P [password] - Specifies the password for username. If omitted, the user will be prompted.
  • /SCOPE scope - Specifies the scope of settings to display. scope can be USER or COMPUTER.
  • /USER username2 - Specifies the target user whose RSoP information is to be displayed. Include the domain if necessary, using the format domain2\username2.
  • /R - Displays a summary of the Resultant Set of Policy.
  • /V - Enables verbose mode (more detailed output).
  • /Z - Displays even more detailed information.

Examples:

1. Displays a summary of Resultant Set of Policy for the current user:

gpresult /r

 

2. Displays very detailed Resultant Set of Policy information for computer settings of user WitchHazel on the remote machine with IP 13.6.6.6:

gpresult /s 13.6.6.6 /user WitchHazel /scope computer /z

 

3. Displays detailed Resultant Set of Policy information settings for average user on remote machine myneighbor, logging in with account luser and password passwrod (yes, they misspelled it and don't know how to change it):

gpresult /s myneighbor /u luser /p passwrod /user average /scope user /v

Comments