why is CreateProcessWithTokenW failing with ERROR_ACCESS_DENIED
问题 I have a call to CreateProcessWithTokenW that is failing with access denied. Any ideas how to debug this? The call to CreateProcessWithTokenW is here: https://github.com/fschwiet/PShochu/blob/master/PShochu/PInvoke/NetWrappers/ProcessUtil.cs For now I'm using a access token for the current process, eventually I'll use a token from another user. For now then I'm using https://github.com/fschwiet/PShochu/blob/master/PShochu/PInvoke/NetWrappers/AccessToken.cs to get the access token. If you want