Starting and stopping MongoDB as a service
There are two methods to start and stop MongoDB as a service on Windows.
- Run a Command Prompt as Administrator and type one of the following commands:
net start MongoDB
net stop MongoDB
- Open the Services panel from the Task Manager and start/stop the MongoDB service from there.