Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Dec 2001
    Location
    Atlanta, Georgia, USA
    Posts
    276
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Logon script question...

    we have a program that needs to be installed with domain admin permissions (not local admin, that won't work). we have a lot of user's and obviously don't want to add everyone to the domain admins group for any longer than necessary.

    is there a way to use a few batch file commands to have an installation that is running via the login script (a batch file) use administrative credentials for the duration of the installation of this piece of software? what i'm lokoing for is something like the "run as" option in W2K, where you can install something under the permissions of someone else and have it run under those permissions?

    we're on a Windows 2000 network (servers/workstations), TCP/IP, etc.

  2. #2
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Logon script question...

    Go to a command prompt, and type runas. It will show you the command line arguments to run a program as another user. Just a suggestion, but I would make a new 'temporary' account, set that up as a Domain Admin, and use that account to do this job. Then delete the account. You can hide the batchfile process (echo off), but it's better safe then sorry.

    Drew

Posting Permissions

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