Install and Uninstall Windows .Net Service

To install or uninstall windows service (which was created using .NET Framework) using InstallUtil.exe. This tool can be found in the following path (use appropriate framework version number).

  • Open Visual Studio Command Prompt

open start menu –> go to Microsoft Visual Studio 2005 –> Visual Studio Tools –> Visual Studio 2005 Command Prompt

  • Install .NET Windows Service

InstallUtil.exe <Service exe path>

  • Uninstall .NET Windows Service

InstallUtil.exe /u <Service exe path>

Advertisements