Allow the Serial API on these sites: registry value SerialAskForUrls (SerialAskForUrls)UserHKCU\Software\Policies\Google\Chrome\SerialAskForUrls
- Policy ID
- SerialAskForUrls
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Windows 7 or later
- Source
- Google Chrome Policy Templates (version 156.0.8078.80)
- Category
- Google › Google Chrome › Content settings
Registry
(list values)
REG_SZUserComputer…\Software\Policies\Google\Chrome\SerialAskForUrlsHKCU\Software\Policies\Google\Chrome\SerialAskForUrls Current key
HKLM\Software\Policies\Google\Chrome\SerialAskForUrls
HKLM\Software\Policies\Google\Chrome\SerialAskForUrls
- Enabled value
- Depends on the option value
- Element
- Allow the Serial API on these sites
- Value type
- REG_SZ
- Value name prefix
- -
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome\SerialAskForUrls] ; Add one value per list entry, increasing the number "1"="<enter value>" "2"="<enter value>"
CMD
:: Add one value per list entry, increasing the number reg add "HKCU\Software\Policies\Google\Chrome\SerialAskForUrls" /v "1" /t REG_SZ /d "<enter value>" /f reg add "HKCU\Software\Policies\Google\Chrome\SerialAskForUrls" /v "2" /t REG_SZ /d "<enter value>" /f
PowerShell
# Add one value per list entry, increasing the number New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\SerialAskForUrls' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\SerialAskForUrls' -Name '1' -PropertyType String -Value '<enter value>' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\SerialAskForUrls' -Name '2' -PropertyType String -Value '<enter value>' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\SerialAskForUrls] ; Add one value per list entry, increasing the number "1"="<enter value>" "2"="<enter value>"
CMD
:: Add one value per list entry, increasing the number reg add "HKLM\Software\Policies\Google\Chrome\SerialAskForUrls" /v "1" /t REG_SZ /d "<enter value>" /f reg add "HKLM\Software\Policies\Google\Chrome\SerialAskForUrls" /v "2" /t REG_SZ /d "<enter value>" /f
PowerShell
# Add one value per list entry, increasing the number New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\SerialAskForUrls' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\SerialAskForUrls' -Name '1' -PropertyType String -Value '<enter value>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\SerialAskForUrls' -Name '2' -PropertyType String -Value '<enter value>' -Force | Out-Null