OK - the sus server sounds cool; that is, if you have another 700mhz win2k box w/ 6gigs of diskspace floating around. I dont - so I have to ask the next logical question.

Why not just use wget or another web puller to grab the updates (if needed) on the fly with each unattended run?

I figure since the url and patch path is in each script, and we are using perl (cpan updates d/l with wget), and all the update urls are usually updated in each patch/app bat file (dang - even use wget to pull the newest cvs script too!) - so is there a reason this hasn't been done?

Ok, don't expect a patch from me... only ideas (besides, you wouldn't want to see my perl code anyway!).

---start pseudo *wannabe coder* code---
#all this code would run fully integrated with the current linux boot process - (may have to run the wget stuff before jumping into memdisk)
add the wget perl stuff like cpan uses - or run it standalone (must be auto'd)
-now parse the urls from whatever bat file ur about to work with
--check if <patch path>/patch or <app path>/app.exe exsists --- if so move on
--if not, pull it with wget and drop it in its place (this will require write permissions of the unattend user to the //install/share tree - i dunno if that is wise or if its already that way?)
--else if - unable to get app/patch - skip it or cry and complain - maybe move to next bat? w/o adding to todo.pl
-add it to todo.pl
-end loop for app/patch in question - move to next app/patch
(remember to keep app paths and patch paths aligned) --sorry, that should be 'packages' and 'updates'
---end my looser goofed up psesorta code---


So my implementation is ugly, thats why im not goin to put in a patch. And like I said, i'm not sure if you want to pull the updates before the dosemu or not? I guess that would be if a wget perl mod could work from in dosemu, you could just check each update when working on that bat file. But this would basicly add sus functionality to unattended - just make sure your unattended box has plenty of room for updates. All the while saving your precious bandwidth

I think this would be great for free apps too, like 7-zip and Adobe Reader, because I'm sick of d/l'in all of them by hand. (there is a possiblility that I'm just stupid and haven't noticed an easier way)

Please let me know, anyone, if you can whip up some quick code that would do this clean. I must sound like a dog chasing his tail. Did I catch it?
Thx,
-Steven


Re: [Unattended] Windows auto update how to?

    * From: imdos
    * Subject: Re: [Unattended] Windows auto update how to?
    * Date: Fri, 14 May 2004 10:32:55 -0700

Maybe it is a possibility to set up an SUS-server www.susserver.com and
to point your workstations to there. Then u can be sure all the updates
will be installed.

Windows Registry Editor Version 5.00
 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
 "WUServer"="http://SUSServer.Company.com";;
 "WUStatusServer"=http://SUSServer.Company.com

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
 "AUOptions"=dword:00000004
 "NoAutoRebootWithLoggedOnUsers"=dword:00000001
 "NoAutoUpdate"=dword:00000000
 "RescheduleWaitTime"=dword:00000001
 "ScheduledInstallDay"=dword:00000000
 "ScheduledInstallTime"=dword:00000004
 "UseWUServer"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto

Update]
 "AUOptions"=dword:00000004
 "AUState"=dword:00000002

reg delete
"HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
Update\LastWaitTimeout" /force >nul

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto

Update]
 "ScheduledInstallDate"="2002.09.27 04:00:00"
 "Rescheduled"=dword:00000001

With this there is also an overview of which client has (allready)
upgraded.

imdos

On Fri, 2004-05-14 at 18:49, John Lilley wrote:
> True. But bandwidth isn't really an issue where I work and by it's
> nature the script is out of date in a few days after it's release. It
> would be one less script to manage. I guess I could allow the script to
> update (saving bandwidth) and run auto update to finish up the job. :)
>
> thanks,
>
> john
>
>
> Mangano, Aron wrote:
> > You could do this, but why would you as it would cost you bandwidth and
> > dollars etc :-)
> >
> > Pats way is far superior as you only need to download the updates and
> > hotfixes once etc.
> >
> > Aron
> >
> > -----Original Message-----
> > From: John Lilley [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 14 May 2004 3:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Unattended] Windows auto update how to?
> >
> > Hey Everyone,
> >
> > I was wondering if its possible to run auto update automatically after
> > the last reboot to install all critical patches instead of using the
> > winxp-update.bat? I've set todo.pl "auconfig.pl 4" in base.bat but don't
> > really know how to get it to update immediately after install.
> >
> > Oh and great work on the linux boot disk! I boot pxe and this saves me
> > the headache of having to boot pxe twice for the drive format. :)
> >
> > John
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: SourceForge.net Broadband
> > Sign-up now for SourceForge Broadband and get the fastest
> > 6.0/768 connection for only $19.95/mo for the first 3 months!
> > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> > _______________________________________________
> > unattended-info mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/unattended-info
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> unattended-info mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/unattended-info




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to