Mongodb service doesn't autostart after upgrade

SOLVED

Hi there,

I have made 3 different upgrades from Mongodb 3.4 to 4.2 and now when I restart Windows, the mongodb service doesn't autostart. I have to start it manually.

The update path was the following:

  • Mongodb 3.4 -> 3.6
  • Mongodb 3.6 -> 4.0
  • Mongodb 4.0 -> 4.2

The service is set to Automatic and logon as local system. It was working in the 3 different machines before the upgrade.

Any ideas?

Best Regards