Group Policy in C#

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I need to modify a setting in the local computer s group policy programmatically in C#.
<br/>
This is the same as running gpedit.msc, and changing a setting.
<br/>
Is there a way to do it with a command line process, WMI, or COM.  I cannot find a working example on the web.
<br/>
I found a post here:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/f3f5a61f-2ab9-459e-a1ee-c187465198e0/ http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/f3f5a61f-2ab9-459e-a1ee-c187465198e0/
<br/>
that uses <span style="font-family:Courier New;border-collapse:collapse;line-height:11px GPMGMTLib, but that COM library is not on my computer.
<span style="font-family:Courier New <span style="border-collapse:collapse;line-height:11px <br/>
<span style="font-family:Courier New <span style="border-collapse:collapse;line-height:11px Any ideas?

View the full article
 

Similar threads

A
Replies
0
Views
171
ANIL AYDINALP
A
L
Replies
0
Views
142
LoneHunter01
L
D
Replies
0
Views
110
Donald Uko
D
K
Replies
0
Views
237
Khan345
K
Back
Top