tongboy Posted August 10, 2004 Posted August 10, 2004 I used jdeboeck's REMOVE! script to remove automatic updates (as well as other things) and now I need to see if its possible to get them back via a script or anything at all onto the machines (about 120 of them!) without manually reinstalling all of them.the code used is below @echo offif not exist optional mkdir optionalif not exist optional\au mkdir optional\aurem Moving filesmove i386\au.in_ optional\aumove i386\rootau.in_ optional\aumove i386\wuauserv.dl_ optional\aumove i386\wuaueng.dl_ optional\aumove i386\wuauclt.ex_ optional\aumove i386\wuauhelp.ch_ optional\aurem Updating txtsetup.sifecho au.inf>> txtsetup.logecho rootau.inf>> txtsetup.logecho wuauserv.dll>> txtsetup.logecho wuaueng.dll>> txtsetup.logecho wuauclt.exe>> txtsetup.logecho wuauhelp.chm>> txtsetup.logfindstr /v /b /i /g:txtsetup.log i386\txtsetup.sif > txtsetup.sifmove txtsetup.sif i386\txtsetup.sifdel txtsetup.logrem Updating dosnet.infecho d1,au.inf>> dosnet.logecho d1,rootau.inf>> dosnet.logecho d1,wuauserv.dll>> dosnet.logecho d1,wuaueng.dll>> dosnet.logecho d1,wuauclt.exe>> dosnet.logecho d1,wuauhelp.chm>> dosnet.logfindstr /v /b /i /g:dosnet.log i386\dosnet.inf > dosnet.infmove dosnet.inf i386\dosnet.infdel dosnet.logrem Updating sysoc.infexpand -r i386\sysoc.in_findstr /v /i /c:au.inf /c:rootau.inf i386\sysoc.inf > sysoc.infmove sysoc.inf i386\sysoc.infmakecab i386\sysoc.inf i386\sysoc.in_del i386\sysoc.infif I can't get them back i'm most likely going to try and setup a GPO to push out a windows xp update install. I've found plenty of answer files for unattended installs but I can't find anything for unattended updates. all I need to to change other then automatic updates is the CD key.thank you for any info on either of these!
XtremeMaC Posted August 10, 2004 Posted August 10, 2004 well after putting those files u need to execute the inf filesc:cd\md installecho change d:\ to your cd rom drive (there is a very easy auto cdrom drive finder in the forums)copy d:\i386\au.in_ c:\installcopy d:\i386\rootau.in_ c:\installcopy d:\i386\wuauserv.dl_ c:\installcopy d:\i386\wuaueng.dl_ c:\installcopy d:\i386\wuauclt.ex_ c:\installcopy d:\i386\wuauhelp.ch_ c:\installcd installexpand -r *.* C:\WINDOWS\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 au.infu don't need the rest.. ow and I'm not sure but the auto update service might be disabled, u'd have to enable it also the au.inf contains more files than jdeboeck removed wuauclt1.exewuaucpl.cplwups.dllwuaueng1.dllwucltui.dllwuweb.dlletc...u might need to do a similar thing for the other files--------below not neccessary----------------rem Updating txtsetup.sifecho au.inf>> txtsetup.logecho rootau.inf>> txtsetup.logecho wuauserv.dll>> txtsetup.logecho wuaueng.dll>> txtsetup.logecho wuauclt.exe>> txtsetup.logecho wuauhelp.chm>> txtsetup.logfindstr /v /b /i /g:txtsetup.log i386\txtsetup.sif > txtsetup.sifcopy txtsetup.sif i386\txtsetup.sifdel txtsetup.logrem Updating dosnet.infecho d1,au.inf>> dosnet.logecho d1,rootau.inf>> dosnet.logecho d1,wuauserv.dll>> dosnet.logecho d1,wuaueng.dll>> dosnet.logecho d1,wuauclt.exe>> dosnet.logecho d1,wuauhelp.chm>> dosnet.logfindstr /v /b /i /g:dosnet.log i386\dosnet.inf > dosnet.infcopy dosnet.inf i386\dosnet.infdel dosnet.logrem Updating sysoc.infexpand -r i386\sysoc.in_findstr /v /i /c:au.inf /c:rootau.inf i386\sysoc.inf > sysoc.infcopy sysoc.inf i386\sysoc.infmakecab i386\sysoc.inf i386\sysoc.in_del i386\sysoc.inf
tongboy Posted August 11, 2004 Author Posted August 11, 2004 you sir absolutly saved my bacon editgah, it made it all the way through the expansion process without a problem when it goes to execute the final install statement a small alert box pops up saying "installation failed"I tried manually going to the au.inf file and installing but it just hourglassed the mouse for a second and didn't do anything even after a reboot. I check both the system properties screen and the services window and neither show automatic updates yet. I'm guessing there might be a mistype or something in the install statement so i'll look for a solutionstill very much thank you edit again!changing C:\WINDOWS\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 au.infto C:\WINDOWS\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 c:\install\au.inflet it run without a problem. restarted and still nothing so i'm going to go back and try doing the same for all the other files
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now