Expand description
Well-known Windows privilege name constants.
Use these with is_privilege_enabled and has_privilege to avoid
hard-coding privilege name strings.
Constantsยง
- SE_
ASSIGN_ PRIMARY_ TOKEN - Replace a process-level token (
SeAssignPrimaryTokenPrivilege). - SE_
BACKUP - Back up files and directories (
SeBackupPrivilege). - SE_
CHANGE_ NOTIFY - Bypass traverse checking (
SeChangeNotifyPrivilege). - SE_
CREATE_ GLOBAL - Create global objects (
SeCreateGlobalPrivilege). - SE_
CREATE_ PAGEFILE - Create a pagefile (
SeCreatePagefilePrivilege). - SE_
DEBUG - Debug programs (
SeDebugPrivilege). - SE_
IMPERSONATE - Impersonate a client after authentication (
SeImpersonatePrivilege). - SE_
INCREASE_ BASE_ PRIORITY - Increase scheduling priority (
SeIncreaseBasePriorityPrivilege). - SE_
INCREASE_ QUOTA - Adjust memory quotas for a process (
SeIncreaseQuotaPrivilege). - SE_
LOAD_ DRIVER - Load and unload device drivers (
SeLoadDriverPrivilege). - SE_
MANAGE_ VOLUME - Perform volume maintenance tasks (
SeManageVolumePrivilege). - SE_
REMOTE_ SHUTDOWN - Force shutdown from a remote system (
SeRemoteShutdownPrivilege). - SE_
RESTORE - Restore files and directories (
SeRestorePrivilege). - SE_
SECURITY - Manage auditing and security log (
SeSecurityPrivilege). - SE_
SHUTDOWN - Shut down the system (
SeShutdownPrivilege). - SE_
SYSTEMTIME - Change the system time (
SeSystemtimePrivilege). - SE_
SYSTEM_ PROFILE - Profile system performance (
SeSystemProfilePrivilege). - SE_
TAKE_ OWNERSHIP - Take ownership of files or other objects (
SeTakeOwnershipPrivilege). - SE_TCB
- Act as part of the operating system (
SeTcbPrivilege). - SE_
UNDOCK - Remove computer from docking station (
SeUndockPrivilege).