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]

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


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