Deactivate Browser Password Managers Using Device Management
This article will direct you on how to disable various web browser's built-in password managers using group policy. These steps will help prevent corporate logins from being saved and synchronized to personal accounts. You may also consider deploying the Bitwarden browser extension to all browsers as part of this same policy.
Öppna Group Policy Management Editor på din hanterande Windows-server.
Skapa ett nytt GPO för Edge i Group Policy Editor och ange ett lämpligt namn.
Välj önskat omfattning.
Högerklicka på det nya grupprincipobjektet → Redigera.
I redigeraren för grupprinciphantering, gå till Användarkonfiguration → Policies → Administrativa mallar → Microsoft Edge.
Ange följande policyer:
Öppna "Lösenordshanteraren och skydd", inaktivera policyn Aktivera spara lösenord i lösenordshanteraren.
Inaktivera principen Aktivera autofyll för adresser.
Inaktivera policyn Aktivera autofyll för betalningsinstrument.
Alternativt kan du aktivera principen Inaktivera synkronisering av data med hjälp av Microsofts synktjänster.
När det är klart bör GPO-inställningarna visa följande:
Edge Settings Se till att GPO-länken är aktiverad.
Check that the previous steps worked correctly for your setup:
On a user's computer, Open the command line, and run:
gpupdate /force
.Open Edge, then click the three dots for settings ... → Settings → Passwords.
Ensure "Offer to save passwords" is turned off and managed by the organization.
note
Sign-in automatically is still checked because there is no policy setting to turn this off.
Any logins previously saved in Edge will not be removed and will continue to be displayed to the user, despite autofill being disabled. Be sure to instruct the user to import any saved logins into Bitwarden before deleting them from Edge.
To disable the Chrome Password Manager via group policy:
Download the Google Chrome .deb or .rpm for Linux.
Download the Chrome Enterprise Bundle.
Unzip the Enterprise Bundle (
GoogleChromeEnterpriseBundle64.zip
orGoogleChromeEnterpriseBundle32.zip
) and open the/Configuration
folder.Make a copy of the
master_preferences.json
(in Chrome 91+,initial_preferences.json
) and rename itmanaged_preferences.json
.To disable Chrome's built-in password manager, add the following to
managed_preferences.json
inside of"policies": { }
:Plain Text{ "PasswordManagerEnabled": false }
Create the following directories if they do not already exist:
Plain Textmkdir /etc/opt/chrome/policies mkdir /etc/opt/chrome/policies/managed
Move
managed_preferences.json
into/etc/opt/chrome/policies/managed
.As you will need to deploy these files to users' machines, we recommend making sure only admins can write files in the
/managed
directory.Plain Textchmod -R 755 /etc/opt/chrome/policies
Additionally, we recommend admins should add the following to files to prevent modifications to the files themselves:
Plain Textchmod 644 /etc/opt/chrome/policies/managed/managed_preferences.json
Using your preferred software distribution or MDM tool, deploy the following to users' machines:
Google Chrome Browser
/etc/opt/chrome/policies/managed/managed_preferences.json
note
For more help, refer to Google's Chrome Browser Quick Start for Linux guide.
Download the Google Chrome .dmg or .pkg for macOS.
Download the Chrome Enterprise Bundle.
Unzip the Enterprise Bundle (
GoogleChromeEnterpriseBundle64.zip
orGoogleChromeEnterpriseBundle32.zip
).Open the
/Configuration/com.Google.Chrome.plist
file with any text editor.To disable Chrome's built-in password manager, add the following to
com.Google.Chrome.plist
:Plain Text<key>PasswordManagerEnabled</key> <false />
Convert the
com.Google.Chrome.plist
file to a configuration profile using a conversion tool of your choice.Deploy the Chrome
.dmg
or.pkg
and the configuration profile using your software distribution or MDM tool to all managed computers.
note
For more help, refer to Google's Chrome Browser Quick Start for Mac guide.
For additional information, see Chrome's documentation for setting up Chrome browser on Mac.