auto answer

  • Thread starter Thread starter tyler
  • Start date Start date
T

tyler

i am a technician at a store that shall remain nameless
but i need to know if there is a way that several patches
can be installed on a machine and how a file can be writen
to automaticaly answer all of the questions it asks so as
to avoid the wasted time of clicking next on 200+
computers. Thanks in advance.
Tyler
 
tyler said:
i am a technician at a store that shall remain nameless
but i need to know if there is a way that several patches
can be installed on a machine and how a file can be writen
to automaticaly answer all of the questions it asks so as
to avoid the wasted time of clicking next on 200+
computers. Thanks in advance.
Tyler

Yeah.

Look into the command line options of the patches. With those you can
install the updates, it will ask no questions and you can even forgo a
reboot for most patches.
 
thanks for the swift reply but could you give me an
example please.
thanks in advance
tyler
 
tyler said:
i am a technician at a store that shall remain nameless
but i need to know if there is a way that several patches
can be installed on a machine and how a file can be writen
to automaticaly answer all of the questions it asks so as
to avoid the wasted time of clicking next on 200+
computers. Thanks in advance.


Shenan said:
Yeah.

Look into the command line options of the patches. With those you
can install the updates, it will ask no questions and you can even
forgo a reboot for most patches.

tyler said:
thanks for the swift reply but could you give me an
example please.
thanks in advance

Sure..

Here is a batch script I used back in June (there are missing patches for
current times, of course!) to install all Post-SP1 patches (up until June
18 - as I said.)

It did not reboot until it was all done. Notice each line and the command
line switches. Do a search for command line switches and windows update or
read more about each of the updates in the associated web page(s) and it
tells you which command line options are available and what they do.

Thanks to the Unattended project for the ideas in the past and the nice
coding that made the documentation of this script a breeze!
http://unattended.sourceforge.net/

----- start script here -----

REM Install all updates and hotfixes for Windows XP SP1
REM Last Updated on June 18, 2003

REM Some of these can only be downloaded using the Windows Update
REM Catalog, - http://windowsupdate.microsoft.com/catalog/ -.

REM Critical update 330994
REM -April 2003, Cumulative Patch for Outlook Express-
REM - http://support.microsoft.com/?kbid=330994 -
REM - http://www.microsoft.com/windows/ie/downloads/critical/330994/ -
"c:\updates\q330994.exe /q /r:n"

REM Critical update 818529
REM -April, 2003, Cumulative Patch for Internet Explorer-
REM - http://support.microsoft.com/?kbid=818529 -
REM - http://www.microsoft.com/windows/ie/downloads/critical/818529/ -
"c:\updates\q818529.exe /q /r:n"

REM Recommended update 322011
REM -You Cannot Preview a Fax in the Fax Console-
REM - http://support.microsoft.com/?kbid=322011 -
"c:\updates\Q322011_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 323255
REM -Unchecked Buffer in Windows Help Facility May Allow
REM Attacker to Run Code-
REM - http://support.microsoft.com/?kbid=323255 -
"c:\updates\Q323255_WXP_SP2_x86_ENU.exe /u /z"

REM Recommended update 327405
REM -Windows XP Documentation Update Can Help You
REM Understand How to Make Your Compute
REM - http://support.microsoft.com/?kbid=327405 -
REM (only available from Windows Update Catalog)
"c:\updates\hu1002_pro.exe /q"

REM Critical update 327696
REM -October 2002 Cumulative Patch for Internet
REM Information Services-
REM - http://support.microsoft.com/?kbid=327696 -
"c:\updates\Q327696_WXP_SP2_x86_ENU.exe /u /z"

REM Recommended update 327979
REM -Game Stops Responding (Hangs) or Quits Unexpectedly ...-
REM - http://support.microsoft.com/?kbid=327979 -
"c:\updates\Q327979_WXP_SP2.exe /u /z"

REM Critical update 328310
REM -Flaw in Windows WM_TIMER Message Handling
REM Can Enable Privilege Elevation-
REM - http://support.microsoft.com/?kbid=328310 -
"c:\updates\Q328310_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 329048
REM -Unchecked Buffer in File Decompression Functions
REM May Allow Attacker ...-
REM - http://support.microsoft.com/?kbid=329048 -
"c:\updates\Q329048_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 329115
REM -Certificate Validation Flaw Might Permit Identity Spoofing-
REM - http://support.microsoft.com/?kbid=329115 -
"c:\updates\Q329115_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 329390
REM -Unchecked Buffer in Windows Shell Might
REM Permit System Compromise-
REM - http://support.microsoft.com/?kbid=329390 -
"c:\updates\Q329390_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 329834
REM -Unchecked Buffer in PPTP Implementation May
REM Permit Denial-of-Service-
REM - http://support.microsoft.com/?kbid=329834 -
"c:\updates\Q329834_WXP_SP2_x86_ENU.exe /u /z"

REM Recommended update 810243
REM -DirectShow Playback Support for Files Recorded
REM with Windows XP Media Center Edition-
REM - http://support.microsoft.com/?kbid=810243 -
REM (only available from Windows Update Catalog)
"c:\updates\Q810243_WXP_SP2.exe /u /z"

REM Critical update 810565
REM -Better support for default Web browsers other
REM than Internet Explorer-
REM - http://support.microsoft.com/?kbid=810565 -
"c:\updates\Q810565_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 810577
REM -Unchecked Buffer in Windows Redirector May
REM Permit Privilege Elevation-
REM - http://support.microsoft.com/?kbid=810577 -
"c:\updates\Q810577_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 810833
REM -Unchecked Buffer in the Locator Service Might
REM Permit Code to Run-
REM - http://support.microsoft.com/?kbid=810833 -
"c:\updates\Q810833_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 811630
REM -HTML Help Update to Limit Functionality ...-
REM - http://support.microsoft.com/?kbid=811630 -
"c:\updates\Q811630_WXP_SP2_x86_ENU.exe /u /z"

REM Recommended update 814995
REM -Some ... Fixes Stop Working After You Install
REM the 328310 Update-
REM - http://support.microsoft.com/?kbid=814995 -
REM (download only available from Windows Update Catalog)
"c:\updates\Q814995_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 814033
REM -Cannot Install Driver Updates from the Windows
REM Update Web Site-
REM - http://support.microsoft.com/?kbid=814033 -
REM Line below changed to eliminate reboot on June 18, 2003
REM "c:\updates\Q814033_WXP_SP2_x86_ENU.exe /u /z"- .reboot
"c:\updates\Q814033_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 814078
REM -Flaw in Windows Script Engine May Allow Code to Run-
REM - http://support.microsoft.com/?kbid=814078 -
"c:\updates\js56nen.exe /q /r:n"

REM Critical update 811493
REM -Buffer Overrun ... Could Lead to Elevated Privileges-
REM - http://support.microsoft.com/?kbid=811493 -
"c:\updates\Q811493_WXP_SP2_x86_ENU.exe /u /z"

REM Recommended update 815485
REM WPA Wireless Security Update for Windows XP
REM - http://support.microsoft.com/?kbid=815485 -
"c:\updates\Q815485_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 331953
REM -Flaw in RPC Endpoint Mapper Could Allow Denial of
REM Service Attacks-
REM - http://support.microsoft.com/?kbid=331953 -
"c:\updates\Q331953_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 816093
REM -Flaw in the Microsoft VM Could Enable System Compromise-
REM - http://support.microsoft.com/?kbid=816093 -
REM (download only available from Windows Catalog)
"c:\updates\msjavwu.exe /q:a /r:n"

REM Critical update 815021
REM -Unchecked Buffer in Windows Component May
REM Cause Web Server Compromise-
REM - http://support.microsoft.com/?kbid=815021 -
"c:\updates\Q815021_WXP_SP2_x86_ENU.exe /u /q /z"

REM Critical update 817787
REM -Flaw in Windows Media Player Skins Downloading
REM Could Allow Code Execution-
REM - http://support.microsoft.com/?kbid=817787 -
"c:\updates\windowsmedia8-kb817787-x86-enu /q:a /r:n"

REM Recommended Update 820291
REM New -Set Program Access and Defaults- Start Menu
REM Icon and Help Content Are Available for Windows XP
REM - http://support.microsoft.com/?kbid=820291 -
"c:\updates\WindowsXP-KB820291-x86-ENU.exe -u -q -z"

REM Critical update 329170
REM -Flaw in SMB Signing May Permit Group Policy to Be Modified-
REM - http://support.microsoft.com/?kbid=329170 -
"c:\updates\Q329170_WXP_SP2_x86_ENU.exe /u /z"

REM Critical update 817287
REM -Windows Update 643 Error and the Catalog Database-
REM - http://support.microsoft.com/?kbid=817287 -
REM (download only available from Windows Catalog)
"c:\updates\Q817287_WXP_SP2_x86_ENU.exe /u /z"

REM Shutdown and Reboot the PC for the updates to take effect
shutdown -r -t 60 -f -c "Restarting PC in 60 seconds. Updates installed.
Please allow this to happen."
----- stop script here -----

Watch out for line wrapping.
 
Back
Top