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
Solved

VBScript to retrieve error information from group policies applied to remote computers

Posted on 2011-03-17
3
638 Views
Last Modified: 2012-05-11
I have a script that contacts remote computers and queries the applied group policies.
The problem I am having is, I don't know which attribute to check to see if the policy was applied successfully.
If you run RSOP.msc
right-click either computer or user and go to properties
Then go to the error information tab, I need that status column.

I am using the RSOP_GPO object. ("Select * from RSOP_GPO")
I can get the GP name  (objItem.Name) but having problems getting the status info.
I appreciate the assistance.
0
Comment
Question by:WaywardS0n
3 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 35161198
Hi, it looks like this class could help you:

RSOP_PolicySettingStatus Class
http://msdn.microsoft.com/en-us/library/aa375046(v=vs.85).aspx

I haven't used it, but if you share a bit more of your code, we can probably put them together.

Regards,

Rob.
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 35718306
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

839 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