Share via

Azure Cosmos Emulator (Windows MSI) error in Microsoft.Azure.Cosmos.StartupEntryPoint.exe

Andriy Svyryd 20 Reputation points Microsoft Employee
2026-03-11T19:11:13.9166667+00:00

Install the emulator on a fresh Windows Server 2016 Datacenter with .Net Framework 4.8.0 and x64 Visual C++ 2015–2022 Redistributable
Get error on startup in Microsoft.Azure.Cosmos.StartupEntryPoint.exe

Tried the following troubleshooting steps several times:

  • Restarting
  • Reinstalling
  • Resetting data
  • lodctr /R
  • Microsoft.Azure.Cosmos.Emulator.exe /GenCert
Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.


Answer accepted by question author

  1. Manoj Kumar Boyini 13,850 Reputation points Microsoft External Staff Moderator
    2026-03-19T12:26:20.5533333+00:00

    Hi Andriy Svyryd,

    The startup failure in Microsoft.Azure.Cosmos.StartupEntryPoint.exe is occurring during certificate and cryptographic initialization. Specifically, the emulator fails while accessing the private key of the self‑signed TLS certificate and setting the required ACLs. This results in the System.Security.Cryptography.CryptographicException you’re seeing and prevents the emulator from starting.

    Based on the symptoms and troubleshooting already performed, this is a known class of issue with the Windows MSI version of the Azure Cosmos DB Emulator on Windows Server 2016. The emulator relies on legacy Windows crypto providers and certificate handling that can fail on older or hardened server OS configurations. In these cases, reinstalling, resetting data, regenerating certificates, or repairing counters does not resolve the issue.

    The supported and reliable options are:

    1. Run the Cosmos DB Emulator on a newer OS
      • Windows Server 2019 or 2022
        • Windows 10 or 11
    2. Use the Cosmos DB Emulator via Docker

    If upgrading the OS or using Docker is not feasible, the alternative is to use a small Azure-hosted Cosmos DB account (or Free Tier) for development and testing.

    Hope this helps, Please let us know if you have any questions and concerns.

    1 person found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Pilladi Padma Sai Manisha 7,390 Reputation points Microsoft External Staff Moderator
    2026-03-11T20:21:11.9033333+00:00

    Hi Andriy Svyryd,
    Thankyou for reaching in microsoft q&A!
    The error in Microsoft.Azure.Cosmos.StartupEntryPoint.exe on startup is primarily due to OS compatibility issues.

    The Azure Cosmos DB Emulator is not supported on Windows Server 2016, which can cause startup failures even after performing troubleshooting steps like reinstalling, resetting data, or rebuilding performance counters.

    The recommended resolution is to upgrade to Windows Server 2022 or later and reinstall the emulator, which has been validated as the effective fix.

    This is also reflected in the updated documentation, which clarifies the supported environments and prerequisites for running the emulator.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.