Well I'd approach it via the right tool for the right job, i.e. .NET :)
However there are other things like NSSM (http://nssm.cc/) that would probably work fine - this tool in particular was last updated mid-2017 so seems to still be active and should work on Server 2016.