位置情報の既定の設定 のレジストリ値 DefaultGeolocationSettingユーザーHKCU\Software\Policies\Microsoft\Edge
- ポリシー ID
- DefaultGeolocationSetting
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Microsoft Edge バージョン 77、Windows 7 以降
- 出典
- Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
- カテゴリ
- Microsoft Edge › コンテンツの設定
レジストリ
DefaultGeolocationSetting
REG_DWORDユーザーコンピューター…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge 現在のキー
HKLM\Software\Policies\Microsoft\Edge
HKLM\Software\Policies\Microsoft\Edge
- 有効時の値
- オプションの値に依存
- 要素
- 位置情報の既定の設定
| 項目 | 保存される値 |
|---|---|
| ユーザーの物理的な場所の追跡をサイトに許可する | 1 |
| どのサイトにもユーザーの物理的な場所を追跡することを許可しない | 2 |
| サイトでユーザーの物理的な場所を追跡する場合は常に確認する | 3 |
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; ユーザーの物理的な場所の追跡をサイトに許可する "DefaultGeolocationSetting"=dword:00000001 ; どのサイトにもユーザーの物理的な場所を追跡することを許可しない "DefaultGeolocationSetting"=dword:00000002 ; サイトでユーザーの物理的な場所を追跡する場合は常に確認する "DefaultGeolocationSetting"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: ユーザーの物理的な場所の追跡をサイトに許可する reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultGeolocationSetting" /t REG_DWORD /d 1 /f :: どのサイトにもユーザーの物理的な場所を追跡することを許可しない reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultGeolocationSetting" /t REG_DWORD /d 2 /f :: サイトでユーザーの物理的な場所を追跡する場合は常に確認する reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultGeolocationSetting" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # ユーザーの物理的な場所の追跡をサイトに許可する New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultGeolocationSetting' -PropertyType DWord -Value 1 -Force | Out-Null # どのサイトにもユーザーの物理的な場所を追跡することを許可しない New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultGeolocationSetting' -PropertyType DWord -Value 2 -Force | Out-Null # サイトでユーザーの物理的な場所を追跡する場合は常に確認する New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultGeolocationSetting' -PropertyType DWord -Value 3 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; ユーザーの物理的な場所の追跡をサイトに許可する "DefaultGeolocationSetting"=dword:00000001 ; どのサイトにもユーザーの物理的な場所を追跡することを許可しない "DefaultGeolocationSetting"=dword:00000002 ; サイトでユーザーの物理的な場所を追跡する場合は常に確認する "DefaultGeolocationSetting"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: ユーザーの物理的な場所の追跡をサイトに許可する reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultGeolocationSetting" /t REG_DWORD /d 1 /f :: どのサイトにもユーザーの物理的な場所を追跡することを許可しない reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultGeolocationSetting" /t REG_DWORD /d 2 /f :: サイトでユーザーの物理的な場所を追跡する場合は常に確認する reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultGeolocationSetting" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # ユーザーの物理的な場所の追跡をサイトに許可する New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultGeolocationSetting' -PropertyType DWord -Value 1 -Force | Out-Null # どのサイトにもユーザーの物理的な場所を追跡することを許可しない New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultGeolocationSetting' -PropertyType DWord -Value 2 -Force | Out-Null # サイトでユーザーの物理的な場所を追跡する場合は常に確認する New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultGeolocationSetting' -PropertyType DWord -Value 3 -Force | Out-Null