?
Solved

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

Posted on 2008-10-31
2
Medium Priority
?
297 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 1500 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

765 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