IGroupPolicyObject

  • Thread starter Thread starter luke_21
  • Start date Start date
L

luke_21

Hi,

I'd like to manage Policy objects by myself. I found that
IGroupPolicyObject interface was wonderful for that.
But have problem with any of its functions, returning me an exception.
I tried to use it in a Cdialog based program and that worked.

I'm wondering if multithreaded programs are supported by
IGroupPolicyObject ???? If not the case are there any interfaces as
efficient as IGroupPolicyObject that allows me to do the job I want
????

TIA.
 
Hi,

First of all, thanks for your prompt replies.

GPMC seems to be the right tools I need, but requires last Vista and
Longhorn OS ...
I'm working only on 2000 and 2003 servers and 2000 and XP workstations.
I'm going to check if I can use it nevertheless.

What I want to do is more or less that microsoft provides in Users and
computers Active Directory propertysheets, in organizational units
properties, GPO tab .... Do you know what I mean ?

TIA.
 
GPMC runs on XP and 2003 and can be used to managed (remotely) Win2K, so
that should not be a problem. I understand what you're trying to do. GPMC's
APIs as well as ADSI should give you all you need.

Darren

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Whitepapers and Utilities for all things Group Policy-related
And, the Windows Group Policy Guide is out from Microsoft Press!!! Check it
out at http://www.microsoft.com/mspress/books/8763.asp
GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy
 
The problem is that I have to manage GPO from a win2k sp4 workstation
....... Can't install GPMC msi file.
Althought I appreciate this new tool, I can't really use it
efficiently, even if I manage from a XP box, because I have win2k
servers and win2k3 servers. Damn !!!!

Another idea for my purpose, thinking that I have most of win2k boxes ?
 
Luke-
If your application runs from a XP or 2003 box, then you can use the GPMC
APIs to create and manage GPOs in Win2K domains. Or did you have something
else in mind?

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Whitepapers and Utilities for all things Group Policy-related
And, the Windows Group Policy Guide is out from Microsoft Press!!! Check it
out at http://www.microsoft.com/mspress/books/8763.asp
GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy
 
Actually, I run my application from 2000 box ... Here is my problem.
But will upgrade to XP in September ;op
See ya later cause think I'll need help !!!

THANKS
 
Back
Top