Hello all,
Quick question; has anyone had any luck invoking Run As from a command line? I need to open a control panel applet (.cpl) with elevated privileges. I know that you cannot pass the password directly, and have to enter that into a dialogue box, but I'm looking for a way to start the journey without having to navigate through Explorer...
Any comments/suggestions/howls of derision would be appreciated.
Thanks, Ian
INvoking Run As in XP
Moderators: Dorian (MJT support), JRL
I've never done this but if you open a command prompt and type in "runas /?", the explanation seems straightforward.
Assuming your OS is NT4.0 or later, try something like:
Run>cmd /c runas /user:administrator ProgramName
I assume that windows will then prompt you for the admin password.
Later,
Dick
Assuming your OS is NT4.0 or later, try something like:
Run>cmd /c runas /user:administrator ProgramName
I assume that windows will then prompt you for the admin password.
Later,
Dick