HomeSystem

How To Execute Files As Service In Windows

Like Tweet Pin it Share Share Email
Publisher: Servicize
Operating System: Windows XP, Windows Vista, Windows 7, Windows 2003, Windows 2008 
License: Freeware
Requirements: .NET Framework
Download: Download Servicize

Publisher’s description:

Servicize will run any batch script, cmd or executable as a Windows service. This is great if you have an application that you need to be able to run on start up without a user logged in. It has worked well for my needs. Try it and let me know if you find some features that you would like to have added.

There are times when one would want to run a file as a service. The file can be any executable or a batch script. Windows does not present any way to run any file as Windows service. The Windows service will run when Windows starts.

Servicize is a free program which can do the job of creating a Windows service for you. It is a command line tool. You will need to install the program and issue the following command in order to run a program as a service:

sc create "service name" binPath= "C:\program.exe"

Where service name will be the name of the service displayed under services and binPath is the path to the program you want to run as a service.

To delete a service, simply run the following command:

sc delete "service name"

Comments (2)

Comments are closed.