Solved

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

Posted on 2011-03-17
3
633 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

706 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

20 Experts available now in Live!

Get 1:1 Help Now