Disclaimer: MashTips is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission at no extra cost to you.

Home Computer Windows How to Use the Group Policy Results (GPResult.exe) Command Line Tool?

How to Use the Group Policy Results (GPResult.exe) Command Line Tool?

This article is intended for administrators, those who want to verify all policy setting for a particular user in the network. Group Policy Results (GPResult.exe) command line tool verifies all policy settings in effect for a specific user or computer. System Administrators can run GPResult on any remote computer within their scope of management. By default, GPResult returns settings in effect on the computer on which GPResult is run.

To run GPResult, select any computer on the same net work,

  • Click Start, Run, and enter cmd to open a command window.
  • Type gpresult and redirect the output to a text file as shown in Figure 1 below.
  • This CMD window shows you how to direct GP Result to a text file for keeping for your records.
Enter notepad gp.txt to open the file. Results appear as shown in the figure below.
Now you can see the user policy in notepad.

Administrators can also direct GPResult to other users and computers using GPResult Command Line Tool. Complete parameters of the tool are shown below.

/s Computer
Specifies the name or IP address of a remote computer. (Do not use backslashes. ) The default is the local computer.
/u DomainUser
Runs the command with the account permissions of the user that is specified by User or DomainUser. The default is the permissions of the current logged-on user on the computer that issues the command.
/p Password
Specifies the password of the user account that is specified in the /u parameter.
/user TargetUserName
Specifies the user name of the user whose RSOP data is to be displayed.
/scope {user|computer}
Displays either user or computer results. Valid values for the /scope parameter are user or computer. If you omit the /scope parameter, gpresult displays both user and computer settings.
/v
Specifies that the output display verbose policy information.
/z
Specifies that the output display all available information about Group Policy. Because this parameter produces more information than the /v parameter, redirect output to a text file when you use this parameter (for example, gpresult /z >policy.txt).
/?
Displays help at the command prompt.

 

Source: Technet

4 COMMENTS

  1. Hi buddy, your blog’s model is easy and clean and i like it. Your blog posts are superb. Please hold them coming. Greets!!!

  2. found your website on del.icio.us today and really liked it.. i bookmarked it and will probably be back to check it out some more later

  3. Why would you leave out the /h switch, which creates a much easier to read .html file? Or even better, /x to send output to .xml, which you can parse with any number of xml tools.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Holiday Gift Ideas 2020

15 Best Drones for Kids and Beginners to Buy in 2020

RC Drones have become very common nowadays. Lots of kids are developing an interest in it as a toy due to its distinctive features....

12 Best Xbox Gift Ideas for Xbox Fans in 2020

Each and every person who heard about the new generation Xbox consoles will love to have one. Who doesn't want his hands on the...

20 Cool Gadgets Gifts for Men in 2020

Holidays are nearly upon us and considering the year we've had so far, people perhaps would cherish this opportunity to celebrate and forget about...

12 Best PlayStation Gift Ideas for PlayStation 5 Fans in 2020

Who wouldn't love gifts, especially when it is a gaming console? For all those who plan to surprise their beloved ones with the latest...

Free Newsletter

Related Articles

How to Play matroska (.mkv) video files in Windows Media Player

Windows media player and some other third-party video players won't play matroska files (.mkv extension type) in your computer with default installation. After some...

Best 8 Free Live Tile Apps for Windows 8 and later

Live tiles are the main attraction of Windows 8, Windows 8.1 and Windows 10 too where the programs are displayed in the Start Screen...

Best 10 Free Tools to Check SSD Health and Monitor Performance

SSDs are gradually intruding into the HDD market and replacing the role of regular hard disks in laptops and high-end desktops. Solid State Devices are...

How to Disable Auto update feature for Windows 10 Store Apps

With Windows 10 Microsoft is trying to push their App store to the existing Windows 8.1 & Windows 7 users by adding the Windows...
%d bloggers like this: