Privileges required for CreateToken function

I have a piece of software that uses the CreateToken function. On previous versions of Windows (up to and including Windows 8) this function succeeds. Now running the same software in the Windows 8.1 preview this function fails with a STATUS_PRIVILEGE_NOT_HELD error.

Comparing the privileges that the software has in different operating systems shows that it has the same privileges.

Does anybody know why this would suddenly stop working? Is there an additional privilege required for Windows 8.1 preview to use CreateToken?


July 17th, 2013 10:49am

I think you should ask this in the MSDN forums:

http://social.msdn.microsoft.com/Forums/en-US/category/windowsdesktopdev

Free Windows Admin Tool Kit Click here and download it now
July 17th, 2013 3:38pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics