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?