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


This content was proof-read by Grammarly. You can Try Grammary 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.


Are you a .NET Developer planning to integrate GraphQL for .NET in your Application? Check out this book
"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe" "c:\abundantcodeService.exe"
%d bloggers like this: