To install & uninstall your windows service manually



  • To install your service manually
    • Access the directory in which your project's compiled executable file is located.
    • Run InstallUtil.exe from the command line with your project's output as a parameter. Enter the following code on the command line:
      • installutil yourproject.exe
  • To uninstall your service manually
    • Run InstallUtil.exe from the command line with your project's output as a parameter. Enter the following code on the command line:
      • installutil /u yourproject.exe