?
Solved

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

Posted on 2011-03-17
3
Medium Priority
?
643 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

752 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