I was able to open a CMD prompt as my Domain Admin account by doing
the search from the Start button and shift-right-mouse clicking on it
and selecting "Run as another user".

 But, my command lines inside of that failed with the same error.

Kurt

On Tue, Jul 5, 2011 at 10:58, Crawford, Scott <[email protected]> wrote:
> You're running these directly from the cmd line?
>
> Are you able to get a simpler version to work?
> Runas /user:[email protected] cmd.exe
>
> -----Original Message-----
> From: Kurt Buff [mailto:[email protected]]
> Sent: Tuesday, July 05, 2011 12:40 PM
> To: NT System Admin Issues
> Subject: UAC - can't run as another user from the command line
>
> This is weird.
>
> I was handed a newer laptop, and copied over my list of RUNAS command lines, 
> and they're no longer working.
>
> Whether I try them from the Start/Run prompt, or from a CMD shell (elevated 
> or not - different user or not), I can't get them to run.
> Inside the CMD shells, I get:
>
>     C:\Windows\system32>runas /noprofile /env /user:[email protected] 
> "mmc.exe %systemroot%\system32\dsa.msc"
>     Enter the password for [email protected]:
>     Attempting to start mmc.exe C:\Windows\system32\dsa.msc as user 
> "[email protected]" ...
>     RUNAS ERROR: Unable to run - mmc.exe C:\Windows\system32\dsa.msc
>     740: The requested operation requires elevation.
>
> I've googled myself stupid on this one, and the only thing I've found is to 
> use gpedit.msc and make sure that
>
>     "User Account Control: Behavior of the elevation prompt for 
> administrators in Admin Approval Mode"
>
> is set to "Prompt for credentials"
>
> Which it is. So also is:
>
>     "User Account Control: Behavior of the elevation prompt for standard 
> users"
>
> I've even tried just running:
>
>     C:\Windows\system32>runas /noprofile /env /user:[email protected] 
> "mmc.exe"
>     Enter the password for [email protected]:
>     Attempting to start mmc.exe as user "[email protected]" ...
>     RUNAS ERROR: Unable to run - mmc.exe
>     740: The requested operation requires elevation.
>
> with, as you can see, no luck.
>
> Anyone have a clue what I'm doing wrong?
>
> Thanks,
>
> Kurt
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
> <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here: 
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here: 
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to