March 13, 2013

Using AdjustTokenPrivileges to change several privileges at once

In this example (Windows 7, VS 2010), three privileges are changed for the current process:
  • SeBackupPrivilege is enabled;
  • SeDebugPrivilege is removed;
  • SeCreatePagefilePrivilege is disabled.

No comments:

Post a Comment