EDN Admin
Well-known member
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
<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