使用 Exchange Server 驗證 的登錄值 authenticationservice使用者HKCU\software\policies\microsoft\office\16.0\outlook\security

原則 ID
L_AuthenticationwithExchangeServer
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Outlook 2016 › 帳戶設定 › Exchange

登錄

authenticationservice

REG_DWORD使用者
啟用時的值
取決於選項值
元素
選取使用 Exchange Server 的驗證。
選項
項目儲存的值
Kerberos/NTLM 密碼驗證9
Kerberos 密碼驗證16
NTLM 密碼驗證10
插入智慧卡2147545088
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security]

; 選項 (只使用其中一個)
; Kerberos/NTLM 密碼驗證
"authenticationservice"=dword:00000009
; Kerberos 密碼驗證
"authenticationservice"=dword:00000010
; NTLM 密碼驗證
"authenticationservice"=dword:0000000a
; 插入智慧卡
"authenticationservice"=dword:8000f000
CMD
:: 選項 (只使用其中一個)

:: Kerberos/NTLM 密碼驗證
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "authenticationservice" /t REG_DWORD /d 9 /f
:: Kerberos 密碼驗證
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "authenticationservice" /t REG_DWORD /d 16 /f
:: NTLM 密碼驗證
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "authenticationservice" /t REG_DWORD /d 10 /f
:: 插入智慧卡
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "authenticationservice" /t REG_DWORD /d 2147545088 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Force | Out-Null

# 選項 (只使用其中一個)
# Kerberos/NTLM 密碼驗證
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'authenticationservice' -PropertyType DWord -Value 9 -Force | Out-Null
# Kerberos 密碼驗證
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'authenticationservice' -PropertyType DWord -Value 16 -Force | Out-Null
# NTLM 密碼驗證
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'authenticationservice' -PropertyType DWord -Value 10 -Force | Out-Null
# 插入智慧卡
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'authenticationservice' -PropertyType DWord -Value 2147545088 -Force | Out-Null