Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <435561F3.92F623F9@dessent.net> Date: Tue, 18 Oct 2005 13:58:27 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv --list "Access is denied" (Was: Re: SETUP: In-use files have been replaced) References: <101820051804 DOT 23742 DOT 43553933000A75E000005CBE22007614380A050E040D0C079D0A AT comcast DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Rolf Campbell wrote: > Every time I try to list services using cygrunsrv, I get an error: > > $ cygrunsrv --list > cygrunsrv: Error enumerating services: OpenService: Win32 error 5: > Access is denied. That means that there is some service that you do not have access to. When cygrunsrv goes to try to get information on it with OpenService it is denied access. You'd have to run it with a debugger to find out more details. I've been meaning to work on a patch that turns this error into a warning so that it can just keep going if it runs into this problem. Brian -- 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/