Install / Uninstall .NET Windows Service

Friday, 27 April 2012

Install / Uninstall .NET Windows Service


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

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe

To install .NET service run command similar to this (specify full path to your service).

InstallUtil.exe "path of service"

To uninstall .NET service use the same command with parameter /u.

InstallUtil.exe /u "path of service"

No comments:

Post a Comment