Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

Can anybody give me some idea on how we can create a group policy on a domain and set group policy settings using c# using grouppolicy api

any help or idea is much appreciated

Updated 20-Dec-11 1:04am

you can use Microsoft.GroupPolicy. the first you must Installing the GPMC Class Library .look at this:[^]
and then add reference Microsoft.GroupPolicy.Management.dll in VS.NET.the detail you can read this:[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900