AdjustTokenPrivileges
AdjustTokenPrivileges is a function in the Windows API used to enable or disable privileges for a given access token. An access token is a security descriptor that identifies a user or process and contains information about its security attributes. Privileges are special rights granted to users or groups that allow them to perform specific system-related operations.
This function allows a calling process to modify the state of privileges within an access token. It
The modification of privileges is a sensitive operation. The calling process must have the SeSecurityPrivilege to