Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



how to use runas command

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 21-03-2007
Golden_au
 
Posts: n/a
how to use runas command

How can I use runas command with the password together then we can run it
with prompt to enter password?

many thanks for any advice
--
Golden_au

Reply With Quote
  #2  
Old 21-03-2007
Jack Doyle
 
Posts: n/a
Re: how to use runas command

runas /user:userid command

i.e. runas /user:administrator notepad.exe

You can run runas /? to find out more information about the syntax.

Jack Doyle, Systems Engineer
ScriptLogic Corporation
http://www.scriptlogic.com

Reply With Quote
  #3  
Old 21-03-2007
Windminstrel
 
Posts: n/a
Re: how to use runas command

The RUNAS command, by design for security reasons, will not allow a password
to be stored.

I'm not completely positive, but I recall that using the PROFILE option will
execute the profile, and the GPssociated with it.

There are a couple of ways to get info to the command once it begins
executing via stack redirection, but a script has to runas a runas, if that
makes any sense.

Word to the wise: Re-entrance is discouraged unless a re-entrant procedure
language is used (like REXX's INTERPRET facility, which redirects the RESS
interpreter to execute instructions stored or stacked.


"Golden_au" <Goldenau@discussions.microsoft.com> wrote in message
news:D7B35013-B3DC-4AA3-9DC6-9ABB26CBB54D@microsoft.com...
> How can I use runas command with the password together then we can run it
> with prompt to enter password?
>
> many thanks for any advice
> --
> Golden_au



Reply With Quote
  #4  
Old 21-03-2007
Vitic
 
Posts: n/a
Re: how to use runas command

> How can I use runas command with the password together then we can run it
> with prompt to enter password?
>
> many thanks for any advice


runas spc on www.robotronic.de/runasspcen.html
is a similar tool like runas. But you can pass a password on a simple
way or from an encrypt file.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "how to use runas command"
Thread Thread Starter Forum Replies Last Post
Runas error 1326 Ascetica Windows Security 3 08-01-2014 10:42 AM
runas and manage-bde.exe to set bitlocker pin? Rishab Windows Software 3 13-08-2010 02:48 AM
Error while running RunAs Chillmiser Operating Systems 5 01-02-2010 08:06 PM
Using the Runas command to gain admin rights happydude Windows Security 2 11-05-2007 06:45 AM
administrator runas for a domain user yba02 Windows Server Help 2 24-03-2007 12:11 PM


All times are GMT +5.5. The time now is 09:44 PM.