Skip to main content

Lockdown Browsers Autofill and Password Manager

Summary

The script can disable the password manager and autofill address and credit card information for the Edge, Chrome, Brave, and Firefox browsers. Moreover, it can delete the saved passwords, but it will forcefully close the browsers. Microsoft Edge will also be closed if the script is used to disable the Edge Wallet.

Lockdown Browsers Password Manager

It's important to know that for browsers based on Chromium (like Google Chrome, Microsoft Edge, and Brave), turning off the Password Manager won't stop the Autofill (or Sign in Automatically) feature. If Autofill (or Sign in Automatically) is enabled and there are saved passwords, it will still automatically fill in credentials for websites. However, if the Password Manager is disabled, new passwords won't be saved, and the browser won't ask to store passwords. The saved passwords will still work.

For Firefox, turning off the Password Manager will also disable Autofill.

Affected Setting for Google Chrome:
Google Chrome Setting

Affected Setting for Brave:
Brave Setting

Affected Settings for Microsoft Edge:
Microsoft Edge Setting

Affected Settings for Mozilla Firefox:
Mozilla Firefox Setting

Note:

  • The changes will only take effect once the browser is restarted if it's currently open. In certain situations, especially for Microsoft Edge, the user might need to restart the entire computer for the changes to take effect.

Lockdown Chromium Browsers Credit Card Autofill

Affected Setting for Google Chrome:
Google Chrome Credit Card Setting

Affected Settings for Microsoft Edge:
Microsoft Edge Credit Card Setting

Affected Setting for Brave:
Brave Credit Card Setting

Note:

  • The changes will only take effect once the browser is restarted if it's currently open.

Lockdown Chromium Browsers Address Autofill

Affected Setting for Google Chrome:
Google Chrome Address Setting

Affected Settings for Microsoft Edge:
Microsoft Edge Address Setting

Affected Setting for Brave:
Brave Address Setting

Note:

  • The changes will only take effect once the browser is restarted if it's currently open.

Clear Browsers Saved Passwords

The task is designed to remove saved passwords from the following browsers:

  • Google Chrome
  • Microsoft Edge
  • Brave
  • Mozilla Firefox

Note:

  • If any of these browsers are running, they will be forcefully closed.

Disable Edge Wallet

The task can disable the sync between Edge Wallet and the cloud. It should be disabled to remove the saved passwords from Microsoft Edge.
Edge Wallet

Note:

  • If Microsoft Edge is running, it will be forcefully closed.

Sample Run

Sample Run 1
Sample Run 2
Sample Run 3

User Parameters

NameExampleAccepted ValuesDefaultTypeRequiredDescription
BrowserChrome, Edge, FirefoxChrome, Edge, Firefox, Brave, AllAllTextFalseName of the Browser(s) to apply the changes for.
DisablePasswordManagerTrueTrue or FalseTrueTextFalseSet this value to false to NOT disable the password manager for the browser(s).
DisableAutofillAddressTrueTrue or FalseTrueTextFalseSet this value to false to NOT disable the autofilling of addresses for the browser(s).
DisableAutofillCreditCardTrueTrue or FalseTrueTextFalseSet this value to false to NOT disable the autofilling of credit card details for the browser(s).
RemoveSavedPasswordFalseTrue or FalseFalseTextFalseSetting this to true will remove the saved passwords from the browser(s). Browser(s) will be forcefully closed if they are running.
DisableEdgeWalletFalseTrue or FalseFalseTextFalseSetting this to true will disable the Microsoft Edge Wallet's sync. Microsoft Edge will be forcefully closed if it is running. It is mandatory to set this parameter to True to remove the saved password from Microsoft Edge.

User Parameters

Task Creation

Create a new Script Editor style script in the system to implement this Task.
Create Script
Create Script Step 2

Name: Lockdown Browsers Autofill and Password Manager
Description: The script can disable the password manager and autofill address and credit card information for the Edge, Chrome, Brave, and Firefox browsers. Moreover, it can delete the saved passwords, but it will forcefully close the browsers. Microsoft Edge will also be closed if the script is used to disable the Edge Wallet.
Category: Application
Category

Parameters

Browsers

Add a new parameter by clicking the Add Parameter button present at the top-right corner of the screen.
Add Parameter

This screen will appear.
Parameter Screen

  • Set Browser in the Parameter Name field.
  • Select Text String from the Parameter Type dropdown menu.
  • Enable the Default Value button.
  • Set All in the Default Value field.
  • Click the Save button.

Save Parameter

Create the rest of the parameters described in the User Parameters section of the document in the same way.

DisablePasswordManager:

Disable Password Manager

DisableAutofillAddress:

Disable Autofill Address

DisableAutofillCreditCard:

Disable Autofill Credit Card

RemoveSavedPassword:

Remove Saved Password

DisableEdgeWallet:

Disable Edge Wallet

Task

Navigate to the Script Editor Section and start by adding a row. You can do this by clicking the Add Row button at the bottom of the script page.
Add Row

A blank function will appear.
Blank Function

Search and select the PowerShell Script function.
PowerShell Script
PowerShell Script Step 2

The following function will pop up on the screen:
PowerShell Function

Paste in the following PowerShell script and set the expected time of script execution to 900 seconds. Click the Save button.

PowerShell Script

Script Execution

Row 2 Function: Script Log

Add a new row by clicking the Add Row button.
Add Row for Log

A blank function will appear.
Blank Function for Log

Search and select the Script Log function.
Script Log Function

The following function will pop up on the screen:
Script Log Pop Up

In the script log message, simply type %output% and click the Save button.
Script Log Save

Click the Save button at the top-right corner of the screen to save the script.
Save Script

Completed Task

Completed Task

Output

  • Script Log

Changelog

2025-04-10

  • Initial version of the document