設定來源清單,為連線中的擴充功能延長背景生命週期。 的登錄值 ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls (ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls)使用者HKCU\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls
- 原則 ID
- ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- Microsoft Windows 7 以上版本
- 來源
- Google Chrome Policy Templates (版本 156.0.8078.80)
- 類別
- Google › Google Chrome › 擴充功能
登錄
(清單值)
REG_SZ使用者電腦…\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrlsHKCU\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls 目前的機碼
HKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls
HKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls
- 啟用時的值
- 取決於選項值
- 元素
- 設定來源清單,為連線中的擴充功能延長背景生命週期。
- 值類型
- REG_SZ
- 值名稱前置詞
- -
以 .reg · CMD · PowerShell 套用
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls] ; 每個清單項目新增一個值,編號依序遞增 "1"="<輸入值>" "2"="<輸入值>"
CMD
:: 每個清單項目新增一個值,編號依序遞增 reg add "HKCU\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "1" /t REG_SZ /d "<輸入值>" /f reg add "HKCU\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "2" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 每個清單項目新增一個值,編號依序遞增 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 '<輸入值>' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Name '2' -PropertyType String -Value '<輸入值>' -Force | Out-Null
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls] ; 每個清單項目新增一個值,編號依序遞增 "1"="<輸入值>" "2"="<輸入值>"
CMD
:: 每個清單項目新增一個值,編號依序遞增 reg add "HKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "1" /t REG_SZ /d "<輸入值>" /f reg add "HKLM\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls" /v "2" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 每個清單項目新增一個值,編號依序遞增 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 '<輸入值>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls' -Name '2' -PropertyType String -Value '<輸入值>' -Force | Out-Null