Question
What if the MongoDB service account is not configured correctly?
Asked by: USER9914
64 Viewed
64 Answers
Answer (64)
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).