|

FEATURED POSTS

How to Change Outlook Password in 3 Different Ways

How to Change Outlook Password in 2 Easy Steps

Introduction Before you change your Outlook Password you have to first change it with your email provider. The reason...
spotify web player not working

Spotify Web Player Not Working [Fixed]

Introduction Spotify Web Player may stop working for you with the following error messages: "Spotify Web Player an Error...
DISM.exe /Online /Cleanup-Image /Restorehealth

DISM.exe /Online /Cleanup-Image /Restorehealth Explained

What is DISM.EXE /Online /Cleanup-image /RestoreHealth? "DISM.exe /Online /Cleanup-Image /Restorehealth" is a DISM command that repairs issue with the...
DHCP Relay agent

DHCP Relay Agent: Configuration in Windows Server 2016

What is a DHCP Relay Agent? A DHCP Relay Agent allows DHCP clients in a different network subnet to...
ForEach-Powershell

PowerShell ForEach: Syntax, Parameters, Examples

What is PowerShell ForEach? PowerShell ForEach (ForEach PowerShell) is a PowerShell construct used in iterating through values in a...

TRENDING POSTS

Remote Desktop Connection

Remote Desktop Connection an Internal Error Has Occurred [Fixed]

Introduction I recently received the error message "Remote Desktop Connection an Internal Error Has Occurred". It was strange because...

Find My Samsung: Register and Use Samsung Find my Mobile

Introduction Ever wondered how you could find your Samsung phone if you lost it? Find my Samsung or Samsung...
PowerShell vs CMD

Powershell vs CMD: Differences and Similarities Compared

Introduction This short guide compares PowerShell vs CMD (Windows command prompt). I will cover the history and nature of...
Spotify No Longer Supports this Version of Microsoft Edge

Spotify No Longer Supports this Version of Microsoft Edge [Fixed]

Introduction When you open Spotify web player on Microsoft Edge, you may receive the error message "Spotify No Longer...
Windows 10 Won't Boot

Windows 10 Won’t Boot With Black Screen? 3 Ways to Fix It

Why Won't Windows 10 Boot Up? If your Windows 10 stops with a black screen, the first question in...

BEST OF ITECHGUIDES

mobile hotspot greyed out windows 10

Mobile Hotspot Greyed Out on Windows 10, iPhone or Android [Fixed]

Introduction If mobile hotspot is greyed out on windows 10, iPhone or Android it is likely that you do...
PowerShell-NoTypeInformation

Powershell NoTypeInformation: Applications and Examples

Powershell NoTypeInformation: Why So Much Interest? I chose to write on 'Powershell -NoTypeInformation' because so many people ask questions...
PowerShell commands

PowerShell Get-Command: Syntax, Applications, Examples

The PowerShell Get-Command cmdlet ('command let') in my opinion is the first PowerShell command you should know - that is if you...
WSUS

WSUS (Windows Server Update Service): Installation and Configuration

What is WSUS Server? WSUS (Windows Server Update Service) is a Microsoft Server role that allows download and installation...
scanning and repairing drive

Scanning and Repairing Drive Issue on Windows 10 [Fixed]

Introduction A number of Windows 10 users have reported that when they boot their computer it is stuck on...

RECENT POSTS

how to merge cells in excel

How to Merge Cells in Excel in 2 Easy Ways

Introduction You can merge two Cells in Excel using CONCATENATE function or the “&” (ampersand) operator. Though Excel has...
How to Make a Pivot Table in Google Sheets

How to Make a Pivot Table in Google Sheets

Introduction You can make a Pivot Table in Google Sheets to simplify analysis of complex data. A Pivot Table...
how to make Pivot Table

How to Make a Pivot Table in Excel

Introduction A Pivot Table allows you to analyze, summarize and calculate large data to help find relationships. With a...
RAID 3 (Redundant Array of Independent Disks) Explained

RAID 3 (Redundant Array of Independent Disks) Explained

What is RAID 3? RAID 3 is a RAID implementation that uses striping with a dedicated parity disk....
RAID 5 vs RAID 6

RAID 5 vs RAID 6: Differences, Benefits and Disadvantages

What is RAID 5 vs RAID 6? RAID 5 and RAID 6 uses striping with distributed parity technique. However,...
concatenate excel

Concatenate in Excel: How to Concatenate Columns and Strings

What is Concatenate in Excel? Concatenate in Excel is joining two strings into one continuous string. You can join...

How to Add in Excel (Excel Sum) with Examples

Introduction There are different ways to add numbers in Excel. You could simply select the cells containing the data....
Excel Count

Excel Count: How to Count in Excel With Examples

Introduction Excel COUNT Function is used for counting items in a worksheet. Excel COUNT also has the conditional function,...
powershell.exe -command

Powershell.exe Command: Syntax, Parameters and Examples

Introduction You may be wondering why write on Powershell.exe Command. Are there special commands for Powershell.exe? Yes! When you...
how to move columns in excel

How to Move Columns to Rows and Rows to Columns in Excel

Introduction If you receive some Excel data in columns, you can easily move the columns to rows in Excel...

MUST READ

Gmail Search by Date: How to Search Gmail by Date

Introduction You can search Gmail by date for emails sent during certain time period. You could also search Gmail...

Spotify Web Player: Your Definitive Guide

What is Spotify Web Player? Spotify Web Player is a browser-based player that allows you to stream Spotify via...
DISM Host Servicing Process (DismHost.exe)

Dism Host Servicing Process (DismHost.exe), a Malware?

Introduction There are conflicting information about Dism Host Servicing Process (DismHost.exe). Some say it is a genuine Windows process,...
Windows Cannot Find GPEDIT.MSC or GPEDIT.MSC Not Found [Fixed]

Windows Cannot Find GPEDIT.MSC or GPEDIT.MSC Not Found [Fixed]

Introduction If you try opening gpedit.msc from Windows 10 Home you will receive the error message windows cannot find...
Powershell_Arrays

PowerShell Array and Add to Array: Applications and Examples

What is a PowerShell Array? A PowerShell array is a data structure that stores a collection of items. The...

GPRESULT Command: Syntax, Parameters, Examples

-

What is GPRESULT?

GPRESULT is a command line tool that displays the Resultant Set of Policy (RSoP) information for a target user and computer. GPRESULT works on local and remote computers.

In this guide, I will cover GPRESULT syntax, parameters and real examples you can apply in your day to day job as a Windows admin.

GPRESULT Syntax

The syntax of GPRESULT is:

GPRESULT [/S ComputerName [/U username [/P [password]]]] [/SCOPE scope] [/USER targetusername] [/R | /V | /Z] [(/X | /H)  [/F]]

Each parameter (switch) in the syntax affects the output of GPRESULT. In the next section, I will explain what each switch means.

Sponsored Content

GPRESULT Parameters

The table below explains what each parameter means and how it can be used.

S/NParameterDescription
1/S ComputerNameSpecifies a remote system to connect to.
2/U [domain]\userUsed to enter the user with the right permission to connect to the computer specified with the /S switch.
3/P [password]Specifies the password for the user above
4/SCOPE scopeSpecifies whether to display user or the computer settings. Valid values: “USER”, “COMPUTER”.
5/USER [domain]userSpecifies the user to display RSoP data for.
6/X <filename>Report is saved in XML format. Report is saved at the location specified by the parameter. <Filename> must be specified. If the path is not specified, the file will be saved in the directory the command is executed from.
7/H <filename>Saves the report as a HTML file at the location and with the <filename>. File name is required.
8/FForces GPResult to overwrite existing files.
9/RDisplays RSoP summary data.
10/VSpecifies that verbose information should be displayed. Provides additional information
11/ZOutputs additional settings data (Super-verbose).
12/?Displays help information

How to Use GPRESULT (Examples)

Below are some examples of how to use GPResult.

Use GPRESULT /H for HTML Reports

The /H parameter of GPResult command is used to generate RSoP in HTML format. Here is an example

GPRESULT /H GPReport.html 
GPResult Command: Syntax, Parameters, Examples

The command will create a HTML RSoP report with default values. Report is saved in the location the command was executed. In this instance, my drive C.

To save GPResult output in a different location, use the command below:

GPRESULT /H c:\RSoP\GPReport.html
Tip
The full path must exist. If the path does not exist you will receive an error message ERROR: The system cannot find the path specified.

The report is created in the path.

GPResult Command: Syntax, Parameters, Examples

How to Create RSoP XML Report

To output your report in XML, use this command:

 GPRESULT /X c:\RSoP\GPReport.xml 
Tip
You must include .XML file extension in the file.

The XML file is in the location.

GPResult Command: Syntax, Parameters, Examples

How to Run GPRESULT on a Remote Computer

Use the /S parameter as shown below:

GPRESULT /S DCSRV1 /U ITECHGUIDES\ADMINISTRATOR /R

Here is the result

Tip
Options /U, /P, /R, /V, /Z cannot be specified along with /X, /H.

You can pipe the last GPRESULT command to a text file as shown below:

GPRESULT /S DCSRV1 /U ITECHGUIDES\ADMINISTRATOR /R > E:\RSoP\GPResult.txt

The text file output

How to Show Computer Settings from GPRESULT

Use the /SCOPE switch as shown below:

GPRESULT /R /SCOPE COMPUTER

The result

Sponsored Content

Conclusion

Getting the RSoP information of a computer or user, showing the Group Policy settings applied to the computer is very useful for troubleshooting GPO issues. I hope this has been helpful to you.

If you have any question or comment use the “leave a Reply” form at the end of the page. Alternatively, you could share your experience so other readers can benefit from it.

Other Helpful Guides

Additional Resources and References

YOU MAY ALSO LIKE:

LEAVE A REPLY

Please enter your comment!
Please enter your name here

By using this website you agree to accept our Privacy Policy and Terms & Conditions