O'Reilly logo

Windows Server 2003 in a Nutshell by Mitch Tulloch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

gpresult — new in WS2003

Synopsis

Displays the Resultant Set of Policy (RSoP) settings for a target user on a specified computer.

Syntax

gpresult [/s Computer [/u Domain\User /p Password]] [/user TargetUserName] 
  [/scope {user | computer}] [{/v | /z}]

Options

None

Displays RSoP settings for currently logged-on user

/s Computer /u [Domain\]User /p [Password]

Name or IP address of a remote computer (if omitted, defaults to local computer) and credentials for running the script (if omitted, defaults to SYSTEM built-in identity)

/user TargetUserName

User whose RSOP data is displayed

/scope {user | computer}

Displays user or computer portion of Group Policy settings (if omitted, defaults to both)

/v

Verbose output

/z

Even more verbose output

Examples

While logged on as Administrator, display both user and computer Group Policy settings for self:

                     gpresult Microsoft (R) Windows (R) Operating System Group Policy Result tool v2.0 Copyright (C) Microsoft Corp. 1981-2001 Created On 3/26/2003 at 3:26:20 PM RSOP data for MTIT\Administrator on ESRV210D : Logging Mode ------------------------------------------------------------ OS Type: Microsoft(R) Windows(R) Server 2003, Enterprise Edition OS Configuration: Primary Domain Controller OS Version: 5.2.3763 Terminal Server Mode: Remote Administration Site Name: Default-First-Site Roaming Profile: Local Profile: C:\Documents and Settings\Administrator Connected over a slow link?: No COMPUTER SETTINGS ------------------ CN=ESRV210D,OU=Sales,DC=mtit,DC=local ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required