Azure Cosmos DB Emulator Silent Install (How-To Guide)

The Azure Cosmos DB Emulator provides a local environment that emulates the Azure Cosmos DB service for development purposes. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Azure Cosmos DB Emulator from the command line using the MSI installer.

How to Install Azure Cosmos DB Emulator Silently

Azure Cosmos DB Emulator Silent Install (MSI)

  1. Download the Azure Cosmos DB Emulator (MSI) 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:
    • Msiexec.exe /i azure-cosmosdb-emulator-x.x.x.msi /qn
  6. Press Enter

After a minute or so you should see the Azure Cosmos DB Emulator shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Azure Cosmos DB Emulator
Vendor:Microsoft Corporation
Installer Type:MSI
Silent Install Switch:Msiexec.exe /i azure-cosmosdb-emulator-2.11.5-ec6329bd.msi /qn
Silent Uninstall Switch:Msiexec.exe /x {E1914736-85F8-468B-BCD3-E5CC5ADA4C9E} /qn
Repair Command:Msiexec.exe /fa {E1914736-85F8-468B-BCD3-E5CC5ADA4C9E} /qn
Download Link:

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 Azure Cosmos DB Emulator installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

Azure Cosmos DB Emulator (MSI) Silent Install with Logging

Msiexec.exe /i azure-cosmosdb-emulator-x.x.x.msi /qn /L*v "%WINDIR%\Temp\AzureDBEmulator-Install.log"

How to Uninstall Azure Cosmos DB Emulator Silently

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

Azure Cosmos DB Emulator 2.11.5 (MSI) Silent Uninstall

Msiexec.exe /x {E1914736-85F8-468B-BCD3-E5CC5ADA4C9E} /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