Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Markus =?iso-8859-1?q?Sch=F6nhaber?= <mks@schoenhaber.de>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: how to remove CYGWINsshd win2k service
Date: Thu, 31 Mar 2005 02:45:46 +0200
User-Agent: KMail/1.8
References: <424B389B.3070001@sfnewmexican.com> <200503310234.00550.mks@schoenhaber.de>
In-Reply-To: <200503310234.00550.mks@schoenhaber.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Message-Id: <200503310245.47050.mks@schoenhaber.de>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j2V0jupB004173

Am Donnerstag, 31. März 2005 02:34 schrieb Markus Schönhaber:
> Am Donnerstag, 31. März 2005 01:39 schrieb Hunter Peress:
> > while c:\cygwin   was still there, i reinstalled cygwin to c:\cgywin3.
> >
> > the ssh service in services  namely CYGWINsshd  still points to the now
> > deleted c:\cygwin\bin\cygrunsrv.exe   so how can i remove the service?
>
> Use cygrunsrv:
>
> $ cygrunsrv --help
>
> Usage: cygrunsrv [OPTION]...
>
> Main options: Exactly one is required.
>   -I, --install <svc_name>  Installes a new service named <svc_name>.
>   -R, --remove <svc_name>   Removes a service named <svc_name>.
>   -S, --start <svc_name>    Starts a service named <svc_name>.
> [...]
>
Oh, well... xyz is gone - what should I use instead? Use xyz!
I should practice reading.
But nevertheless, cygrunsrv.exe from your new installation should work. If it 
does not, you can still use something like sc.

Regards
mks

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


