This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installing a program as a Windows service on Windows 8.1


You may need to open the properties dialogue for that file and edit
the properties. I have run into similar problems myself (installing a
DLL via a makefile causes the loss of the execute permission in my
case. No idea why.)

To do this, select the file in question in Windows Explorer and press
the right mouse button. You need the security tab and the permissions
are best set to "ful control" - more than necessary, I guess, but
easiest.

Regards,

Arjen

2014-05-21 13:23 GMT+02:00 Nick Urbanik <nicku@nicku.org>:
> 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
>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]