File name: | setspn.exe.mui |
Size: | 8704 byte |
MD5: | 2af484e1637ef746fa47a27002b2a52c |
SHA1: | 59297e7548937cdbc43601d0cbb314db302bacd3 |
SHA256: | 87c867ba3a886ecda4344ff9efdef2bd885dbed08579400d73090c7417a9ec51 |
Operating systems: | Windows 10 |
Extension: | MUI |
In x64: | setspn.exe 查询或重置计算机的 SPN 属性 (32 位) |
If an error occurred or the following message in Chinese (Simplified) language and you cannot find a solution, than check answer in English. Table below helps to know how correctly this phrase sounds in English.
id | Chinese (Simplified) | English |
---|---|---|
10000 | 用法: %ws [modifiers switch] [accountname]
其中 "accountname" 可以是目标计算机或 用户帐户的名称或域\名称 编辑模式开关: -R = 重置 HOST ServicePrincipalName 用法: setspn -R accountname -S = 验证不存在重复项之后,添加任意 SPN 用法: setspn -S SPN accountname -D = 删除任意 SPN 用法: setspn -D SPN accountname -L = 列出在目标帐户中注册的 SPN 用法: setspn [-L] accountname 编辑模式修饰符: -C = 指定 accountname 是计算机帐户 -U = 指定 accountname 是用户帐户 注意: -C 和 -U 具有排他性。如果两者均未指定, 则工具在存在此类计算机时将 accountname 解释为计算机名, 不存在时解释为用户名。 查询模式开关: -Q = 查询 SPN 是否存在 用法: setspn -Q SPN -X = 搜索重复的 SPN 用法: setspn -X 注意: 搜索重复项(尤其在林范围内)可能需要 较长的时间,并占用大量内存。 -Q 将在 每个目标域/林上执行。-X 将返回存在于所有目标中的 重复项。不要求 SPN 在各个林之间是唯一的, 但重复项可能会导致在跨林进行身份验证时 出现身份验证问题。 查询模式修饰符: -P = 抑制控制台的进度,可在将输出重定向到 文件时或在无人参与脚本中使用时使用。 直到命令完成后,才会输出内容。 -F = 在林级别而不是域级别执行查询 -T = 在指定的域或林(同时使用 -F 时)上执行查询 用法: setspn -T domain (开关和其他参数) 可以使用 "" 或 * 表示当前域或林。 注意: 可以将这些修饰符与 -S 开关一起使用, 以便在添加 SPN 之前指定应在何处执行重复检查。 注意: 可以多次指定 -T。 |
Usage: %ws [modifiers switch] [accountname]
Where "accountname" can be the name or domain ame of the target computer or user account Edit Mode Switches: -R = reset HOST ServicePrincipalName Usage: setspn -R accountname -S = add arbitrary SPN after verifying no duplicates exist Usage: setspn -S SPN accountname -D = delete arbitrary SPN Usage: setspn -D SPN accountname -L = list SPNs registered to target account Usage: setspn [-L] accountname Edit Mode Modifiers: -C = specify that accountname is a computer account -U = specify that accountname is a user account Note: -C and -U are exclusive. If neither is specified, the tool will interpret accountname as a computer name if such a computer exists, and a user name if it does not. Query Mode Switches: -Q = query for existence of SPN Usage: setspn -Q SPN -X = search for duplicate SPNs Usage: setspn -X Note: searching for duplicates, especially forestwide, can take a long period of time and a large amount of memory. -Q will execute on each target domain/forest. -X will return duplicates that exist across all targets. SPNs are not required to be unique across forests, but duplicates can cause authentication issues when authenticating cross-forest. Query Mode Modifiers: -P = suppresses progress to the console and can be used when redirecting output to a file or when used in an unattended script. There will be no output until the command is complete. -F = perform queries at the forest, rather than domain level -T = perform query on the speicified domain or forest (when -F is also used) Usage: setspn -T domain (switches and other parameters) "" or * can be used to indicate the current domain or forest. Note: these modifiers can be used with the -S switch in order to specify where the check for duplicates should be performed before adding the SPN. Note: -T can be specified multiple times. |
10001 | 示例: setspn -R daserver1 它将注册 SPN "HOST/daserver1" 和 "HOST/{DNS of daserver1}" setspn -S http/daserver daserver1 如果域中不存在 SPN "http/daserver", 它将为计算机 "daserver1" 注册此类 SPN setspn -D http/daserver daserver1 它将删除计算机 "daserver1" 的 SPN "http/daserver" setspn -F -S http/daserver daserver1 如果林中不存在 SPN "http/daserver", 它将为计算机 "daserver1" 注册此类 SPN setspn -U -S http/daserver dauser 如果域中不存在 SPN "http/daserver", 它将为用户帐户 "dauser" 注册此类 SPN setspn -T * -T bar -X 它将报告此域和 bar 中的所有重复 SPN 注册 setspn -T bar -F -Q */daserver 它将查找在 bar 所属的林中以 */daserver 形式 注册的所有 SPN |
Examples: setspn -R daserver1 It will register SPN "HOST/daserver1" and "HOST/{DNS of daserver1}" setspn -S http/daserver daserver1 It will register SPN "http/daserver" for computer "daserver1" if no such SPN exists in the domain setspn -D http/daserver daserver1 It will delete SPN "http/daserver" for computer "daserver1" setspn -F -S http/daserver daserver1 It will register SPN "http/daserver" for computer "daserver1" if no such SPN exists in the forest setspn -U -S http/daserver dauser It will register SPN "http/daserver" for user account "dauser" if no such SPN exists in the domain setspn -T * -T bar -X It will report all duplicate registration of SPNs in this domain and bar setspn -T bar -F -Q */daserver It will find all SPNs of the form */daserver registered in the forest to which bar belongs |
10002 | 已在以下帐户上注册 %ws:
|
%ws is registered on these accounts:
|
10003 | 错误(%#x): | Error(%#x): |
10004 | Ldap 错误(%#x -- %ws): | Ldap Error(%#x -- %ws): |
10005 | 未知 | unknown |
10006 | 获取系统路径 0x%x 时出错 | Error getting system path 0x%x |
10007 | %ws: 服务器名称太长
|
%ws: Server name too long
|
10008 | 失败 | failed |
10009 | %ws: 域名太短
|
%ws: Domain name too short
|
10010 | %ws: DC 名称太短
|
%ws: DC name too short
|
10011 | 找不到帐户 %ws
|
Could not find account %ws
|
10012 | %ws: DsGetDcNameWithAccountW 失败!
|
%ws: DsGetDcNameWithAccountW failed!
|
10013 | %ws: AccountName 太短
|
%ws: AccountName too short
|
10014 | 无法绑定到域 %ws 的 DC,错误为 %ws
|
Failed to bind to DC of domain %ws, error %ws
|
10015 | 无法将名称 %ws 破解为 FQDN。DS_NAME_RESULT 项: %d %ws
|
Failed to crack name %ws into the FQDN. DS_NAME_RESULT items: %d %ws
|
10016 | %ws: HostSpn 太短
|
%ws: HostSpn too short
|
10017 | %ws: FlatSpn 太短
|
%ws: FlatSpn too short
|
10019 | %ws
|
%ws
|
10021 | 无法定位帐户 %ws
|
Unable to locate account %ws
|
10022 | 搜索现有 SPN 时出错: 0x%08x
|
Error occurred when searching for existing SPN: 0x%08x
|
10023 | 发现重复的 SPN,正在终止操作!
|
Duplicate SPN found, aborting operation!
|
10024 | 为 %ws 注册 ServicePrincipalNames
|
Registering ServicePrincipalNames for %ws
|
10025 | 为 %ws 取消注册 ServicePrincipalNames
|
Unregistering ServicePrincipalNames for %ws
|
10026 | 无法在帐户“%ws”上指定 SPN,错误为 %ws
|
Failed to assign SPN on account '%ws', error %ws
|
10027 | 无法在帐户“%ws”上删除 SPN,错误为 %ws
|
Failed to remove SPN on account '%ws', error %ws
|
10028 | 在目录中找不找请求的名称“%ws”。
|
Requested name '%ws' not found in directory.
|
10029 | Registered ServicePrincipalNames | Registered ServicePrincipalNames |
10030 | 用于 %ws | for %ws |
10031 | 发现存在 SPN!
|
Existing SPN found!
|
10032 | 没有找到此类 SPN。
|
No such SPN found.
|
10033 | 更新的对象
|
Updated object
|
10034 | 无效的 SPN %ws
|
Invalid SPN %ws
|
10035 | 将在林范围内执行操作,该操作可能需要一段时间。
|
Operation will be performed forestwide, it might take a while.
|
10036 | calloc (%ld 个字节)失败。 | calloc (%ld bytes) failed. |
10037 | 发现一个格式错误的 SPN:%ws。已忽略。 | Found an ill-formatted SPN:%ws. ignored. |
10038 | 发现 %ld 个重复 SPN 的 %ws。
|
found %ld %ws of duplicate SPNs.
|
10039 | 组 | group |
10041 | 条目 | entry |
10043 | 发现了无效参数。 | Invalid parameter Found. |
10044 | 不知道要搜索的内容。 | don't know what to search for. |
10045 | 从查询中返回了 %ld 个 %ws。
|
%ld %ws returned from the query.
|
10046 | %ws 内部映射到主机/%ws。请查询主机/%ws
|
%ws is internally mapped to host/%ws. Please query host/%ws
|
10047 | 正在处理条目 %d | Processing entry %d |
10048 | 当前正在处理域“%ws” |
Currently processing domain "%ws" |
10049 | 当前正在处理林“%ws” |
Currently processing forest "%ws" |
10050 | %ws: 服务器名称为空
|
%ws: Server name is empty
|
10051 | %ws: 调用 %ws 失败,返回值为 0x%08X
|
%ws: Call to %ws failed with return value 0x%08X
|
10052 | 指定了太多目标。忽略“%ws”
|
Too many targets specified. Ignoring "%ws"
|
10053 | 未知的参数 %ws。请检查用法。
|
Unknown parameter %ws. Please check your usage.
|
10054 | -U 和 -C 仅在与 -L、-R、-S 和 -D 一起使用时才有效。
|
-U and -C are only valid with -L, -R, -S, and -D.
|
10055 | -F 和 -T 仅在与 -Q、-X 和 -S 一起使用时才有效。
|
-F and -T are only valid with -Q, -X, and -S.
|
10056 | 缺少参数: accountname。
|
Missing parameter: accountname.
|
10057 | 指定了重复的域“%ws”: %ws
|
Duplicate domain specified "%ws" : %ws
|
10058 | 指定了重复的林“%ws”: %ws
|
Duplicate forest specified "%ws" : %ws
|
10059 | 正在检查域 %ws
|
Checking domain %ws
|
10060 | 正在检查林 %ws
|
Checking forest %ws
|
10061 | 无法检索域“%ws”的 DN: 0x%08X
|
Failed to retrieve DN for domain "%ws" : 0x%08X
|
10062 | 无法检索林“%ws”的 DN: 0x%08X
|
Failed to retrieve DN for forest "%ws" : 0x%08X
|
10063 | 警告: 未指定有效的目标,正在还原为当前域。
|
Warning: No valid targets specified, reverting to current domain.
|
10064 | 警告: 未指定有效目标,正在还原到当前林。
|
Warning: No valid targets specified, reverting to current forest.
|
10065 | 未知的操作。
|
Unknown action.
|
File Description: | 查询或重置计算机的 SPN 属性 |
File Version: | 10.0.15063.0 (WinBuild.160101.0800) |
Company Name: | Microsoft Corporation |
Internal Name: | setspn |
Legal Copyright: | © Microsoft Corporation. All rights reserved. |
Original Filename: | setspn.exe.mui |
Product Name: | Microsoft® Windows® Operating System |
Product Version: | 10.0.15063.0 |
Translation: | 0x804, 1200 |