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]

Non-Privileged Execution of cygrunsrv/cygserver


Hi folks,

Does anyone know how to start cygrunsrv/cygserver from a non-elevated shell?
Starting them in an elevated system startup scheduled task works, as does
shutting them down from a non-elevated shell before running setup.

The problem is that neither the scheduled task nor service startup can be
run from a non-elevated shell.
This used to be doable in a profile script on Windows 7 with earlier Cygwin,
but no longer works after Win 10 and/or security and/or Cygwin updates.

Alternatively (main use case) could setup-x86{,-64} be changed to shut down
cygrunsrv/cygserver if they are running when it starts, then restart them
if setup completes successfully, and they were running when setup started?

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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