Varsayılan sensörler ayarı: kayıt defteri değeri DefaultSensorsSettingBilgisayarHKLM\Software\Policies\Google\Chrome
- İlke Kimliği
- DefaultSensorsSetting
- Kapsam
- Bilgisayar Yapılandırması, Kullanıcı Yapılandırması
- Desteklenen işletim sistemleri
- Microsoft Windows 7 veya sonraki sürümler
- Kaynak
- Google Chrome Policy Templates (sürüm 156.0.8078.80)
- Kategori
- Google › Google Chrome › İçerik ayarları
Kayıt defteri
DefaultSensorsSetting
REG_DWORDBilgisayarKullanıcı…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Geçerli anahtar
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Etkin değeri
- Seçenek değerine bağlıdır
- Öğe
- Varsayılan sensörler ayarı
| Madde | Saklanan değer |
|---|---|
| Sitelerin sensörlere erişmesine izin ver | 1 |
| Hiçbir sitenin sensörlere erişmesine izin verme | 2 |
| Bir site sensörlere erişmek istediğinde her zaman sor | 3 |
.reg · CMD · PowerShell ile uygula
BilgisayarMakine genelinde ayar
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Seçenekler (yalnızca birini kullanın) ; Sitelerin sensörlere erişmesine izin ver "DefaultSensorsSetting"=dword:00000001 ; Hiçbir sitenin sensörlere erişmesine izin verme "DefaultSensorsSetting"=dword:00000002 ; Bir site sensörlere erişmek istediğinde her zaman sor "DefaultSensorsSetting"=dword:00000003
CMD
:: Seçenekler (yalnızca birini kullanın) :: Sitelerin sensörlere erişmesine izin ver reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultSensorsSetting" /t REG_DWORD /d 1 /f :: Hiçbir sitenin sensörlere erişmesine izin verme reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultSensorsSetting" /t REG_DWORD /d 2 /f :: Bir site sensörlere erişmek istediğinde her zaman sor reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultSensorsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # Sitelerin sensörlere erişmesine izin ver New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultSensorsSetting' -PropertyType DWord -Value 1 -Force | Out-Null # Hiçbir sitenin sensörlere erişmesine izin verme New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultSensorsSetting' -PropertyType DWord -Value 2 -Force | Out-Null # Bir site sensörlere erişmek istediğinde her zaman sor New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultSensorsSetting' -PropertyType DWord -Value 3 -Force | Out-Null
KullanıcıHesap başına ayar
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Seçenekler (yalnızca birini kullanın) ; Sitelerin sensörlere erişmesine izin ver "DefaultSensorsSetting"=dword:00000001 ; Hiçbir sitenin sensörlere erişmesine izin verme "DefaultSensorsSetting"=dword:00000002 ; Bir site sensörlere erişmek istediğinde her zaman sor "DefaultSensorsSetting"=dword:00000003
CMD
:: Seçenekler (yalnızca birini kullanın) :: Sitelerin sensörlere erişmesine izin ver reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultSensorsSetting" /t REG_DWORD /d 1 /f :: Hiçbir sitenin sensörlere erişmesine izin verme reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultSensorsSetting" /t REG_DWORD /d 2 /f :: Bir site sensörlere erişmek istediğinde her zaman sor reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultSensorsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # Sitelerin sensörlere erişmesine izin ver New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultSensorsSetting' -PropertyType DWord -Value 1 -Force | Out-Null # Hiçbir sitenin sensörlere erişmesine izin verme New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultSensorsSetting' -PropertyType DWord -Value 2 -Force | Out-Null # Bir site sensörlere erişmek istediğinde her zaman sor New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultSensorsSetting' -PropertyType DWord -Value 3 -Force | Out-Null