Questions tagged [elevation]

331 questions
-2
votes
1 answer

Create elevated token with SetTokenInformation returns error 87

I am trying to create an elevated token with SetTokenInformation, but it fails and keeps returning error code 87. This is my code: #include int main() { HANDLE currentProcessToken, newTok; OpenProcessToken(GetCurrentProcess(),…
user9782286
1 2 3
22
23