Microsoft Baseline Security Analyzer (MBSA) Silent Install (How-To Guide)


The Microsoft Baseline Security Analyzer provides a streamlined method to identify missing security updates and common security misconfigurations. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the Microsoft Baseline Security Analyzer from the command line using the MSI installer.

How to Install Microsoft Baseline Security Analyzer Silently

Microsoft Baseline Security Analyzer 2.3

Microsoft Power BI Desktop Silent I...
Microsoft Power BI Desktop Silent Install (How-To Guide)
Silent Install (MSI)

  1. Navigate to:
  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: MsiExec.exe /i MBSASetup-x64-EN.msi /qn
  6. Press Enter

After a few moments you should see the Microsoft Baseline Security Analyzer Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Microsoft Baseline Security Analyzer 2.3
Vendor:Microsoft Corporation
Version:2.3.2211
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i MBSASetup-x64-EN.msi /qn
Silent Uninstall Switch:MsiExec.exe /x {C058FC5D-565F-4360-A562-0527A3D993DC} /qn
Repair Command:MsiExec.exe /fa {C058FC5D-565F-4360-A562-0527A3D993DC} /qn
Download Link:https://web.archive.org/web/20150315030056/http://www.microsoft.com/en-us/download/details.aspx?id=7558

Microsoft Baseline Security Analyzer 2.2 Silent Install (MSI)

  1. Navigate to:
  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: MsiExec.exe /i MBSASetup-x64-EN.msi /qn
  6. Press Enter

After a few moments you should see the Microsoft Baseline Security Analyzer Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Microsoft Baseline Security Analyzer 2.2
Vendor:Microsoft Corporation
Version:2.2.2170
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i MBSASetup-x64-EN.msi /qn
Silent Uninstall Switch:MsiExec.exe /x {08C3441C-4FAF-48D3-A551-70DD6031734F} /qn
Repair Command:MsiExec.exe /fa {08C3441C-4FAF-48D3-A551-70DD6031734F} /qn
Download Link:https://web.archive.org/web/20111121013001/http://download.microsoft.com/download/8/E/1/8E16A4C7-DD28-4368-A83A-282C82FC212A/MBSASetup-x64-EN.msi

Microsoft Baseline Security Analyzer 2.1 (32-bit) Silent Install (MSI)

  1. Navigate to:
  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: MsiExec.exe /i MBSASetup-x86-EN.msi /qn
  6. Press Enter

After a few moments you should see the Microsoft Baseline Security Analyzer Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Microsoft Baseline Security Analyzer 2.1 (32-bit)
Vendor:Microsoft Corporation
Version:2.1.2111
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i MBSASetup-x86-EN.msi /qn
Silent Uninstall Switch:MsiExec.exe /x {55D1BF8E-EA8F-4969-82B9-B577010CFBCD} /qn
Repair Command:MsiExec.exe /fa {55D1BF8E-EA8F-4969-82B9-B577010CFBCD} /qn
Download Link:https://www.microsoft.com/en-us/download/details.aspx?id=19892

Microsoft Baseline Security Analyzer 2.1 (64-bit) Silent Install (MSI)

  1. Navigate to:
  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: MsiExec.exe /i MBSASetup-x64-EN.msi /qn
  6. Press Enter

After a few moments you should see the Microsoft Baseline Security Analyzer Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Microsoft Baseline Security Analyzer 2.1 (64-bit)
Vendor:Microsoft Corporation
Version:2.1.2111
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i MBSASetup-x64-EN.msi /qn
Silent Uninstall Switch:MsiExec.exe /x {47DEB25D-4FA2-4894-8A0D-FE944C47326E} /qn
Repair Command:MsiExec.exe /fa {47DEB25D-4FA2-4894-8A0D-FE944C47326E} /qn
Download Link:https://www.microsoft.com/en-us/download/details.aspx?id=19892

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


Additional Configurations

Create an Installation Log File

The Microsoft Baseline Security Analyzer installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.

Microsoft Baseline Security Analyzer 2.3 Silent Install with Logging

MsiExec.exe /i MBSASetup-x64-EN.msi /qn /L*v "%WINDIR%\Temp\MBSA23-Install.log"

Microsoft Baseline Security Analyzer 2.2 Silent Install with Logging

MsiExec.exe /i MBSASetup-x64-EN.msi /qn /L*v "%WINDIR%\Temp\MBSA22-Install.log"

Microsoft Baseline Security Analyzer 2.1 (32-bit) Silent Install with Logging

MsiExec.exe /i MBSASetup-x86-EN.msi /qn /L*v "%WINDIR%\Temp\MBSAx8621-Install.log"

Microsoft Baseline Security Analyzer 2.1 (64-bit) Silent Install with Logging

MsiExec.exe /i MBSASetup-x64-EN.msi /qn /L*v "%WINDIR%\Temp\MBSAx6421-Install.log"

How to Uninstall Microsoft Baseline Security Analyzer Silently

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

Microsoft Baseline Security Analyzer 2.3 Silent Uninstall

MsiExec.exe /x {C058FC5D-565F-4360-A562-0527A3D993DC} /qn

Microsoft Baseline Security Analyzer 2.2 Silent Uninstall

MsiExec.exe /x {08C3441C-4FAF-48D3-A551-70DD6031734F} /qn

Microsoft Baseline Security Analyzer 2.1 (32-bit) Silent Uninstall

MsiExec.exe /x {55D1BF8E-EA8F-4969-82B9-B577010CFBCD} /qn

Microsoft Baseline Security Analyzer 2.1 (64-bit) Silent Uninstall

MsiExec.exe /x {47DEB25D-4FA2-4894-8A0D-FE944C47326E} /qn

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.

Recent Posts