How To Execute Files As Service In Windows

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"


Posted

in

by

Comments

2 responses to “How To Execute Files As Service In Windows”

  1. Very useful information about Servicize. I never read about this software however its very beneficial for me. i must gives it a go.

  2. Thanks for the post. I already solve my problem.