GPResult not working with non-administrators

Posted on 2010-08-19
Last Modified: 2012-05-10
I'm trying to run gpresult /h gpreport.html /f but the account I'm trying it run it on is not an administrator and when I start to run it, it collects the data buts then it says 'ERROR: Access is denied.'  Is there any work around for this?

Windows 7 Professional connected to a domain on a Hyper-V Session
Question by:cmb991
  • 2

Expert Comment

ID: 33476238
it's probably trying to save the report to a restricted disk. run from a command prompt, but right-click on Command Prompt in the start menu and select to run as administrator

Accepted Solution

TechnoButt earned 250 total points
ID: 33476278
Access to root of C:\ is denied for non-elevated accounts.  Supply a path (on a previously created folder), like:
gpresult /h c:\report\gpresult.html /f

Author Comment

ID: 33476526
I tried gpresult /h c:\report\gpreport.html and it still says ERROR: Access Denied.

Assisted Solution

Dangle79 earned 250 total points
ID: 33476548
that's because that same user still can't create a folder on c:
better bet would be to use something like C:\users\%USERNAME%\Desktop

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 7 - How to change a computer name 7 59
Sony EVI-D70 and Skype 2 80
HP laptop drivers 12 61
analyze malware in windows document 9 46
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question