X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0	tests=AWL,BAYES_40,LOCALPART_IN_SUBJECT,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Oleksandr Gavenko <gavenko@bifit.com.ua>
Subject: Re: Remove cygwin
Date: Tue, 18 Oct 2011 16:03:11 +0300
Lines: 30
Message-ID: <j7jteh$acc$1@dough.gmane.org>
References: <SNT143-W3352CEA04112A0C7C720FBBAE50@phx.gbl>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <SNT143-W3352CEA04112A0C7C720FBBAE50@phx.gbl>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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
Note-from-DJ: This may be spam

18.10.2011 15:11, Casual Trash пишет:
>
> I have received a computer with some software already installed and I have to clean it up.
> One of those software is cygwin, I tried to follow the instructions but without success.
>
> 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name!
> I have also checked the windows services but I can't find any of the mentioned services: sshd, cron,
> cygserver, inetd, apache,
> postgresql, etc
To remove services that installed by cygrunsrv install it again:

   cmd# setup.exe -p cygrunsrv

locate it and run shell prompt:

   cmd# cygrunsrv -L   # to list installed services
...
   cmd# cygrunsrv -R sshd   # to individually remove each installed service

Next you can remove whole cygwin installation directory...

That is.

> 2. I can't delete the cygwin folder because I receive the "Permission Denied" error, although I have marked all the files as not read only and changed the ownership to my account.
>
> Can somebody help me out?
>
This can happen because some process have open handles to this directory.

Try run procexp.exe Ctrl+F and type path to find and kill such processes...


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

