NSSM
nssm.cc
- Free plan
- Windows
What NSSM is
NSSM runs an application as a Windows service, monitors it, and can restart it when it exits. A graphical interface supports installing and removing services, while command-line options can configure them from scripts. On application exit, NSSM can restart the application, ignore the exit, exit itself, or exit uncleanly so Windows service recovery actions can run. It records its progress in the Windows system Event Log and can redirect the monitored application's input and output. Output files can be rotated at a configurable size, including while the application is running. NSSM can also set process priority and CPU affinity, and start, stop, or query services. The site says it should work on Windows 2000 or later and provides 32-bit and 64-bit binaries. The listed latest release is version 2.24, dated 2014-08-31; a 2.24 prerelease build is dated 2017-04-26. NSSM is public domain and listed as free. Managing services requires administrator access, and the site warns that bugs can cause severe system issues.
Who it suits
NSSM suits Windows administrators or developers who need to run an application as a service and configure its exit behavior. Its scriptable command-line options may also suit service setup from scripts.
Good to know, and what to watch
- Can restart an application after it exits.
- Offers both graphical and command-line service setup.
- Logs progress to the Windows system Event Log.
- Can redirect and rotate application output.
- Public domain, with 32-bit and 64-bit binaries.
- Managing services requires administrator access.
- The site warns bugs can cause severe system issues.
- The listed latest release dates to 2014.
Plans
Every plan and priceNSSM
The verdict
NSSM covers service setup, monitoring, exit behavior, and output handling for Windows applications. Its administrator requirement and listed release age are important considerations before adoption.
What the maker publishes
- Build and distribution
- The site says NSSM is built with Jenkins and that its Chocolatey package is maintained by a third party and may not match the latest site build. source
- Exit behavior
- When an application exits, NSSM can restart it, ignore the exit, exit itself, or exit uncleanly to trigger service recovery actions. source
- Known issues
- The bugs page lists version 2.24 issues affecting newer Windows service startup, Windows XP crashes, log rotation over 4 GB, and other cases. source
- License
- NSSM is public domain and may be used with its source code for any purpose. source
- Logging and I/O
- NSSM logs its progress to the Windows system Event Log and can redirect the monitored application's input and output. source
- Maker
- The NSSM site identifies Iain Patterson as its author. source
- Other controls
- NSSM can set an application's priority class and CPU affinity, and can start, stop, and query services. source
- Output rotation
- NSSM can rotate output files when they reach a configurable size, including while the application is running. source
- Purpose
- NSSM runs an application as a Windows service, monitors it, and can restart it if it exits. source
- Release status
- The page lists version 2.24, dated 2014-08-31, as the latest release and a 2.24 prerelease build dated 2017-04-26. source
- Security and privileges
- NSSM requires administrator access to manage services, and the site warns that bugs can cause severe system issues. source
- Service setup
- It provides a graphical interface for installing and removing services, and its command-line options can configure services from scripts. source
- Support
- The site directs users to the Windows Application Event Log for troubleshooting and to the author's email address in repository commits to report bugs. source
- Windows support
- The download page says NSSM should work on Windows 2000 or later and includes 32-bit and 64-bit binaries. source
Checked against the maker's pages on 4 Oct 2026.