setspn.exe 查询或重置计算机的 SPN 属性 2af484e1637ef746fa47a27002b2a52c

File info

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 位)

Translations messages and strings

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):
10004Ldap 错误(%#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.
10029Registered 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.
10036calloc (%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.

EXIF

File Name:setspn.exe.mui
Directory:%WINDIR%\WinSxS\amd64_microsoft-windows-s..ls-setspn.resources_31bf3856ad364e35_10.0.15063.0_zh-cn_c25a472a6dfb1a35\
File Size:8.5 kB
File Permissions:rw-rw-rw-
File Type:Win32 DLL
File Type Extension:dll
MIME Type:application/octet-stream
Machine Type:Intel 386 or later, and compatibles
Time Stamp:0000:00:00 00:00:00
PE Type:PE32
Linker Version:14.10
Code Size:0
Initialized Data Size:8192
Uninitialized Data Size:0
Entry Point:0x0000
OS Version:10.0
Image Version:10.0
Subsystem Version:6.0
Subsystem:Windows GUI
File Version Number:10.0.15063.0
Product Version Number:10.0.15063.0
File Flags Mask:0x003f
File Flags:(none)
File OS:Windows NT 32-bit
Object File Type:Executable application
File Subtype:0
Language Code:Chinese (Simplified)
Character Set:Unicode
Company Name:Microsoft Corporation
File Description:查询或重置计算机的 SPN 属性
File Version:10.0.15063.0 (WinBuild.160101.0800)
Internal Name:setspn
Legal Copyright:© Microsoft Corporation. All rights reserved.
Original File Name:setspn.exe.mui
Product Name:Microsoft® Windows® Operating System
Product Version:10.0.15063.0

What is setspn.exe.mui?

setspn.exe.mui is Multilingual User Interface resource file that contain Chinese (Simplified) language for file setspn.exe (查询或重置计算机的 SPN 属性).

File version info

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