Wednesday, January 8, 2020

Install/Uninstall Windows service using Windows Command Prompt

Follow the below steps to Install or Uninstall Windows service using Windows Command Prompt
  • Run Command prompt as Administrator
  • Navigate to the .NET framework path using below command
  • CD C:\Windows\Microsoft.NET\Framework\v4.0.30319
  • Execute the below command to install,
  • installutil "C:\your_service_name_with_path.exe"
  • To uninstall use the below command
  • installutil /u "C:\your_service_name_with_path.exe"
  • You will get a success message.

No comments:

Post a Comment