All your base are belong to us!
John W. Cook
Systems Administrator
Partnership for Strong Families

________________________________
From: Richard Stovall <[email protected]>
To: NT System Admin Issues <[email protected]>
Sent: Tue Jul 05 15:00:38 2011
Subject: Re: UAC - can't run as another user from the command line

What the heck?

I vote yes.  Anyone else?

On Tue, Jul 5, 2011 at 2:58 PM, Mayo, Bill 
<[email protected]<mailto:[email protected]>> wrote:
Monthly completed.  Want me to load data for 7/1?

From: Shauna Hensala [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, July 05, 2011 2:21 PM

To: NT System Admin Issues
Subject: RE: UAC - can't run as another user from the command line

I had this very problem last week trying to connect to ADU&C in another domain. 
 This command line finally worked for me.

C:\Windows\System32\runas.exe /netonly /user:domain\userid "mmc dsa.msc 
/server=servername.domainname

[cid:[email protected]]Shauna Hensala



> From: [email protected]<mailto:[email protected]>
> To: 
> [email protected]<mailto:[email protected]>
> Subject: RE: UAC - can't run as another user from the command line
> Date: Tue, 5 Jul 2011 17:58:20 +0000
>
> You're running these directly from the cmd line?
>
> Are you able to get a simpler version to work?
> Runas /user:[email protected]<mailto:user%[email protected]> cmd.exe
>
> -----Original Message-----
> From: Kurt Buff [mailto:[email protected]<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]<mailto:user%[email protected]> "mmc.exe 
> %systemroot%\system32\dsa.msc"
> Enter the password for [email protected]<mailto:[email protected]>:
> Attempting to start mmc.exe C:\Windows\system32\dsa.msc as user 
> "[email protected]<mailto:[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]<mailto:user%[email protected]> "mmc.exe"
> Enter the password for [email protected]<mailto:[email protected]>:
> Attempting to start mmc.exe as user 
> "[email protected]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

________________________________
CONFIDENTIALITY STATEMENT: The information transmitted, or contained or 
attached to or with this Notice is intended only for the person or entity to 
which it is addressed and may contain Protected Health Information (PHI), 
confidential and/or privileged material. Any review, transmission, 
dissemination, or other use of, and taking any action in reliance upon this 
information by persons or entities other than the intended recipient without 
the express written consent of the sender are prohibited. This information may 
be protected by the Health Insurance Portability and Accountability Act of 1996 
(HIPAA), and other Federal and Florida laws. Improper or unauthorized use or 
disclosure of this information could result in civil and/or criminal penalties.
Consider the environment. Please don't print this e-mail unless you really need 
to.

This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the company. 
Warning: Although precautions have been taken to make sure no viruses are 
present in this email, the company cannot accept responsibility for any loss or 
damage that arise from the use of this email or attachments.

~ 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

<<inline: image001.jpg>>

Reply via email to