MongoDB error as setup Wizard ended prematurely, while installing it on windows 10

I have downloaded MongoDB from the official site as an .msi file and during installation it stops and freezes and after half an hour, and gives an error as the setup wizard ended prematurely.

screenshot of error screen link

I have a fresh installation of Windows 10 Pro (64-bit) installed just today, and there are no other applications which should be interfering with MongoDB.

I have NodeJS (v8.10.0), npm(5.6.0) installed properly
Windows firewall is turned off and there is no antivirus running.

Is this problem of any missing drivers or any change in BIOS settings?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

For me unchecking Install Compass helped …

Solution 2

I disabled installing the router (mongos) and bundeled software client (MongoDB Compass) and installer ran fine after that. Hope this helps.

Solution 3

I had this problem too and solve it in this way:

  • Remove the older version of MongoDB if you have installed it before.
  • Disable your antivirus if you have any of them
  • Go to C:>users>”UserName”>AppData>Local>Temp
  • Right Click on Temp and go to Properties
  • Select Security Tab
  • Select the User and check the permission and controll give the user full control by Checking Full Control on permission
  • Go Ahead and Install MongoDB.

Note that if you want to install MongoDB compass too, you should have internet connection.

I hope this will work for you.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply