en-US windows-security computer

Replace a process level token

Verified with Windows Security Options 26H2 — updated on July 25, 2026

Security policy

This is a Security Options policy (Windows Settings > Security Settings), applied by the security engine — not an Administrative Template (ADMX). In GPMC/gpedit it is configured under Local Policies > Security Options.

Windows Security Options 26H2

Path in the GPO console

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

Local security policy

SeAssignPrimaryTokenPrivilege

This setting has no registry key. It is stored in the local security database (LSA) and is configured through the Group Policy console or secpol.msc.

Description

This security 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. For information about Task Scheduler, see Task Scheduler overview. Default: Network Service, Local Service.

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview