How can I execute a program with admin rights from a dosbox

Ask a Question related to Windows XP/2000/ME, Design and Development.

  1. #1

    Default How can I execute a program with admin rights from a dosbox

    How can I execute a program with admin rights from a dosbox (when logged in as poweruser)
    are there any parameters for that or any tools?

    Dave Guest

  2. Similar Questions and Discussions

    1. Tech destroyed my admin rights
      :confused; I had problems connecting to a new server, and called a tech in. He turned me into a content owner. When I try to make myself the...
    2. No Admin Rights Error Under OSX
      Flash Player 8 does not install on my PowerBook G4. After running the installer I get an "access denied" error message telling me that I don't...
    3. Execute rights only for web app using CAS in assembly file???
      I have created a web app and now I want to make sure that it only has execute rights to run. Below is what I put in the assembly file. Is this...
    4. Web Service with Admin rights
      I want to create a web service that can create the users in the Windows Domain. I am using ADSI for that. Using ADSI i am able to create the users...
    5. Reader without admin rights
      Hi, just fetched 20MB Reader for OSX, installed and used while logged in as admin. The first time to start as an unpriviledged user it asked for an...
  3. #2

    Default Re: How can I execute a program with admin rights from a dosbox

    You can do this with the RUNAS command...
    For more help type RUNAS /?

    "Dave" <Dave.The@teleatlas.com> wrote in message
    news:m975hvsa0ubai1foeqrnauecj78shs6ol8@4ax.com...
    > How can I execute a program with admin rights from a dosbox (when logged
    in as poweruser)
    > are there any parameters for that or any tools?
    >

    Blue Ice Guest

  4. #3

    Default Re: How can I execute a program with admin rights from a dosbox

    I have tried this before. You can call a vbscript before
    the run as command. The vbscript will send the password
    keys after you have been prompted. Below is an example

    rem call path to vbscript (example only)
    \\server\share\vbscript
    run as /user:domain\adminaccount "program.exe"
    exit

    vbscript contents should be

    set WshShell = CreateObject("WScript.Shell")
    WScript.Sleep 1
    WshShell.SendKeys "PASSWORD"
    WScript.Sleep 1
    WshShell.Sendkeys "{ENTER}"
    set WshShell = nothing

    the only value you have to enter is the password. only
    problem with this is you have a password for an actual
    account exposed.

    have fun.

    >-----Original Message-----
    >But I also want to add the password in the command?
    >runas is allways asking for the password
    >
    >
    >On Mon, 14 Jul 2003 14:18:04 +0200, "Blue Ice"
    <blue.ice@orange.nl> wrote:
    >
    >>You can do this with the RUNAS command...
    >>For more help type RUNAS /?
    >>
    >>"Dave" <Dave.The@teleatlas.com> wrote in message
    >>news:m975hvsa0ubai1foeqrnauecj78shs6ol8@4ax.com. ..
    >>> How can I execute a program with admin rights from a
    dosbox (when logged
    >>in as poweruser)
    >>> are there any parameters for that or any tools?
    >>>
    >>
    >
    >.
    >
    jayloveroni Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139