Without SeDebugPrivilege
explicitly granted to your user account or process, it is not possible to enable it programmatically. Even if you manage to obtain a token with SeDebugPrivilege
(e.g., through exploitation), the kernel enforces strict access checks that prevent non-admin processes from performing privileged operations.