Ask the Expert

Coding VB.NET GP settings outside the MMC console

Does Microsoft provide the ability to code (VB.NET) Group Policy settings vs. doing everything via the MMC console?

    Requires Free Membership to View

This version of Windows (up to Windows 2003) doesn't have the ability to "get in there" and manipulate Group Policy _settings_. However, with that said, you can still do a whole heckuvalot of magic. For instance, if you have predefined a GPO with the settings you wanted, you can use the APIs which come with the GPMC to move it, copy it, back it up and more. Basically every operation with GPOs is scriptable -- with the exception of actually plunking around _inside_ the GPO.

Additional Expert Help:
Be sure to check our Answer FAQ for more expert advice.
For faster answers, visit ITKnowledge Exchange.

This was first published in January 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: