Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
setspn <modifiers switch> <accountname> [-R] [-S] [-D] [-L] [-C] [-U] [-Q] [-X] [-P] [-F] [-T] [-?] [/?]This guide gathers the Microsoft Learn syntax and parameter reference for setspn, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.
setspn <modifiers switch> <accountname> [-R] [-S] [-D] [-L] [-C] [-U] [-Q] [-X] [-P] [-F] [-T] [-?] [/?]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
setspn <modifiers switch> <accountname> [-R] [-S] [-D] [-L] [-C] [-U] [-Q] [-X] [-P] [-F] [-T] [-?] [/?]| Option / clause | Description |
|---|---|
<accountname> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
-R | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-S | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-D | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-L | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-C | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-U | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-Q | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-X | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-P | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-F | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-T | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-? | Display command help or the supported command-line usage. |
/? | Display command help or the supported command-line usage. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.