Solved

GPResult not working with non-administrators

Posted on 2010-08-19
4
3,182 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now