What is Servy?
Servy lets you run any app as a Windows service with full control over working directory, startup type, logging, health checks, and parameters. A fully managed alternative to NSSM.
Servy offers both a GUI and a Command-Line Interface (CLI), enabling you to create, configure, and manage Windows services interactively or automate these tasks in scripts and CI/CD pipelines.
Servy solves a common limitation of Windows services by allowing you to set a custom working directory. The built-in sc
tool only works with applications specifically designed to run as Windows services and always uses C:\Windows\System32
with no way to change it. This can break apps that depend on relative paths, configuration files, or local assets. Servy lets you run any app as a service and define the startup directory explicitly, ensuring it behaves exactly as if launched from a shortcut or command prompt.
Servy is perfect for keeping non-service apps running in the background without rewriting them as services. Use it to run Node.js, Python, or .NET apps; keep web servers, sync tools, or daemons alive after reboots; and automate task runners or scripts in production with built-in health checks, and restart policies.
Features
- Clean, simple UI
- CLI for full scripting and automated deployments
- Run any executable as a Windows service
- Set service name, description, startup type, priority, working directory, and parameters
- Redirect stdout/stderr to log files with automatic size-based rotation
- Prevent orphaned/zombie processes with improved lifecycle management and ensuring resource cleanup
- Health checks and automatic service recovery
- Monitor and manage services in real-time
- Compatible with Windows 7–11 x64 and Windows Server editions
Requirements
Servy is available in two versions to support different environments for maximum compatibility with Windows versions.
.NET 8.0 Version
- Recommended for modern systems and includes the latest features and performance enhancements
- Published as a self-contained executable and does not require installing the .NET 8.0 Desktop Runtime separately
- Supported OS: Windows 10, Windows 11, or Windows Server (x64)
.NET Framework 4.8 Version
- For older systems that require .NET Framework support
- Supported OS: Windows 7, 8, 10, 11, or Windows Server (x64)
- Requires .NET Framework 4.8 Runtime
Administrator privileges are required to install and manage Windows services.
How It Works
- Install Servy using the provided installer.
- Launch Servy as administrator.
- Fill in the service details:
Service Name
(required)Service Description
(optional)Startup Type
(optional)Process Path
(required – path to the executable you want to run)Startup Directory
(optional – working directory for the process. Defaults to the executable’s directory if not specified.)Process Parameters
(optional)Process Priority
(optional)Stdout File Path
(optional)Stderr File Path
(optional)Rotation Size
(optional – in bytes, minimum value is 1 MB (1,048,576 bytes), default is 10 MB)Heartbeat Interval
(optional – interval between health checks of the child process, default is 30 seconds)Max Failed Checks
(optional – number of consecutive failed health checks before triggering the recovery action, default is 3 attempts)Recovery Action
(optional – action to take when the max failed checks is reached. Options: Restart Service, Restart Process, Restart Computer, None)Max Restart Attempts
(optional – maximum number of recovery attempts before stopping further recovery, default is 3 attempts)
- Click Install to register the service.
- Start or stop the service directly from Servy, Windows Services (services.msc) or any Windows service manager.
Support & Contributing
If this project helped you, saved you time, or inspired you in any way, please consider supporting its future growth and maintenance. You can show your support by starring the repository (it helps increase visibility and shows your appreciation), sharing the project (recommend it to colleagues, communities, or on social media), or making a donation via GitHub Sponsors (one-time or monthly), PayPal, or Buy Me a Coffee.
Open-source software requires time, effort, and resources to maintain—your support helps keep this project alive, up-to-date, and accessible to everyone. Every contribution, big or small, makes a difference and motivates continued work on features, bug fixes, and new ideas.
If you have suggestions, issues, or want to contribute, feel free to open an issue or submit a pull request.