Prevent document inspectors from running: registry value L_DocumentInspectorComputerHKLM\software\policies\microsoft\office\16.0\common\disableddocinspectors
- Policy ID
- L_DocumentInspector
- Scope
- Computer 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 (Machine) › Miscellaneous
Registry
(list values)
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- -
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\disableddocinspectors] "<enter value>"="<enter value>"
CMD
reg add "HKLM\software\policies\microsoft\office\16.0\common\disableddocinspectors" /v "<enter value>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\common\disableddocinspectors' -Force | Out-Null New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\disableddocinspectors' -Name '<enter value>' -PropertyType String -Value '<enter value>' -Force | Out-Null