Solved

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

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

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 …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

705 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