Privilege API

Hi, I would like to know is there a way to run privilege API programmatically. That means being able to do a CeRegSetValue without having to manually alter the policy setting in HKLM\Security (program will alter the policy setting programmatically and then run CeRegSetValue) But HKLM\Security itself is already protected. Is there a workaround Thanks!

Answer this question

Privilege API

  • Kevin Rodgers

    I believe impersonation will do what you want. If so, I stole a class wrapper for that I can post. Let me know.
  • Privilege API