delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/21/07:24:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:mime-version
:content-type; q=dns; s=default; b=TpgYP0LLSooCKhDkFuI0tsfBq+pne
IGeVumxXAU2TEO8Ylvn/m8MxM0XutOpeBq/b+nQ7yLdtRBPgZs0E2XUzXe1d8lqT
ZnaY9G1MqHWuSUTeZmv+KG8pIERRjDBIb2OoKYyggbrPSEnhXn+GwMrxCBbEm8kb
V/IrONb/JdzrhE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:mime-version
:content-type; s=default; bh=qU55LKjNmHl3wyXP/LdXdM1s0gA=; b=m+A
ToQbolzi4WPLFEZotgsluYXtzL7KldKPF/ZQwyvB3PEYOJySv/T1YfZSjjW/m/tu
RHC2HNir5xx/vfpYwWKWS7f2+MjNllJ8SaDHom2VVyqrDFGXRqKgKEC4Dr6KRmMi
vWgS5wGWRbviJhS/Ss5yk40uZu5Ed6bWxGWVXeG8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: nicku.org
Date: Wed, 21 May 2014 21:23:43 +1000
From: Nick Urbanik <nicku AT nicku DOT org>
To: cygwin AT cygwin DOT com
Subject: Installing a program as a Windows service on Windows 8.1
Message-ID: <20140521112343.GC24265@nicku.org>
MIME-Version: 1.0
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

Dear Folks,

I have written a Perl program that I want to run as a service on
Windows 8.1.  However, when I type:
cygrunsrv -I NAME -p /path/to/NAME

Note: NAME has execute permissions, and can be run.

I get the error message:
cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5:
Access is denied.

I am doing this from an account that is shown as "Administrator".  I
am not very familiar with Windows; I only use it to solve problems
that other users of it are having.  Any suggestions are most welcome.
-- 
Nick Urbanik             http://nicku.org           nicku AT nicku DOT org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

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

- Raw text -


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