Solved

Will Active Directory allow a custom developed application read group policies?

Posted on 2008-10-31
2
246 Views
Last Modified: 2012-05-05
I am developing a Web Portal to automate the provisioning process within Active Directory.  Is it possible for this portal to read Active Directory GPO's?  Example of what I am trying to do.  If the AD GPO says passwords must be 8 characters long, then during the account registration I want the Portal to get that information from AD instead of hard coding it in the portal, in case i change my policies.  This way i only have to change it in AD and not the portal.
0
Comment
Question by:seaninman
2 Comments
 
LVL 12

Expert Comment

by:RobinHuman
Comment Utility
A script would probably work best for this;
an example here:
http://forums.kayako.com/f52/active-directory-user-import-script-10400/
0
 
LVL 6

Accepted Solution

by:
matjm earned 500 total points
Comment Utility
Hi there,

By the sounds of it, what you're trying to acheive is to get your application to read certain policy settings and then apply those settings so that you can mirror your operating environment's security settings as well.

This should be acheivable, as Group Policy essentially stores it's configuration in the registry, however some configuration will be stored on the Domain Controllers rather than the workstations, so this could be difficult depending on how your application works.

Rather than focusing on how to read the policies, I suggest you find out what registry entries the policy settings are changing, and then configure your application to interpret those registry entries.

Good luck!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

I'm sure that every Windows systems administrator has written, or at least used, a batch or VBS login script at some point in their career, whether it is to map network drives, install printers, or set some user preferences.  No more! With Window…
Synchronize a new Active Directory domain with an existing Office 365 tenant
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 tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

728 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

10 Experts available now in Live!

Get 1:1 Help Now