Installing Any Executable as a Windws Service

I'll clean this up later, but in short:

  1. Download SrvAny.exe as part of the Windows server resource kit here: http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
  2. Run: InstSrv.exe yourservicename "d:\pathtosrvany\svrany.exe"
  3. Edit the registry entry for the newly created service and add a "Parameters" key called "Application". Set the value to the full path of your executable.

Comments

Popular posts from this blog

Using NHibernate in Asp.Net Core

Code Coverage for Multiple Projects in a Single Build using Dotnet Test and Coverlet

My Experience with JetBrains Rider