Enable Debug Privileges

The set_debug command enables SE_DEBUG_PRIVILEGE for a process. To enable this privilege, a user requires administrative privileges without which the user would get E: 5 which stands for GetLastError Access Denied. This user privilege provides complete access to sensitive and critical operating system components. To check if the debug privilege is correctly set, check the privileges using the user_info command.