+ Post New Thread
Results 1 to 7 of 7
Windows 7 Thread, gpresult can't create html report in Technical; When I try and run a gpresult. all I get is this at the command prompt. gpresult /h c:\report.html ERROR: ...
  1. #1
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    896
    Thank Post
    41
    Thanked 67 Times in 64 Posts
    Rep Power
    17

    gpresult can't create html report

    When I try and run a gpresult. all I get is this at the command prompt.

    gpresult /h c:\report.html
    ERROR:

    The error is particulary helpful.
    I can successfully create a xml file with /x report.xml . Its a pain to read though.
    Also group policy results is also broken. I get the message:

    An error occurred while generating report:
    An unknown error occurred while the HTML report was being created.

    I've seen this GROUP POLICY MANAGEMENT ERROR & HOW TO FIX IT | and Florian’s Blog GPMC: An unknown error occurred while the HTML report was being created to fix it.
    within gpmc modelling.

    We set security zones in group policy for particualr ous. W ehave not gone to to IE10 yet so are still using IEM.

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    its not uac related is it and writing to the root of c: which uac dosent like ?

  3. #3

    Join Date
    May 2011
    Location
    Jus North of London, close but not too close
    Posts
    717
    Thank Post
    170
    Thanked 53 Times in 51 Posts
    Rep Power
    34
    As @sted says, create a folder on the c drive and run the report into that.

  4. #4
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    896
    Thank Post
    41
    Thanked 67 Times in 64 Posts
    Rep Power
    17
    The command prompt was run as admin creating a folder in the root of c: still creates the same issue. Its only when the pc is on the domain.

  5. #5
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    896
    Thank Post
    41
    Thanked 67 Times in 64 Posts
    Rep Power
    17
    Ok gpresult works if its just the user policy, same with gp results in gpmc.

  6. #6

    Join Date
    Dec 2011
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi.
    We have/had the exact same problem on W/ and Server 2008R2 machines. With gpresult everything works except html that includes computer settings. Also, on machines with the GPMC installed, we would get some error when the RSOP included computer settings.

    The solution for us is the hotfix from KB2642947.
    "Index was out of range" error message when a Group Policy report is generated in Windows 7 or in Windows Server 2008 R2
    "Index was out of range" error message when a Group Policy report is generated in Windows 7 or in Windows Server 2008 R2

    The hotfix can be installed without the GPMC present and fixes the problem on all affected machines for us.

  7. #7
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    896
    Thank Post
    41
    Thanked 67 Times in 64 Posts
    Rep Power
    17
    I did have to apply that hotfix. We also traced the issue to a GPO disabling the adobe flash update service.

SHARE:
+ Post New Thread

Similar Threads

  1. Can you create a real time word cloud??
    By marsdenprimary in forum Coding
    Replies: 10
    Last Post: 11th May 2010, 09:13 AM
  2. How can i create a border?
    By craigg in forum EduGeek Joomla 1.5 Package
    Replies: 7
    Last Post: 21st August 2009, 10:38 PM
  3. [MS Office - 2003] Access Error Msg - "Unable to create your report"
    By cscc in forum Office Software
    Replies: 3
    Last Post: 21st October 2008, 03:07 PM
  4. Replies: 5
    Last Post: 1st October 2007, 09:27 AM
  5. Creating a report in OpenOffice for PyKota
    By Ric_ in forum General Chat
    Replies: 7
    Last Post: 9th August 2007, 05:22 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •