Tenquitran's Blog
Code snippets and other stuff.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment