Malwarebytes is anti-malware software that finds and removes malware. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Malwarebytes from the command line using the EXE installer.
How to Install Malwarebytes Silently
Malwarebytes Silent Install (EXE)
- Navigate to: https://downloads.malwarebytes.com/file/mb-windows
- Download the MBSetup.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: MBSetup.exe /VERYSILENT /NORESTART
- Press Enter
After a few minutes you should see the Malwarebytes Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Malwarebytes |
Vendor: | Malwarebytes |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | MBSetup.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Malwarebytes\Anti-Malware\mbuns.exe" /VERYSILENT /NORESTART /NOSURVEY |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles%\Malwarebytes\Anti-Malware\mbuns.exe" /VERYSILENT /NORESTART /NOSURVEY |
Download Link: | https://downloads.malwarebytes.com/file/mb-windows |
PowerShell Script: | https://silentinstallhq.com/malwarebytes-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-malwarebytes-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
Exclude the Malwarebytes Desktop Shortcut During Install
The Malwarebytes installer creates a desktop shortcut by default. If you do not want the desktop shortcut, then you can run the following command line switches to exclude it.
Malwarebytes Silent Install (EXE) with No Desktop Shortcut
MBSetup.exe /VERYSILENT /NORESTART /NOICON |
How to Uninstall Malwarebytes Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Malwarebytes Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\Malwarebytes\Anti-Malware\mbuns.exe" /VERYSILENT /NORESTART /NOSURVEY |
Malwarebytes Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles%\Malwarebytes\Anti-Malware\mbuns.exe" /VERYSILENT /NORESTART /NOSURVEY |
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.