File name: | setspn.exe.mui |
Size: | 8704 byte |
MD5: | 64dd7f87fd525ed4433160a94ef4766a |
SHA1: | 828647676672e79b3f745ab50e73107d80d1b5a6 |
SHA256: | 271d8826e394207649fadc71219712ae3cae6bb2f83e5589cad0651f230eb8d2 |
Operating systems: | Windows 10 |
Extension: | MUI |
In x64: | setspn.exe 查詢或重設電腦的 SPN 屬性 (32 位元) |
If an error occurred or the following message in Chinese (Traditional) 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 (Traditional) | 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 登錄電腦 "daserver1" 的 SPN "http/daserver" (若網域中沒有此 SPN 存在) setspn -D http/daserver daserver1 刪除電腦 "daserver1" 的 SPN "http/daserver" setspn -F -S http/daserver daserver1 登錄電腦 "daserver1" 的 SPN "http/daserver" (若樹系中沒有此 SPN 存在) setspn -U -S http/daserver dauser 登錄使用者帳戶 "dauser" 的 SPN "http/daserver" (若網域中沒有此 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
|
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 | 已登錄的 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 %ws 個重複的 SPN。
|
found %ld %ws of duplicate SPNs.
|
10039 | 群組 | group |
10041 | 項目 | entry |
10042 | 個項目 | entries |
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: | 0x404, 1200 |