Due to a power cut or improper shutdown of your machine, sometimes MongoDB gives you an error, like this
Detected unclean shutdown – C:datadbmongod.lock is not empty.
To repair this run command
C:Program Files/MongoDB/Server/3.2/bin>mongod --repair
After the repair is finished, stop this one and launch it normally.