Home > Commands A-M > Commands G

GPRESULT


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Displays Group Policy settings and Resultant Set of Policy (RSOP) for a user or a computer.


Syntax

GPRESULT /?

GPRESULT [/s computer [/u [Domain\]User /p password]] [/user user_name] [/scope value] [/v | /z]


Parameters

none.


Switches
/? (NTXP)
Displays help.
/p password (NTXP)
Specifies the password of the user account that is specified in /u.
/s computer (NTXP)
Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/scope value (NTXP)
Displays either user or computer results. Valid values are: If omitted, displays both user and computer settings.
/u [Domain\]User (NTXP)
Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
/user user_name (NTXP)
Specifies the user name of the user whose RSOP data is to be displayed.
/v (NTXP)
Specifies that verbose event information be displayed in the output.
/z (NTXP)
Specifies that the output display all available information about Group Policy. Because this switch produces more information than /v, redirect output to a text file when used.

Related

none.


Notes

Group Policy is the primary administrative tool for defining and controlling how programs, network resources, and the operating system operate for users and computers in an organization. In an Active Directory environment, Group Policy is applied to users or computers on the basis of their membership in sites, domains, or organizational units.

Because you can apply overlapping levels of policies to any computer or user, the Group Policy feature generates a resulting set of policies at logon. Displays the resulting set of policies that were enforced on the computer for the specified user at logon.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003