How do I configure group policies using C#?
问题 How can I manipulate group policy based restriction for the controlpanel and the taskmanager in C#? 回答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 回答2: you can use Registry key to restriction task manager and control panel easily! 回答3: There is some information on how to edit GPO Registry settings available here: http://msdn.microsoft