Re: [python-win32] Dispatching something that requires elevation

2018-06-09 Thread Tim Roberts
On Jun 8, 2018, at 10:11 PM, Simon McConnell wrote: > > I am trying to dispatch a COM interface of a program that is set to "Run as > Administrator" in the Compatibility Settings of its properties. Running the > script w/o elevation results in a 'requires elevation' error. Running the >

Re: [python-win32] Dispatching something that requires elevation

2018-06-09 Thread Vernon D. Cole
look in github.com/salt-bevy/sudo.py for a module which will request elevated privileges for a Python script running as a normal user. Perhaps that can help create a solution for your use case. There is a sample call

[python-win32] Dispatching something that requires elevation

2018-06-09 Thread Simon McConnell
Hi, I am trying to dispatch a COM interface of a program that is set to "Run as Administrator" in the Compatibility Settings of its properties. Running the script w/o elevation results in a 'requires elevation' error. Running the script with elevation results in a 'server execution failed'