Author: AndyA
Subject: PsExec to launch admin-level task from LU account
Posted: 24 March 2014 at 8:33pm
I still haven't found a way to launch a program locally as an admin from an LU account with PsExec.
For example, if I try to launch regedit with just the -u and -p parameters, I receive the message that "The requested operation requires elevation," which is expected.
If I add the "-h" parameter, I get the message:
FWIW, I found an alternative utility, RunasRob. It does what's needed by installing itself as a service.
Since PsExec also launches as a service, it's not clear why PsExec can't be used to do the same thing.
If anyone can enlighten me on the way to use PsExec to launch an admin-level task locally from an LU account, I'd be grateful. Otherwise, I'll stick with RunasRob.
regards, AndyA
Subject: PsExec to launch admin-level task from LU account
Posted: 24 March 2014 at 8:33pm
I still haven't found a way to launch a program locally as an admin from an LU account with PsExec.
For example, if I try to launch regedit with just the -u and -p parameters, I receive the message that "The requested operation requires elevation," which is expected.
If I add the "-h" parameter, I get the message:
Couldn't install PsExec service:
Access is denied.
FWIW, I found an alternative utility, RunasRob. It does what's needed by installing itself as a service.
Since PsExec also launches as a service, it's not clear why PsExec can't be used to do the same thing.
If anyone can enlighten me on the way to use PsExec to launch an admin-level task locally from an LU account, I'd be grateful. Otherwise, I'll stick with RunasRob.
regards, AndyA