Solved

GPResult not working with non-administrators

Posted on 2010-08-19
4
3,250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

688 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