최고의 답변자
GPRESULT /H GPReport.html =>ERROR: Invalid pointer

질문
답변
-
Hi,
Thanks for your posting.
After search I think your issue is caused by unregistered .dll file. Run below command to register all .dll files. After that, restart your OS
to check whether you can generate an html group policy report.for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1
For more information please refer to following articles:
Explanation of Regsvr32 usage and error messages
http://support.microsoft.com/kb/249873
Lawrence
TechNet Community Support
- 답변으로 표시됨 Lawrence,Lu 2012년 2월 17일 금요일 오전 1:14
2012년 2월 14일 화요일 오전 2:58
모든 응답
-
Hello,
i have no problem running this with the correct output. Which OS do you use on the machine you run the command on?
http://support.microsoft.com/kb/867462
Best regards
Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://msmvps.com/blogs/mweber/Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
2012년 2월 13일 월요일 오전 10:11 -
Hi,
Thanks for your posting.
After search I think your issue is caused by unregistered .dll file. Run below command to register all .dll files. After that, restart your OS
to check whether you can generate an html group policy report.for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1
For more information please refer to following articles:
Explanation of Regsvr32 usage and error messages
http://support.microsoft.com/kb/249873
Lawrence
TechNet Community Support
- 답변으로 표시됨 Lawrence,Lu 2012년 2월 17일 금요일 오전 1:14
2012년 2월 14일 화요일 오전 2:58 -
To anyone else getting this problem; do not provide the file extension. After the report is generated, then give the file an extension, then open in browser.
GPRESULT /H GPReport
- 편집됨 JamesRMount 2013년 5월 21일 화요일 오후 10:52
2013년 5월 21일 화요일 오후 10:51 -
Also, having the same problem.
Same original issue, not able to run GPResult /h
Tried to Run GPRESULT /H GPReport without file extension, still receiving Error: Invalid Pointer
Able to run GPResult /X <file>.xml
Able to run GPResult /R >> <file>.txt
Able to run GPResult /V >> <file>.txt
Able to run GPResult /Z >> <file>.txt
2013년 6월 6일 목요일 오후 2:06 -
I created a new GPO to replace one that is not able to be backed up but is working and am having the same problem with the invalid pointer. I can run GPResult /X and it doesn't error out but the file is not easy to read. It doesn't seem to be computer related because I can apply the old GPO and am able to run GPResult /H and obtain a HTML file. Same problem on several different systems. Has anybody had luck in resolving this issue?
2013년 6월 21일 금요일 오후 3:57 -
I have found that if you (DON'T) run CMD as Administrator it brings you to your login user folder and you are able to run the gpresult /h filename.html without the "Invalid Pointer" error.
- 편집됨 SWDK 2013년 6월 21일 금요일 오후 4:30 error in wording
- 답변으로 제안됨 systemskelly 2019년 8월 6일 화요일 오후 7:23
2013년 6월 21일 금요일 오후 4:28 -
I got same error and finally got the solution.
Please try using domain admin user, or other user that located in different active directory OU. It can be some settings in the OU that prevent it or access issue.
Andreas Mosal
IT Specialist
Blessings, Andreas - Be thankful to The Lord always
- 편집됨 Andreas Mosal 2015년 1월 30일 금요일 오전 12:45
- 답변으로 제안됨 Andreas Mosal 2015년 1월 30일 금요일 오전 12:46
2015년 1월 30일 금요일 오전 12:45 -
i understand this is 7 years later but I wanted to contribute an answer for anyone else who stumble on this thread.
re-registering the libraries in \windows\system32 did not resolve, however, running gpupdate/force then running gpresult /h c:\temp\pol.html /f resolved the issue. i hope this helps.
remember to "run as admin" on cmd prompt even if logged in as admin
- 답변으로 제안됨 azure-guy 2019년 7월 24일 수요일 오전 7:11
2019년 4월 9일 화요일 오후 6:44