Run as administrator

Discussion in 'Software' started by parsley, Jun 30, 2003.

  1. parsley

    parsley Private E-2

    I would like to install a small application over the network to 300 pc's, however the app requires admin rights and for security reasons, the users on our domain do not have this. Does anyone know of a way to run the application as an administrator using the login script? (without being prompted again at a later stage for the admin password)....

    Or any other ideas? I would be very grateful.

    Thanks!
     
  2. snakefoot

    snakefoot Sergeant Major

    In Win2k/XP there is a built in tool called runas which allows you to start an application with other credentials (Like Admin):

    http://support.microsoft.com/?id=294676

    In WinNT4 one have to get hold of the resource kit, and use the tool SU.EXE.

    There are also 3rd party tools:

    http://www.netexec.de/
    http://www.stefan-kuhr.de/supsu/main.php3

    *Update* Yet another solution is to schedule it as a task on each machine where it is also possible to specify other credentials (AT works in NT4/2k, and have been replaced with SCHTASKS in WinXP/Win2k3):

    http://support.microsoft.com/?id=313565
    http://support.microsoft.com/?id=814596
     
    Last edited: Jul 1, 2003
  3. parsley

    parsley Private E-2

    Thanks snakefoot, but the whole purpose of this is to not have to visit (or schedule it on) each computer. I know I can run as administrator by shift and right clicking the app, but I want to do this in a script with the password included so it does not prompt for it again. It may not be possible without a 3rd party utility.

    Thanks for you help anyway!
     
  4. snakefoot

    snakefoot Sergeant Major

  5. parsley

    parsley Private E-2

    Thanks for your help.. I have looked thru the links but nothing quite does what I need.... Thanks very much anyway!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds