Solved

GPResult not working with non-administrators

Posted on 2010-08-19
4
3,192 Views
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
0
Comment
Question by:cmb991
  • 2
4 Comments
 
LVL 6

Expert Comment

by:Dangle79
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
0
 
LVL 4

Accepted Solution

by:
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
0
 
LVL 1

Author Comment

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

Assisted Solution

by:Dangle79
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
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

770 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