Programing GPO on windows 2003

Posted on 2005-04-28
Last Modified: 2010-04-18
I would like to beable to add GPOs to OU's from a VB application on a windows server. I would also like to do the same for Exchange. I can add users and OU's now.
Question by:jui2ce
    1 Comment
    LVL 21

    Accepted Solution

    You can use ADSI with VB to create GPO's and link them.  When you create a group policy (objectClass groupPolicyContainer) put it in the domains System\Policies container.  To link to an OU, modify the gPLink attribute of the OU to point to the group policy object's DN.  If you go into ADSIEdit you can see what I'm talking about.  

    What exactly do you want to do with Exchange?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
    Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    737 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

    21 Experts available now in Live!

    Get 1:1 Help Now