--- title: Replace a process level token (Windows 10) description: Describes the best practices, location, values, policy management, and security considerations for the Replace a process level token security policy setting. ms.assetid: 5add02db-6339-489e-ba21-ccc3ccbe8745 ms.prod: W10 ms.mktglfcycl: deploy ms.sitesec: library author: brianlic-msft --- # Replace a process level token **Applies to** - Windows 10 Describes the best practices, location, values, policy management, and security considerations for the **Replace a process level token** security policy setting. ## Reference This policy setting determines which parent processes can replace the access token that is associated with a child process. Specifically, the **Replace a process level token** setting determines which user accounts can call the CreateProcessAsUser() application programming interface (API) so that one service can start another. An example of a process that uses this user right is Task Scheduler, where the user right is extended to any processes that can be managed by Task Scheduler. An access token is an object that describes the security context of a process or thread. The information in a token includes the identity and privileges of the user account that is associated with the process or thread. With this user right, every child process that runs on behalf of this user account would have its access token replaced with the process level token. Constant: SeAssignPrimaryTokenPrivilege ### Possible values - User-defined list of accounts - Defaults - Not defined ### Best practices - For member servers, ensure that only the Local Service and Network Service accounts have the **Replace a process level token** user right. ### Location Computer Configuration\\Windows Settings\\Security Settings\\Local Policies\\User Rights Assignment ### Default values By default this setting is Network Service and Local Service on domain controllers and on stand-alone servers. The following table lists the actual and effective default policy values for the most recent supported versions of Windows. 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 |
Network Service Local Service |
Stand-Alone Server Default Settings |
Network Service Local Service |
Domain Controller Effective Default Settings |
Network Service Local Service |
Member Server Effective Default Settings |
Network Service Local Service |
Client Computer Effective Default Settings |
Network Service Local Service |