Outlook: Ad hoc reviewing: registry value adhocreviewbehavior (L_OutlookAdhocreviewing)UserHKCU\software\policies\microsoft\office\16.0\outlook\options\mail
- Policy ID
- L_OutlookAdhocreviewing
- 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 Office 2016 › Collaboration Settings
Registry
adhocreviewbehavior
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Enable ad hoc reviewing | 0 |
| Exclude author's e-mail in documents | 2 |
| Disable ad hoc reviewing | 1 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail] ; Options (use only one) ; Enable ad hoc reviewing "adhocreviewbehavior"=dword:00000000 ; Exclude author's e-mail in documents "adhocreviewbehavior"=dword:00000002 ; Disable ad hoc reviewing "adhocreviewbehavior"=dword:00000001
CMD
:: Options (use only one) :: Enable ad hoc reviewing reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 0 /f :: Exclude author's e-mail in documents reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 2 /f :: Disable ad hoc reviewing reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Force | Out-Null # Options (use only one) # Enable ad hoc reviewing New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 0 -Force | Out-Null # Exclude author's e-mail in documents New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 2 -Force | Out-Null # Disable ad hoc reviewing New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 1 -Force | Out-Null