Add restrictions on managed accounts: registry value ManagedAccountsSigninRestrictionUserHKCU\Software\Policies\Google\Chrome

Policy ID
ManagedAccountsSigninRestriction
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 › Deprecated policies

Registry

ManagedAccountsSigninRestriction

REG_SZUserComputer
Enabled value
Depends on the option value
Element
Add restrictions on managed accounts
Options
ItemStored value
A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creationprimary_account
A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creationprimary_account_strict
No restrictions on managed accountsnone
A Managed account must be a primary account and the user can import existing data at the time of its creationprimary_account_keep_existing_data
A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creationprimary_account_strict_keep_existing_data
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Options (use only one)
; A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creation
"ManagedAccountsSigninRestriction"="primary_account"
; A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creation
"ManagedAccountsSigninRestriction"="primary_account_strict"
; No restrictions on managed accounts
"ManagedAccountsSigninRestriction"="none"
; A Managed account must be a primary account and the user can import existing data at the time of its creation
"ManagedAccountsSigninRestriction"="primary_account_keep_existing_data"
; A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creation
"ManagedAccountsSigninRestriction"="primary_account_strict_keep_existing_data"
CMD
:: Options (use only one)

:: A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creation
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account" /f
:: A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creation
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict" /f
:: No restrictions on managed accounts
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "none" /f
:: A Managed account must be a primary account and the user can import existing data at the time of its creation
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_keep_existing_data" /f
:: A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creation
reg add "HKCU\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict_keep_existing_data" /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Options (use only one)
# A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creation
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account' -Force | Out-Null
# A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creation
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict' -Force | Out-Null
# No restrictions on managed accounts
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'none' -Force | Out-Null
# A Managed account must be a primary account and the user can import existing data at the time of its creation
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_keep_existing_data' -Force | Out-Null
# A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creation
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict_keep_existing_data' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Options (use only one)
; A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creation
"ManagedAccountsSigninRestriction"="primary_account"
; A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creation
"ManagedAccountsSigninRestriction"="primary_account_strict"
; No restrictions on managed accounts
"ManagedAccountsSigninRestriction"="none"
; A Managed account must be a primary account and the user can import existing data at the time of its creation
"ManagedAccountsSigninRestriction"="primary_account_keep_existing_data"
; A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creation
"ManagedAccountsSigninRestriction"="primary_account_strict_keep_existing_data"
CMD
:: Options (use only one)

:: A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creation
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account" /f
:: A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creation
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict" /f
:: No restrictions on managed accounts
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "none" /f
:: A Managed account must be a primary account and the user can import existing data at the time of its creation
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_keep_existing_data" /f
:: A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creation
reg add "HKLM\Software\Policies\Google\Chrome" /v "ManagedAccountsSigninRestriction" /t REG_SZ /d "primary_account_strict_keep_existing_data" /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Options (use only one)
# A Managed account must be a primary account and importing existing browsing data is allowed at the time of profile creation
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account' -Force | Out-Null
# A Managed account must be a primary account and have no secondary accounts and importing existing browsing data is allowed at the time of profile creation
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict' -Force | Out-Null
# No restrictions on managed accounts
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'none' -Force | Out-Null
# A Managed account must be a primary account and the user can import existing data at the time of its creation
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_keep_existing_data' -Force | Out-Null
# A Managed account must be a primary account and have no secondary accounts and the user can import existing data at the time of its creation
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ManagedAccountsSigninRestriction' -PropertyType String -Value 'primary_account_strict_keep_existing_data' -Force | Out-Null