Microsoft 에서 제공되는 HOTFIX, UPDATE 파일을 수동으로 설치해야 할 때, MBSA를 사용하여 업데이트 목록을 얻는 방법에 대해서 앞서 포스팅 하였습니다. Windows Server 2003 R2 EE x64를 설치하고 MBSA 툴을 사용하여 확인해 보면 업데이트 해야 파일이 50개가 훌쩍 넘습니다. 물론 윈도우 업데이트 사이트에 연결이 가능하다면 이 고생을 할 필요가 없습니다만.....
아래와 같이 QCHAIN_KB.BAT 파일을 생성하여 실행하면 개별 업데이트가 자동 실행되어 설치를 진행하게 됩니다. 한 번의 재부팅으로 업데이트 설치를 완료할 수 있습니다.
@echo off
setlocal
set PATHHOTFIXES=C:\UPDATE
%PATHHOTFIXES%\WindowsMedia6-KB925398-v2-x64-KOR.EXE -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB923561-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB924667-v2-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB925902-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB926122-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB929123-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB930178-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB932168-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB938127-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB941569-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB943055-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB943460-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB944338-v2-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB944653-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB945553-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB946026-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB950762-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB950974-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB951066-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB951748-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB952004-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB952069-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB952954-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB954155-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB955069-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956572-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956802-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956803-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956844-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB957097-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958469-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958644-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958687-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958869-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB959426-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB960225-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB960803-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB960859-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB961371-v2-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB961501-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB967723-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB968537-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB968816-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB969059-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB970238-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB970653-v3-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971032-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971486-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971557-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971633-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971657-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971961-JS56-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973354-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973507-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973525-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973540-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973815-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973869-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB974112-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB974455-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB974571-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB975025-x64-KOR.exe -z -m
%PATHHOTFIXES%\qchain.exe
setlocal
set PATHHOTFIXES=C:\UPDATE
%PATHHOTFIXES%\WindowsMedia6-KB925398-v2-x64-KOR.EXE -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB923561-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB924667-v2-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB925902-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB926122-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB929123-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB930178-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB932168-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB938127-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB941569-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB943055-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB943460-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB944338-v2-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB944653-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB945553-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB946026-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB950762-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB950974-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB951066-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB951748-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB952004-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB952069-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB952954-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB954155-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB955069-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956572-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956802-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956803-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB956844-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB957097-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958469-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958644-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958687-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB958869-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB959426-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB960225-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB960803-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB960859-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB961371-v2-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB961501-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB967723-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB968537-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB968816-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB969059-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB970238-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB970653-v3-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971032-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971486-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971557-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971633-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971657-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB971961-JS56-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973354-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973507-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973525-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973540-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973815-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB973869-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB974112-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB974455-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB974571-x64-KOR.exe -z -m
%PATHHOTFIXES%\WindowsServer2003.WindowsXP-KB975025-x64-KOR.exe -z -m
%PATHHOTFIXES%\qchain.exe
별도의 클릭질(?)이 필요하지 않습니다. 배치 스크립트에 설정된 대로 업데이트 파일이 개별 설치되며 완료 후 시스템을 재시작 하시면 됩니다.
[참고자료]
How to install multiple Windows updates or hotfixes with only one reboot
http://support.microsoft.com/kb/296861/en-us
Guide for Installing and Deploying Updates for Microsoft Windows Server 2003 and Windows XP 64-Bit Edition Version 2003
http://technet.microsoft.com/en-in/library/cc700814(en-us).aspx
MBSA 를 사용하여 필요한 보안 업데이트 목록 얻기
http://laigo.kr/384
작성자 : Lai Go / 작성일자 : 2009.10.20