Configure uma lista de origens que concede ciclo de vida em segundo plano estendido às extensões de conexão.: valor do Registro ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls (ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls)ComputadorHKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls

ID da política
ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Microsoft Windows 7 ou versão posterior
Fonte
Google Chrome Policy Templates (versão 156.0.8078.80)
Categoria
Google › Google Chrome › Extensões

Registro

(valores da lista)

REG_SZComputadorUsuário
Valor habilitado
Depende do valor da opção
Elemento
Configure uma lista de origens que concede ciclo de vida em segundo plano estendido às extensões de conexão.
Tipo de valor
REG_SZ
Prefixo do nome do valor
-
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls]

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls]

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKCU\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKCU\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null