Error Severity Level: registry value logfileseveritylevelUserHKCU\software\policies\microsoft\office\16.0\common\smartart graphics

Policy ID
L_ErrorSeverityLevel
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 › Microsoft Office SmartArt

Registry

logfileseveritylevel

REG_DWORDUser
Enabled value
Depends on the option value
Element
Error Severity Level
Options
ItemStored value
Errors only0
Level 1 warnings and below1
Level 2 warnings and below2
Level 3 warnings and below3
All4
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\smartart graphics]

; Options (use only one)
; Errors only
"logfileseveritylevel"=dword:00000000
; Level 1 warnings and below
"logfileseveritylevel"=dword:00000001
; Level 2 warnings and below
"logfileseveritylevel"=dword:00000002
; Level 3 warnings and below
"logfileseveritylevel"=dword:00000003
; All
"logfileseveritylevel"=dword:00000004
CMD
:: Options (use only one)

:: Errors only
reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 0 /f
:: Level 1 warnings and below
reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 1 /f
:: Level 2 warnings and below
reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 2 /f
:: Level 3 warnings and below
reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 3 /f
:: All
reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 4 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Force | Out-Null

# Options (use only one)
# Errors only
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Level 1 warnings and below
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Level 2 warnings and below
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Level 3 warnings and below
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 3 -Force | Out-Null
# All
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 4 -Force | Out-Null