Installing a program as a Windows service on Windows 8.1

Nick Urbanik nicku@nicku.org
Wed May 21 11:43:00 GMT 2014


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@nicku.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



More information about the Cygwin mailing list