Results 1 to 4 of 4

Thread: how to use runas command

  1. #1
    Golden_au Guest

    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

  2. #2
    Jack Doyle Guest

    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


  3. #3
    Windminstrel Guest

    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




  4. #4
    Vitic Guest

    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.

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,214,767.29552 seconds with 17 queries