stringZ has asked for the wisdom of the Perl Monks concerning the following question:
I'm running my perl script as a normal user, and it can't start this executable mentioned above, because it can't get admin rights. This makes sense, but when I start test.exe manually (from Total Commander or Windows Explorer) it blanks out the screen and asks for approval of giving it elevated privileges. I want Win32::Process::Create do the same, because now it doesn't ask anything, it just fails to start the application.use Win32::Process; Win32::Process::Create($proc, 'C:\test.exe', 'test.exe', 0, NORMAL_PRI +ORITY_CLASS, '.')
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::Process::Create with elevated privileges on Windows 7
by BrowserUk (Patriarch) on Oct 20, 2011 at 22:56 UTC | |
by Jenda (Abbot) on Oct 21, 2011 at 08:28 UTC | |
by stringZ (Acolyte) on Oct 21, 2011 at 10:43 UTC | |
by stringZ (Acolyte) on Nov 03, 2011 at 02:13 UTC | |
by stringZ (Acolyte) on Oct 20, 2011 at 23:04 UTC | |
|
Re: Win32::Process::Create with elevated privileges on Windows 7
by Anonymous Monk on Oct 25, 2011 at 10:40 UTC | |
by BrowserUk (Patriarch) on Oct 25, 2011 at 11:07 UTC |