7

I uninstalled CYGWIN from Windows machine, but still I am seeing the name "CYGWIN sshd" in the service list.

see service list screenshot here

This is the steps I have followed to uninstall it,

In the cmd prompt, I run the following commands,

takeown /r /d y /f cygwin

icacls cygwin /t /grant Everyone:F

rmdir /s /q cygwin

Everything was removed successfully, but the name is not removed from the service list. Here my question is how to remove the name from Service list?

2
  • No CYGWIN related items show up in Control Panel->Programs and Features?
    – Leathe
    Commented Oct 23, 2015 at 4:52
  • Nothing has been there in control panel related to CYGWIN. Uninstall is completed successfully. But the name is still present in service list and the status of the service is stopped. Commented Oct 23, 2015 at 4:59

2 Answers 2

7

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#"

1
  • 2
    Name of service showed as 'CYGWIN sshd', service name was 'sshd'.
    – Kieveli
    Commented Oct 26, 2016 at 18:13
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .