Microsoft KB Archive/257183

{|
 * width="100%"|

INFO: To Modify the TokenSessionId, the SE_TCB_NAME Privilege Must Be Enabled

 * }

Q257183

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), included with:
 * the operating system: Microsoft Windows 2000

-

SUMMARY
When the SetTokenInformation function is called with the TokenSessionId class, the caller must have the SE_TCB_NAME (Act As Part of the Operating System) privilege. Also, the caller must enable the privilege. Both of these criteria must be met before a session ID can be set in the token. If neither is true, the function fails with error code 1314 or the following error message:

A Required privilege is not held by the client