Installing MongoDB as a service

To install MongoDB as a Windows service, follow these instructions:

Run a Command Prompt as Administrator and enter the following command:

C:\mongodb\bin\mongod.exe --config C:\mongodb\mongo.conf --install