How can I manipulate group policy based restriction for the controlpanel and the taskmanager in C#?
Asked
Active
Viewed 1.3k times
2
-
What does this have to do with C#? It sounds like a group policy thing. Or are you asking "how do I configure group policy using C#?" – Roger Lipscombe Jun 11 '09 at 13:20
4 Answers
1
Have a look at WMI. Here is a link to an article on WMI Group policy objects: http://msdn.microsoft.com/en-us/library/aa375082(VS.85).aspx
This tool will generate example c# code for you:
WMICodeCreator

JMarsch
- 21,484
- 15
- 77
- 125
0
you can use Registry key to restriction task manager and control panel easily!
0
There is some information on how to edit GPO Registry settings available here: http://msdn.microsoft.com/en-us/library/aa374274(v=VS.85).aspx
There is also a good blog post here: Link
The examples are in C++ but some clever person may be able to write a .net wrapper.

Glorfindel
- 21,988
- 13
- 81
- 109

Jacob
- 619
- 1
- 7
- 18
-2
This isn't a programming question, but a question of workstation policy management. Start looking at e.g. this.

Pontus Gagge
- 17,166
- 1
- 38
- 51