delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/12/04:34:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Jason FU <tsfu AT hkucs DOT org>
Subject: Re: Remove cygwin services
Date: Fri, 12 Aug 2005 08:31:58 +0000 (UTC)
Lines: 48
Message-ID: <loom.20050812T103036-663@post.gmane.org>
References: <loom DOT 20050812T084653-945 AT post DOT gmane DOT org> <49055.6676559665$1123834948 AT news DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Herb Martin <HerbM <at> learnquick.com> writes:

> 
> > [mailto:cygwin-owner <at> cygwin.com] On Behalf Of Jason FU
> > What do I do in order to remove installed services of cygwin 
> > like sshd, init and so on?
> > 
> 
> [ I am new to cygwin so factor this into my answer...]
> 
> cygrunsrv -R SERVICE_NAME
> 
> Example:  cygrunsrv -R sshd
> 
> You may also use the Windows services.msc Control Panel
> to "disable" or set a service to "manual".
> 
> Note that manual service MAY still run if some other service
> starts them -- manual doesn't mean a user/admin must start
> them, only that the OS will not start them automatically
> unless requested to do so by another process or by an actual
> manual user/admin request.
> 
> I have been unable to use cygrunsrv to "modify" a service;
> so far, I have always removed the service and re-added it.
> 
> --
> Herb Martin
> 
> 


root AT ITO2 ~
$ cygrunsrv.exe -R sshd
cygrunsrv: Error removing a service: QueryServiceStatus:  Win32 error 1053:
The service did not respond to the start or control request in a timely fashion.


root AT ITO2 ~
$ cygrunsrv.exe -R init
cygrunsrv: Error removing a service: QueryServiceStatus:  Win32 error 1053:
The service did not respond to the start or control request in a timely fashion.


By root, I mean this is an administrator a/c.


Jason


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019