Tuesday 8 October 2013

How to Install and Uninstall Windows Services manually without setup

To install your service manually


  1. On the Windows Start menu, choose Visual Studio 2010, Visual Studio Tools, Visual Studio Command Prompt (2010).
    A Visual Studiocommand prompt appears.
  2. Access the directory in which your project's compiled executable file is located.
  3. Run InstallUtil.exe from the command prompt with your project's output as a parameter. Enter the following command.
installutil yourproject.exe


To Uninstall your service manually

  1. On the Windows Start menu, choose Visual Studio 2010, Visual Studio Tools, Visual Studio Command Prompt (2010).
  2. A Visual Studiocommand prompt appears.
  3. Run InstallUtil.exe from the command prompt with your project's output as a parameter. Enter the following command:
installutil /u yourproject.exe

No comments:

Post a Comment