--- title: Create a token object (Windows 10) description: Describes the best practices, location, values, policy management, and security considerations for the Create a token object security policy setting. ms.assetid: bfbf52fc-6ba4-442a-9df7-bd277e55729c ms.prod: W10 ms.mktglfcycl: deploy ms.sitesec: library author: brianlic-msft --- # Create a token object **Applies to** - Windows 10 Describes the best practices, location, values, policy management, and security considerations for the **Create a token object** security policy setting. ## Reference This policy setting determines which accounts a process can use to create a token, and which accounts it can then use to gain access to local resources when the process uses NtCreateToken() or other token-creation APIs. When a user logs on to the local device or connects to a remote device through a network, Windows builds the user’s access token. Then the system examines the token to determine the level of the user's privileges. When you revoke a privilege, the change is immediately recorded, but the change is not reflected in the user's access token until the next time the user logs on or connects. Constant: SeCreateTokenPrivilege ### Possible values - User-defined list of accounts - Not Defined ### Best practices - This user right is used internally by the operating system. Unless it is necessary, do not assign this user right to a user, group, or process other than Local System. ### Location Computer Configuration\\Windows Settings\\Security Settings\\Local Policies\\User Rights Assignment ### Default values This user right is used internally by the operating system. By default, it is not assigned to any user groups. The following table lists the actual and effective default policy values. Default values are also listed on the policy’s property page.
Server type or GPO | Default value |
---|---|
Default Domain Policy |
Not Defined |
Default Domain Controller Policy |
Not Defined |
Stand-Alone Server Default Settings |
Not Defined |
Domain Controller Effective Default Settings |
Local System |
Member Server Effective Default Settings |
Local System |
Client Computer Effective Default Settings |
Local System |