Impostazione stream multimediale predefinito: valore del Registro di sistema DefaultMediaStreamSettingComputerHKLM\Software\Policies\Google\Chrome

ID criterio
DefaultMediaStreamSetting
Ambito
Configurazione computer, Configurazione utente
Supportato in
Microsoft Windows 7 o versioni successive
Origine
Google Chrome Policy Templates (versione 156.0.8078.80)
Categoria
Google › Google Chrome › Norme obsolete

Registro

DefaultMediaStreamSetting

REG_DWORDComputerUtente
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Chiave corrente
HKCU\Software\Policies\Google\Chrome
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Impostazione stream multimediale predefinito
Opzioni
VoceValore memorizzato
Non consentire ad alcun sito di accedere alla fotocamera e al microfono2
Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono3
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opzioni (usarne solo una)
; Non consentire ad alcun sito di accedere alla fotocamera e al microfono
"DefaultMediaStreamSetting"=dword:00000002
; Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono
"DefaultMediaStreamSetting"=dword:00000003
CMD
:: Opzioni (usarne solo una)

:: Non consentire ad alcun sito di accedere alla fotocamera e al microfono
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultMediaStreamSetting" /t REG_DWORD /d 2 /f
:: Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultMediaStreamSetting" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# Non consentire ad alcun sito di accedere alla fotocamera e al microfono
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultMediaStreamSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultMediaStreamSetting' -PropertyType DWord -Value 3 -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opzioni (usarne solo una)
; Non consentire ad alcun sito di accedere alla fotocamera e al microfono
"DefaultMediaStreamSetting"=dword:00000002
; Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono
"DefaultMediaStreamSetting"=dword:00000003
CMD
:: Opzioni (usarne solo una)

:: Non consentire ad alcun sito di accedere alla fotocamera e al microfono
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultMediaStreamSetting" /t REG_DWORD /d 2 /f
:: Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultMediaStreamSetting" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# Non consentire ad alcun sito di accedere alla fotocamera e al microfono
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultMediaStreamSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Chiedi ogni volta che un sito vuole accedere alla fotocamera e/o al microfono
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultMediaStreamSetting' -PropertyType DWord -Value 3 -Force | Out-Null