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

2018-06-11 Thread Simon McConnell
Thanks for the reply. I have tried running the python script as admin. When I do run as admin, I get the following error: pywintypes.com_error: (-2146959355 <(214)%20695-9355>, 'Server execution failed', None, None). I've noticed, by watching Task Manager, that the application opens and closes a

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

2018-06-11 Thread Simon McConnell
Sorry, I'm not sure what you mean by spawn the COM access in a separate process. This is my first time dabbling with COM objects. I use the software every day in the traditional fashion so I know I have access. It looks like it spawns another process "System Login State Manager" which seems to b

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

2018-06-11 Thread Tim Roberts
Simon McConnell wrote: > > Sorry, I'm not sure what you mean by spawn the COM access in a > separate process.  This is my first time dabbling with COM objects. All I meant was creating a second Python process to do all the COM stuff.  I think you said that the COM access works from a non-elevated