public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Non-Privileged Execution of cygrunsrv/cygserver
@ 2016-08-23 14:06 Brian Inglis
  0 siblings, 0 replies; only message in thread
From: Brian Inglis @ 2016-08-23 14:06 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-23 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-23 14:06 Non-Privileged Execution of cygrunsrv/cygserver Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).