Web Bluetooth API の使用を制御する のレジストリ値 DefaultWebBluetoothGuardSettingコンピューターHKLM\Software\Policies\Microsoft\Edge
- ポリシー ID
- DefaultWebBluetoothGuardSetting
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Microsoft Edge バージョン 77、Windows 7 以降
- 出典
- Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
- カテゴリ
- Microsoft Edge › コンテンツの設定
レジストリ
DefaultWebBluetoothGuardSetting
REG_DWORDコンピューターユーザー…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge 現在のキー
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- 有効時の値
- オプションの値に依存
- 要素
- Web Bluetooth API の使用を制御する
| 項目 | 保存される値 |
|---|---|
| サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする | 2 |
| 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する | 3 |
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする "DefaultWebBluetoothGuardSetting"=dword:00000002 ; 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する "DefaultWebBluetoothGuardSetting"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultWebBluetoothGuardSetting" /t REG_DWORD /d 2 /f :: 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultWebBluetoothGuardSetting" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultWebBluetoothGuardSetting' -PropertyType DWord -Value 2 -Force | Out-Null # 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultWebBluetoothGuardSetting' -PropertyType DWord -Value 3 -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする "DefaultWebBluetoothGuardSetting"=dword:00000002 ; 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する "DefaultWebBluetoothGuardSetting"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultWebBluetoothGuardSetting" /t REG_DWORD /d 2 /f :: 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultWebBluetoothGuardSetting" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # サイトが Web Bluetooth API 経由での Bluetooth デバイスへのアクセスを要求できないようにする New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultWebBluetoothGuardSetting' -PropertyType DWord -Value 2 -Force | Out-Null # 近くの Bluetooth デバイスへのアクセス権を付与するようユーザーに確認することをサイトに許可する New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultWebBluetoothGuardSetting' -PropertyType DWord -Value 3 -Force | Out-Null