How to install Windows Service via Command Prompt in .NET ?


Grammarly

More than 40 Lakhs Students and Professionals use Grammarly for their spell and grammar checks. You can register and try for free.

Assume that you have the .NET Framework installed on your machine and you wish to install Windows Service via command prompt in Windows. In this case , you can use install the service using installutil.exe as shown below.

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" "c:\abundantcodeService.exe"

Incase you have a 64 bit version of the framework , ensure that you refer to the right path.

"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe" "c:\abundantcodeService.exe"

Grammarly

More than 40 Lakhs Students and Professionals use Grammarly for their spell and grammar checks. You can register and try for free.
%d bloggers like this: