對受管理帳戶設定限制 的登錄值 ManagedAccountsSigninRestriction使用者HKCU\Software\Policies\Google\Chrome

原則 ID
ManagedAccountsSigninRestriction
適用範圍
電腦設定、使用者設定
支援的作業系統
Microsoft Windows 7 以上版本
來源
Google Chrome Policy Templates (版本 156.0.8078.80)
類別
Google › Google Chrome › 已淘汰的政策

登錄

ManagedAccountsSigninRestriction

REG_SZ使用者電腦
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome 目前的機碼
HKLM\Software\Policies\Google\Chrome
啟用時的值
取決於選項值
元素
對受管理帳戶設定限制
選項
項目儲存的值
受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料primary_account
受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料primary_account_strict
不對受管理帳戶設定限制none
受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料primary_account_keep_existing_data
受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料primary_account_strict_keep_existing_data
以 .reg · CMD · PowerShell 套用
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; 選項 (只使用其中一個)
; 受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料
"ManagedAccountsSigninRestriction"="primary_account"
; 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料
"ManagedAccountsSigninRestriction"="primary_account_strict"
; 不對受管理帳戶設定限制
"ManagedAccountsSigninRestriction"="none"
; 受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料
"ManagedAccountsSigninRestriction"="primary_account_keep_existing_data"
; 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料
"ManagedAccountsSigninRestriction"="primary_account_strict_keep_existing_data"
CMD
:: 選項 (只使用其中一個)

:: 受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account" /f
:: 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict" /f
:: 不對受管理帳戶設定限制
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "none" /f
:: 受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_keep_existing_data" /f
:: 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict_keep_existing_data" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選項 (只使用其中一個)
# 受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account' -Force | Out-Null
# 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict' -Force | Out-Null
# 不對受管理帳戶設定限制
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'none' -Force | Out-Null
# 受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_keep_existing_data' -Force | Out-Null
# 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict_keep_existing_data' -Force | Out-Null
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; 選項 (只使用其中一個)
; 受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料
"ManagedAccountsSigninRestriction"="primary_account"
; 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料
"ManagedAccountsSigninRestriction"="primary_account_strict"
; 不對受管理帳戶設定限制
"ManagedAccountsSigninRestriction"="none"
; 受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料
"ManagedAccountsSigninRestriction"="primary_account_keep_existing_data"
; 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料
"ManagedAccountsSigninRestriction"="primary_account_strict_keep_existing_data"
CMD
:: 選項 (只使用其中一個)

:: 受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account" /f
:: 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict" /f
:: 不對受管理帳戶設定限制
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "none" /f
:: 受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_keep_existing_data" /f
:: 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict_keep_existing_data" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選項 (只使用其中一個)
# 受管理帳戶必須是主要帳戶,而且在建立設定檔時可以匯入現有的瀏覽資料
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account' -Force | Out-Null
# 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立設定檔時,可以匯入現有的瀏覽資料
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict' -Force | Out-Null
# 不對受管理帳戶設定限制
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'none' -Force | Out-Null
# 受管理帳戶必須是主要帳戶,而且使用者在建立該帳戶時可以匯入現有資料
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_keep_existing_data' -Force | Out-Null
# 受管理帳戶必須是主要帳戶,不可包含任何次要帳戶。此外,使用者在建立該帳戶時,可以匯入現有資料
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict_keep_existing_data' -Force | Out-Null