エラーの重要度レベル のレジストリ値 logfileseveritylevelユーザーHKCU\software\policies\microsoft\office\16.0\common\smartart graphics
- ポリシー ID
- L_ErrorSeverityLevel
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
- カテゴリ
- Microsoft Office 2016 › Microsoft Office SmartArt
レジストリ
logfileseveritylevel
REG_DWORDユーザー- 有効時の値
- オプションの値に依存
- 要素
- エラーの重要度レベル
| 項目 | 保存される値 |
|---|---|
| エラーのみ | 0 |
| レベル 1 以下の警告 | 1 |
| レベル 2 以下の警告 | 2 |
| レベル 3 以下の警告 | 3 |
| すべて | 4 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\smartart graphics] ; 選択項目 (1 つだけ使用) ; エラーのみ "logfileseveritylevel"=dword:00000000 ; レベル 1 以下の警告 "logfileseveritylevel"=dword:00000001 ; レベル 2 以下の警告 "logfileseveritylevel"=dword:00000002 ; レベル 3 以下の警告 "logfileseveritylevel"=dword:00000003 ; すべて "logfileseveritylevel"=dword:00000004
CMD
:: 選択項目 (1 つだけ使用) :: エラーのみ reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 0 /f :: レベル 1 以下の警告 reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 1 /f :: レベル 2 以下の警告 reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 2 /f :: レベル 3 以下の警告 reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 3 /f :: すべて reg add "HKCU\software\policies\microsoft\office\16.0\common\smartart graphics" /v "logfileseveritylevel" /t REG_DWORD /d 4 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Force | Out-Null # 選択項目 (1 つだけ使用) # エラーのみ New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 0 -Force | Out-Null # レベル 1 以下の警告 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 1 -Force | Out-Null # レベル 2 以下の警告 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 2 -Force | Out-Null # レベル 3 以下の警告 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 3 -Force | Out-Null # すべて New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\smartart graphics' -Name 'logfileseveritylevel' -PropertyType DWord -Value 4 -Force | Out-Null