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.

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

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

%d bloggers like this: