Solved

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

Posted on 2008-10-31
2
267 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
ID: 22851243
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
ID: 22856563
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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 …

803 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