Make C# application Group Policy aware

Posted by Stefan Koell on Stack Overflow See other posts from Stack Overflow or by Stefan Koell
Published on 2010-06-14T17:33:59Z Indexed on 2010/06/14 19:52 UTC
Read the original article Hit count: 301

Filed under:
|
|
|

I want to make my app GPO aware. I know that it's basically just reading from a specific registry path but I still have some questions:

  • How do I detect GPO refreshes? There's RegisterGPNotification here: http://msdn.microsoft.com/en-us/library/aa374404(VS.85).aspx but is there anything ready baked for C# out there or at Microsoft?
  • What's considered best practice: is the machine policy stronger than the user policy or is the user policy overruling the machine policy?
  • Anyone, who wants to share some experience in that area?

Thanks, Stefan

© Stack Overflow or respective owner

Related posts about c#

Related posts about group-policy