During the installation of MongoDB Community 7.0 the installer asks for the paths to the DB, and I point them at the dedicated, 50GB empty drive E:, which was created specially for MongoDB.

The next step says that the target drive C: does not have enough space. And the list of drives below shows C: and E:, but E: is unselectable.

Can MongoDB not be installed on any drives other than C:?

1 Answer 1


This has been asked and answered on another SE site, in slightly different terms: https://stackoverflow.com/questions/68491934/mongodb-doesnt-install-on-the-preferred-installation-disk-windows

The answers very kindly refer to the root cause as "100 IQ development" whereas it would be more accurately described as "0-IQ development".

Bottom line is that the installer is too dumb and makes stupid assumptions, whereas it only needs to copy a few files. The 2 workarounds are to use a portable ZIP to install or to unpack the MSI and extract the actual MSI that installs the server.

If you have no choice other than to use that thing, use one of them.

  • The portable ZIP is a working alternative. The only thing to keep an eye on is 1+ GB of debug symbols that they include, and not to extract them. You are spot-on re their IQ.
    – Betty Liv
    Commented Jun 9 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.