Restrict which Google accounts are allowed to be set as browser primary accounts in Brave
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
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
Registre
HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\BraveHKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Ordinateur (HKLM)
Activer
# Activer : 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 '<valeur>' -Type StringDésactiver
# Désactiver : brave/RestrictSigninToPattern
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : brave/RestrictSigninToPattern
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
Remove-ItemProperty -Path $k -Name 'RestrictSigninToPattern' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Options (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Restrict which Google accounts are allowed to be set as browser primary accounts in BraveRestrictSigninToPattern | Zone de textetext | RestrictSigninToPattern | REG_SZ | Longueur max : 1000000 |
Application
Brave (Brave Software) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.