パッケージ設定を使用したログのオフを無効にする のレジストリ値 DisableLoggingFromPackageコンピューターHKLM\Software\Policies\Microsoft\Windows\Installer

ポリシー ID
DisableLoggingFromPackage
適用対象
コンピューターの構成
サポートされるバージョン
Windows インストーラー v4.0
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Windows インストーラー

レジストリ

DisableLoggingFromPackage

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
パッケージ設定を使用したログを無効にする
オプション
項目保存される値
パッケージ設定を使用したログのオフを無効にする1
パッケージ設定を使用したログのオンを無効にする0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]

; 選択項目 (1 つだけ使用)
; パッケージ設定を使用したログのオフを無効にする
"DisableLoggingFromPackage"=dword:00000001
; パッケージ設定を使用したログのオンを無効にする
"DisableLoggingFromPackage"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: パッケージ設定を使用したログのオフを無効にする
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableLoggingFromPackage" /t REG_DWORD /d 1 /f
:: パッケージ設定を使用したログのオンを無効にする
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableLoggingFromPackage" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# パッケージ設定を使用したログのオフを無効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableLoggingFromPackage' -PropertyType DWord -Value 1 -Force | Out-Null
# パッケージ設定を使用したログのオンを無効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableLoggingFromPackage' -PropertyType DWord -Value 0 -Force | Out-Null