傳送郵件時 的登錄值 numdaysexpire (L_Whensendingamessage)使用者HKCU\software\policies\microsoft\office\16.0\outlook\options\general

原則 ID
L_Whensendingamessage
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Outlook 2016 › Outlook 選項 › 喜好設定 › 電子郵件選項 › 進階電子郵件選項

登錄

importance

REG_DWORD使用者
啟用時的值
取決於選項值
元素
設定重要性:
選項
項目儲存的值
高2
標準1
低0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 高
"importance"=dword:00000002
; 標準
"importance"=dword:00000001
; 低
"importance"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 高
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "importance" /t REG_DWORD /d 2 /f
:: 標準
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "importance" /t REG_DWORD /d 1 /f
:: 低
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "importance" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null

# 選項 (只使用其中一個)
# 高
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'importance' -PropertyType DWord -Value 2 -Force | Out-Null
# 標準
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'importance' -PropertyType DWord -Value 1 -Force | Out-Null
# 低
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'importance' -PropertyType DWord -Value 0 -Force | Out-Null

sensitivity

REG_DWORD使用者
啟用時的值
取決於選項值
元素
設定敏感度:
選項
項目儲存的值
標準0
個人1
私人2
機密3
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 標準
"sensitivity"=dword:00000000
; 個人
"sensitivity"=dword:00000001
; 私人
"sensitivity"=dword:00000002
; 機密
"sensitivity"=dword:00000003
CMD
:: 選項 (只使用其中一個)

:: 標準
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 0 /f
:: 個人
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 1 /f
:: 私人
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 2 /f
:: 機密
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null

# 選項 (只使用其中一個)
# 標準
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 0 -Force | Out-Null
# 個人
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 1 -Force | Out-Null
# 私人
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 2 -Force | Out-Null
# 機密
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 3 -Force | Out-Null

numdaysexpire

REG_DWORD使用者
啟用時的值
取決於選項值
元素
郵件有效期限 (天):
值類型
REG_DWORD
最小值
0
最大值
3652
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\general]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"numdaysexpire"=dword:<輸入值>
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\general" /v "numdaysexpire" /t REG_DWORD /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Name 'numdaysexpire' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null

allowcommasinrecip

REG_DWORD使用者
已核取
1
未核取
0
元素
允許逗點當作地址分隔符號
值類型
REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 已核取
"allowcommasinrecip"=dword:00000001
; 未核取
"allowcommasinrecip"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "allowcommasinrecip" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "allowcommasinrecip" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'allowcommasinrecip' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'allowcommasinrecip' -PropertyType DWord -Value 0 -Force | Out-Null

autonamecheck

REG_DWORD使用者
已核取
1
未核取
0
元素
自動檢查名稱
值類型
REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 已核取
"autonamecheck"=dword:00000001
; 未核取
"autonamecheck"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "autonamecheck" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "autonamecheck" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'autonamecheck' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'autonamecheck' -PropertyType DWord -Value 0 -Force | Out-Null

deletewhenrespond

REG_DWORD使用者
已核取
1
未核取
0
元素
答覆時從收件匣刪除會議邀請
值類型
REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 已核取
"deletewhenrespond"=dword:00000001
; 未核取
"deletewhenrespond"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "deletewhenrespond" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "deletewhenrespond" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'deletewhenrespond' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'deletewhenrespond' -PropertyType DWord -Value 0 -Force | Out-Null

showautosug

REG_DWORD使用者
已核取
1
未核取
0
元素
在完成 [收件者]、[副本] 和 [密件副本] 欄位時建議名稱
值類型
REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 已核取
"showautosug"=dword:00000001
; 未核取
"showautosug"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "showautosug" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "showautosug" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'showautosug' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'showautosug' -PropertyType DWord -Value 0 -Force | Out-Null

adhocreviewbehavior

REG_DWORD使用者
已核取
0
未核取
1
元素
新增內容至附件以啟用回覆變更
值類型
REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail]

; 選項 (只使用其中一個)
; 已核取
"adhocreviewbehavior"=dword:00000000
; 未核取
"adhocreviewbehavior"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 0 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 0 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 1 -Force | Out-Null