I\'d like to start a solr core (version 6.0.1) on Windows Server 2012 R2(command is: bin\\solr.cmd start), and keep it running after logging off. I\'d also like to run it under
You can use NSSM to register Solr as a Windows Service.
"c:\Program Files\nssm\win64\nssm" install solr6
It's important that you use the -f parameter to run Solr in the foreground (which in this case means "run it inside NSSM"). This can be changed in the box that pops up for NSSM ("Arguments"). You can also pick which user to run the service as under "Log on".