NSSM - the Non-Sucking Service Manager
Windows 10 Creators Update
2017-04-26: Users of Windows 10 Creators Update should use prelease build 2.2.4-101 to avoid an issue with services failing to start. If for some reason you cannot use that build you can also set AppNoConsole=1 in the registry, noting that applications which expect a console window may behave unexpectedly.
Thanks to Sebasian Krause for the initial diagnosis.
nssm should work under Windows 2000 or later. Specifically, Windows 7, Windows 8 and Windows 10 are supported. 32-bit and 64-bit binaries are included in the download. Most of the time it should be safe to run the 32-bit version on 64-bit Windows but in some circumstances you may find that it doesn't work and you must use the 64-bit version. Both versions are compiled from the same source code. If one works for you, use that one. If it doesn't, try the other.
nssm is public domain. You may unconditionally use it and/or its source code for any purpose you wish.
nssm 2.24 (2014-08-31)
You can also clone the repo from git://git.nssm.cc/nssm/nssm.git or http://git.nssm.cc/nssm/nssm.git with git.
nssm can be installed with Chocolatey. The Chocolatey package is built and maintained by a third party and may not correspond to the latest build available here.