Runing a program using runas in a batch file

From: Mac D (anonymous_at_discussions.microsoft.com)
Date: 02/12/04


Date: Thu, 12 Feb 2004 05:24:34 -0800

hi,

i want to use a batch file to install the latest MS patch
fast used in a logon script to run the patch as domain
admin. (i dont have sms server& bandiwdth to download the
pacth using WU is not there, too many machines)

how do i specify the password of the domain admin or any
admin user in the script so that the users dont have to
input it and its typed only one within the script. i know
its not good from a security point of view but for now i
want to have this patch installed.

the users can click through the rest of the setup once
install rights are given to the patch exe.

pls help.

Mac D



Relevant Pages

  • Re: Windows Update - KB944338
    ... Installing Script 5.7 is no solution.. ... MS must fix this Patch! ... IE7 install and third-party installers downgrading the components afterwards. ... I have installed Windows Script 5.6 ...
    (microsoft.public.windowsupdate)
  • Re: pca: List patches with "Special Install Instructions"?
    ... for conscientous admins, a sitewide whitelist would help, ... way of enforcing a reboot before any other patch could be installed. ... postpatch script created a script /var/run/nopatch, ... download and install patches for Sun ...
    (comp.unix.solaris)
  • Re: MS04-015 patch
    ... As far as I know any old admin account can install ... > installing this particular patch, ... > As far as SUS is concerned, we keep pushing for it to be ...
    (microsoft.public.windowsxp.security_admin)
  • Re: What if I need the targeted users name in my install script?
    ... the user has also write permissions), then pick it up with admin rights ... my script can't use the Windows ... This install is done 'on-demand', when a user requests the software. ... Therefore they know the username. ...
    (microsoft.public.sms.swdist)
  • Re: What if I need the targeted users name in my install script?
    ... the user has also write permissions), then pick it up with admin rights ... my script can't use the Windows ... Therefore they know the username. ... Can they enter this as a parameter for the install, ...
    (microsoft.public.sms.swdist)