This is the mail archive of the
cygwin
mailing list for the Cygwin project.
scripting elevated privilege on Windows 7
- From: DavidArnstein at panix dot com
- To: cygwin at cygwin dot com
- Date: Thu, 15 Apr 2010 21:43:19 -0400
- Subject: scripting elevated privilege on Windows 7
I am dealing with Windows UAC for the first time. From a script, I would
like to launch a process with elevated (administrative) privilege. I
can accept that Windows will pop up a modal dialog box confirming the
elevated privilege.
Is there an existing utility in Cygwin or elsewhere.
An example of what I would like: I have a program named backall that
I want to execute with administrative privelege. I am looking for some
command xxx that I could invoke from a shell script as
xxx backall
Does such a utility exist? If I wanted to enhance cygstart to support
this feature, which Microsoft API should I use?
--
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