Save Messages: registry value save_locUserHKCU\software\policies\microsoft\office\16.0\outlook\options\general

Policy ID
L_SaveMessages
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Outlook 2016 › Outlook Options › Preferences › E-mail Options › Advanced E-mail Options

Registry

save_loc

REG_DWORDUser
Enabled value
Depends on the option value
Element
Save unsent items in this folder:
Options
ItemStored value
Outbox4
Sent Items5
Inbox6
Drafts16
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Outbox
"save_loc"=dword:00000004
; Sent Items
"save_loc"=dword:00000005
; Inbox
"save_loc"=dword:00000006
; Drafts
"save_loc"=dword:00000010
CMD
:: Options (use only one)

:: Outbox
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\general" /v "save_loc" /t REG_DWORD /d 4 /f
:: Sent Items
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\general" /v "save_loc" /t REG_DWORD /d 5 /f
:: Inbox
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\general" /v "save_loc" /t REG_DWORD /d 6 /f
:: Drafts
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\general" /v "save_loc" /t REG_DWORD /d 16 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Force | Out-Null

# Options (use only one)
# Outbox
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Name 'save_loc' -PropertyType DWord -Value 4 -Force | Out-Null
# Sent Items
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Name 'save_loc' -PropertyType DWord -Value 5 -Force | Out-Null
# Inbox
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Name 'save_loc' -PropertyType DWord -Value 6 -Force | Out-Null
# Drafts
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Name 'save_loc' -PropertyType DWord -Value 16 -Force | Out-Null