What if the MongoDB service account is not configured correctly?

Responsive Ad Header

Question

Grade: Education Subject: Support
What if the MongoDB service account is not configured correctly?
Asked by:
64 Viewed 64 Answers

Answer (64)

Best Answer
(501)
Open the Services app (search for 'services' in the Start menu). Locate the MongoDB service. Right-click and select 'Properties'. Go to the 'Log On' tab. By default, it might be running as 'Local System account'. Consider using a specific user account with appropriate permissions to access the data and log directories. Ensure this account has the 'Log on as a service' right (gpedit.msc -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment).