對受管理帳戶設定限制 的登錄值 ManagedAccountsSigninRestriction電腦HKLM\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\ChromeHKLM\Software\Policies\Google\Chrome 目前的機碼
HKCU\Software\Policies\Google\Chrome
HKCU\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_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
使用者各帳戶的設定
.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