How to remove "CYGWIN sshd" service from service list in Windows 7?

Solution 1:

Make sure you follow the steps in the CYGWIN FAQ. If you just want to remove the service from the service list, you can follow these steps from ghacks.net - how to remove services in windows.

To remove a service in Windows:

  1. Open up the Command Prompt (aka cmd) as administrator (elevated privileges).

  2. Type in sc delete "name of service" and hit enter. To get the proper full name of a service, open the Windows Services management listing and double click on the service. The proper service name is under "Service Name: #service name#"

Solution 2:

In my experience doing the following is sufficient. First, list active services using:

$ cygrunsrv -L

Next, stop and remove the services you want to remove:

$ cygrunsrv --stop service_to_remove
$ cygrunsrv --remove service_to_remove