Using INSTSRV.EXE To Install And Uninstall Services

Printer Friendly Version Of This Page

Most applications that function as services install as services when you run their setup programs. However, you might have applications you've developed yourself that you want to install as services, or you may simply have a vendor-provided application that you want to configure as a service. Or, perhaps you installed an application that also installed services, the uninstall process failed, and now you have services installed that you'd like to clean out of your system.

The Microsoft Win2000 Resource Kit includes a utility called INSTSRV.EXE that lets you install and uninstall services. The Resource Kit is available directly from Microsoft or through retailers, and it's included on the Microsoft TechNet CD subscription service.

INSTSRV.EXE installs the service, but it might not perform all the tasks needed to get a particular program running as a service. For example, Instsrv doesn't provide a means for creating registry entries for a service, so you'll have to perform that step manually if the service requires registry settings. Also keep in mind that if you're uninstalling a service, Instsrv won't remove any existing settings for the service, either.

Check out the Microsoft Resource Kit Tools Help document for information on Instsrv's syntax.

Back