• Logon script question…

    Author
    Topic
    #380353

    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.

    Viewing 0 reply threads
    Author
    Replies
    • #636802

      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

    Viewing 0 reply threads
    Reply To: Logon script question…

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: