Solved

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

Posted on 2008-10-31
2
286 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
[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
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 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