郵件處理 的登錄值 aftermove 等 2 個 (preferences)使用者HKCU\software\policies\microsoft\office\16.0\outlook\preferences

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

登錄

aftermove

REG_DWORD使用者
啟用時的值
取決於選項值
元素
移動或刪除開啟的項目後:
選項
項目儲存的值
開啟下一項目0
回到目前資料夾1
開啟前個項目2
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 開啟下一項目
"aftermove"=dword:00000000
; 回到目前資料夾
"aftermove"=dword:00000001
; 開啟前個項目
"aftermove"=dword:00000002
CMD
:: 選項 (只使用其中一個)

:: 開啟下一項目
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "aftermove" /t REG_DWORD /d 0 /f
:: 回到目前資料夾
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "aftermove" /t REG_DWORD /d 1 /f
:: 開啟前個項目
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "aftermove" /t REG_DWORD /d 2 /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 'aftermove' -PropertyType DWord -Value 0 -Force | Out-Null
# 回到目前資料夾
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'aftermove' -PropertyType DWord -Value 1 -Force | Out-Null
# 開啟前個項目
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'aftermove' -PropertyType DWord -Value 2 -Force | Out-Null

closeorig

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]

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

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "closeorig" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "closeorig" /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 'closeorig' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'closeorig' -PropertyType DWord -Value 0 -Force | Out-Null

savesent

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]

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

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "savesent" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "savesent" /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 'savesent' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'savesent' -PropertyType DWord -Value 0 -Force | Out-Null

autosavetime

REG_DWORD使用者
啟用時的值
取決於選項值
元素
每隔 xx 分鐘自動儲存未傳送的郵件 (0=不要自動儲存):
值類型
REG_DWORD
最小值
0
最大值
99
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\mailsettings]

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

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

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Name 'autosavetime' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null

autoformatplaintext

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\options\mail]

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

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "autoformatplaintext" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "autoformatplaintext" /t REG_DWORD /d 0 /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 'autoformatplaintext' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'autoformatplaintext' -PropertyType DWord -Value 0 -Force | Out-Null