Skip to main content

Module privileges

Module privileges 

Source
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).