I have been developing for MongoDB for some months now and would like to install it as a service on my Windows 7 Enterprise machine. The following is the command that I hav
Check if a process instance of mongod is already running. If yes, this service will not start because C:\data\db\mongod.lock will be used by it.
mongod
C:\data\db\mongod.lock
And to start MongoDB as a service, this file shall be not used by any process.