Solved

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

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
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 …

730 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