Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Programing GPO on windows 2003

Posted on 2005-04-28
3
Medium Priority
?
195 Views
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.
0
Comment
Question by:jui2ce
1 Comment
 
LVL 21

Accepted Solution

by:
marc_nivens earned 2000 total points
ID: 13892843
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?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

810 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