InPrivate モードが利用できるかどうかを構成する のレジストリ値 InPrivateModeAvailabilityユーザーHKCU\Software\Policies\Microsoft\Edge
- ポリシー ID
- InPrivateModeAvailability
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Microsoft Edge バージョン 77、Windows 7 以降
- 出典
- Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
- カテゴリ
- Microsoft Edge
レジストリ
InPrivateModeAvailability
REG_DWORDユーザーコンピューター…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge 現在のキー
HKLM\Software\Policies\Microsoft\Edge
HKLM\Software\Policies\Microsoft\Edge
- 有効時の値
- オプションの値に依存
- 要素
- InPrivate モードが利用できるかどうかを構成する
| 項目 | 保存される値 |
|---|---|
| InPrivate モードが利用可能 | 0 |
| 無効な InPrivate モード | 1 |
| InPrivate モードを強制実行しました | 2 |
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; InPrivate モードが利用可能 "InPrivateModeAvailability"=dword:00000000 ; 無効な InPrivate モード "InPrivateModeAvailability"=dword:00000001 ; InPrivate モードを強制実行しました "InPrivateModeAvailability"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: InPrivate モードが利用可能 reg add "HKCU\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 0 /f :: 無効な InPrivate モード reg add "HKCU\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 1 /f :: InPrivate モードを強制実行しました reg add "HKCU\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # InPrivate モードが利用可能 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 0 -Force | Out-Null # 無効な InPrivate モード New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 1 -Force | Out-Null # InPrivate モードを強制実行しました New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 2 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; InPrivate モードが利用可能 "InPrivateModeAvailability"=dword:00000000 ; 無効な InPrivate モード "InPrivateModeAvailability"=dword:00000001 ; InPrivate モードを強制実行しました "InPrivateModeAvailability"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: InPrivate モードが利用可能 reg add "HKLM\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 0 /f :: 無効な InPrivate モード reg add "HKLM\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 1 /f :: InPrivate モードを強制実行しました reg add "HKLM\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # InPrivate モードが利用可能 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 0 -Force | Out-Null # 無効な InPrivate モード New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 1 -Force | Out-Null # InPrivate モードを強制実行しました New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 2 -Force | Out-Null