LastPass Silent Install (How-To Guide)

LastPass is a freemium password manager that stores encrypted passwords online. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of LastPass from the command line using the EXE installer.

How to Install LastPass Silently

LastPass 32-bit Silent Install (EXE)

  1. Download the LastPass 32-bit Installer
  2. Download the file to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: lastpass.exe --silinstall --userinstallie --userinstallff --userinstallchrome
  6. Press Enter

After a minute or so you should see the LastPass shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title: LastPass
Vendor: LastPass
Architecture: x86
Installer Type: EXE
Silent Install Switch: lastpass.exe --silinstall --userinstallie --userinstallff --userinstallchrome
Silent Uninstall Switch: lastpass.exe --siluninstall
Download Link: https://download.cloud.lastpass.com/windows_installer/lastpass.exe
PowerShell Script: https://silentinstallhq.com/lastpass-install-and-uninstall-powershell/

LastPass 64-bit Silent Install (EXE)

  1. Download the LastPass 64-bit Installer
  2. Download the file to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: lastpass_x64.exe -si -i -f -c
  6. Press Enter

After a minute or so you should see the LastPass shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title: LastPass
Vendor: LastPass
Architecture: x64
Installer Type: EXE
Silent Install Switch: lastpass_x64.exe -si -i -f -c
Silent Uninstall Switch: lastpass_x64.exe -sb
Download Link: https://download.cloud.lastpass.com/windows_installer/lastpass_x64.exe
PowerShell Script: https://silentinstallhq.com/lastpass-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Available Command Line Parameters

-d, --debug Writes log file to C:\lpdebug.txt
-si, --silinstall Silent Install
-sb, --siluninstall Silent Uninstall
-j, --installdir=<str> Install Directory Location
-i, --userinstallie Install Internet Explorer plugin
-f, --userinstallff Install Firefox plugin
-c, --userinstallchrome Install Chrome plugin
-lang, --language=<str> Default language for plugins
-delay, --delay=<str> Sleep X seconds before doing anything
-sys, --sys Restarts EXE as high integrity process
-b, --uninstall Uninstall
-nar, --noaddremove No entry for Add/Remove Programs
-nsm, --nostartmenu No Start Menu Group entry
-ndp, --nodisablepwmgrs Don’t disable browser password managers
-noimprove, --noimprove Don’t send anonymous error reporting
-nohistory, --nohistory Don’t keep history of logins or formfills
--nomanualwinlogin No Link/Unlink to Windows Login
-dnot, --disablenotes Disable Secure Notes Feature
-dide, --disableidentities Disable Identities
-dvau, --disablevault Disable Vault Feature
-dcon, --disablecontext Disable Context Menus
-dexp, --disableexport Disable Export Feature
-dimp, --disableimport Disable Import Feature
-dsha, --disablesharing Disable Sharing Feature
-dpri, --disableprint Disable Print Feature
-disableicon, --disableicon=<str> Default value of whether to show IE browser icon for all users (0|1)
--disableiconuser=<str> Override value of whether to show IE browser icon for a user (0|1)
-ia, --installforallusers Deprecated

How to Uninstall LastPass Silently

Check out the LastPass Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

LastPass 32-bit Silent Uninstall (EXE)

lastpass.exe --siluninstall

OR

lastpass.exe -sb

LastPass 64-bit Silent Uninstall (EXE)

lastpass_x64.exe --siluninstall

OR

lastpass_x64.exe -sb

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.