Is there a sysvinit or systemd equivalent for Windows 10 or Windows server?

by osij2is   Last Updated September 11, 2019 18:01 PM

I have a few Windows services (some with dependencies) that I'd like to start/stop in order depending on my needs. I'm not a fan of the service manager in windows and from the command-line it's not that much better. In linux this is achievable with SysV or SystemD, but I'm curious to know if there's a similar service available for Windows 10 and/or Server. I found NSSM (Not Sucking Service Manager) which seems close but not exactly what I'm looking for. I've heard of srvany but I thought that was an old Windows NT server tool if I'm not mistaken.

I'm aware that init is pid 1 in linux and that all processes given a runlevel spawn from that process and windows doesn't quite share the same architecture or flexibility. I guess what I'm looking for is a command-line level way of starting up one or more services (with dependencies) on the fly. E.g. SQL server - it has several services, some are inter-dependent on others while others may not be. It'd be nice to have like a profile (like runlevel?) to say "start SQL with Analytics Server" or "just start SQL Server, no other services". Make sense?

Related Questions

Updated September 12, 2017 03:01 AM

Updated November 10, 2017 05:01 AM

Updated March 06, 2018 23:01 PM

Updated July 18, 2015 13:00 PM

Updated June 12, 2017 20:01 PM