Cache のレジストリ値 CacheユーザーHKCU\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown

日本語の公式説明なし (英語の原文のまま)

ポリシー ID
A_SanitizeOnShutdown_Cache
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Firefox 74 or later, Firefox 68.6 ESR or later
出典
Mozilla Firefox Policy Templates (バージョン 8.3)
カテゴリ
Mozilla › Firefox › Clear data when browser is closed

レジストリ

Cache

REG_DWORDユーザーコンピューター
有効時の値
1
無効時の値
0
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown]

; 選択項目 (1 つだけ使用)
; 有効
"Cache"=dword:00000001
; 無効
"Cache"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKCU\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" /v "Cache" /t REG_DWORD /d 1 /f
:: 無効
reg add "HKCU\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" /v "Cache" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown' -Name 'Cache' -PropertyType DWord -Value 1 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown' -Name 'Cache' -PropertyType DWord -Value 0 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown]

; 選択項目 (1 つだけ使用)
; 有効
"Cache"=dword:00000001
; 無効
"Cache"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKLM\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" /v "Cache" /t REG_DWORD /d 1 /f
:: 無効
reg add "HKLM\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" /v "Cache" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown' -Name 'Cache' -PropertyType DWord -Value 1 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\SanitizeOnShutdown' -Name 'Cache' -PropertyType DWord -Value 0 -Force | Out-Null