Restrict which Google accounts are allowed to be set as browser primary accounts in Brave
Explanation
Contains a regular expression which is used to determine which Google accounts can be set as browser primary accounts in Brave (i.e. the account that is chosen during the Sync opt-in flow).
An appropriate error is displayed if a user tries to set a browser primary account with a username that does not match this pattern.
If this policy is left not set or blank, then the user can set any Google account as a browser primary account in Brave.
Example value: .*@example\.com
Registry
HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\BraveHKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: brave/RestrictSigninToPattern
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Restrict which Google accounts are allowed to be set as browser primary accounts in Brave
Set-ItemProperty -Path $k -Name 'RestrictSigninToPattern' -Value '<value>' -Type StringDisable
# Disable: brave/RestrictSigninToPattern
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": brave/RestrictSigninToPattern
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
Remove-ItemProperty -Path $k -Name 'RestrictSigninToPattern' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Restrict which Google accounts are allowed to be set as browser primary accounts in BraveRestrictSigninToPattern | Text boxtext | RestrictSigninToPattern | REG_SZ | Max length: 1000000 |
Application
Brave (Brave Software) — November 2026 templates
Official templates downloaded on November 12, 2026.