Re: Install patch as Admin
From: Jayjay (jjf_71_at_notmail.com)
Date: 09/11/03
- Next message: Keith W. McCammon: "Re: Verifying a password's complexity in Active Directory"
- Previous message: rob: "How do I disable the automatic logon I set up???"
- In reply to: gdescote: "Re: Install patch as Admin"
- Next in thread: gdescote: "Re: Install patch as Admin"
- Reply: gdescote: "Re: Install patch as Admin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 11 Sep 2003 19:42:21 GMT
On Thu, 11 Sep 2003 15:02:34 -0400, "gdescote" <gdescote@hotmail.com>
wrote:
>Do you have a exemple of your script.... I'am curious.....
>
>Thank
>
quick and basic way I got it to work.
Create a batch file with the runas command in it
runas /user:[domain\user] "cmd /c [patch location and appropriate
switches for running, I used the switches for unattend and to not
reboot when finished]"
Create the script file with the following text:
RUN, [batchfile location]
send, [password]
send, {enter}
It would be nice to run the runas command in the script file - instead
of creating the batch file to run it, but I tried w/ autoit for a few
hours today and couldn't get it to work properly, so resorted to the
above.
The trick is - running it on every computer. One possibility is to
email to users instructing to run the file, or going to each machine
and running the file yourself, or putting it into a login script to
run at login - but this may have to run for days to catch all users if
not every pc is used daily.
- Next message: Keith W. McCammon: "Re: Verifying a password's complexity in Active Directory"
- Previous message: rob: "How do I disable the automatic logon I set up???"
- In reply to: gdescote: "Re: Install patch as Admin"
- Next in thread: gdescote: "Re: Install patch as Admin"
- Reply: gdescote: "Re: Install patch as Admin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|