MongoDB Community : Error when installing service as local or domain user [closed]

Here is the solution: Username should be 'username' of your system/device. And password should be password of your system/device. It's weird, but that shall work.


Here's the solution for Windows 10(x64):

  • If you don't have a domain (for home or personal computers), leave the domain field with "."
  • If your computer is owned by your company, contact your system administrator and then in the domain field type : Company_Domain

  • In the username field,

    • for personal computers : type your username. If you're signed in with a Microsoft Account, type the email address or the name of your Microsoft Account.

    • for company provided machines : type your username as Company_Domain/Your_Username

  • In the password field type the password not the PIN number (if you've set it up).

That should help.


I had admin user without password.I had set password and try installation and give local admin user and password.it work for me.


Here is the best solution: Provide your system/device Username and password. And password should be password of your system/device. It's weird, but it shall work.