Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 12, 2007

How can I view the Resultant Set of Policy (RSOP) from the command line?

RSS
Subscribe to Windows IT Pro | See More Tips Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. Windows offers the GPResult command-line tool, which, when run with no parameters, displays the GPOs that affect the currently logged-on user for the local machine.

By default, GPResult doesn’t display the actual policies, but these can be displayed by adding the /V switch (/Z gives a super-verbose mode that displays all the settings that attempted to be applied, even those that were overwritten by a higher-precedence GPO). Below is a sample non-verbose output:

RSOP data for SAVILLTECH\john on SAVDALWKS01 : Logging Mode
------------------------------------------------------------

OS Configuration: Member Workstation
OS Version: 6.0.6000
Site Name: Dallas
Roaming Profile: N/A
Local Profile: C:\Users\john
Connected over a slow link?: No

COMPUTER SETTINGS
------------------
CN=SAVDALWKS01,CN=Computers,DC=savilltech,DC=net
Last time Group Policy was applied: 9/4/2007 at 1:44:34 PM
Group Policy was applied from: savdaldc01.savilltech.net
Group Policy slow link threshold: 500 kbps
Domain Name: SAVILLTECH
Domain Type: Windows 2000

Applied Group Policy Objects
-----------------------------
Default Domain Policy

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Office 2007 Installation
Filtering: Denied (WMI Filter)
WMI Filter: 1TB C: drive disk space check

Block Software
Filtering: Not Applied (Empty)

Local Group Policy
Filtering: Not Applied (Empty)

The computer is a part of the following security groups
-------------------------------------------------------
BUILTIN\Administrators
Everyone
BUILTIN\Users
NT AUTHORITY\NETWORK
NT AUTHORITY\Authenticated Users
This Organization
SAVDALWKS01$
Domain Computers
System Mandatory Level

USER SETTINGS
--------------
CN=John Savill,CN=Users,DC=savilltech,DC=net
Last time Group Policy was applied: 9/4/2007 at 1:44:34 PM
Group Policy was applied from: savdaldc01.savilltech.net
Group Policy slow link threshold: 500 kbps
Domain Name: SAVILLTECH
Domain Type: Windows 2000

Applied Group Policy Objects
-----------------------------
Default Domain Policy
Block Software

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Office 2007 Installation
Filtering: Denied (WMI Filter)
WMI Filter: 1TB C: drive disk space check

Local Group Policy\Administrators
Filtering: Not Applied (Empty)

Local Group Policy
Filtering: Not Applied (Empty)

The user is a part of the following security groups
---------------------------------------------------
Domain Users
Everyone
Netmon Users
BUILTIN\Users
BUILTIN\Administrators
NT AUTHORITY\INTERACTIVE
NT AUTHORITY\Authenticated Users
This Organization
LOCAL
Domain Admins
Group Policy Creator Owners
MOM Admins
Enterprise Admins
High Mandatory Level If you want to generate RSOP for other users and computers via GPResult, use the /s switch to name the system, and use /u to name the user. For example,

gpresult /s machine /user domain\user /v

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

Microsoft Touts Xbox 360 'Black Friday' Success

Microsoft this week revealed that its Xbox 360 video game console outsold its Sony PlayStation 3 rival 3-to-1 on "Black Friday," which curiously describes the three day weekend after Thanksgiving, a period that unofficially kicks off the holiday selling ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing