Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 2004

Installing Multiple Windows XP Hotfixes at One Time


RSS
Subscribe to Windows IT Pro | See More Hotfixes Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

I'm getting tired of constantly downloading and installing hotfixes for Windows XP—particularly because I must install them on multiple machines. Is there some way to simplify the installation?

The easiest way is to use a batch file that processes the updates line by line. The key is to script each process to be unattended and not to require a reboot.

First, create a share on a server that everyone can access. You can easily accomplish this task by opening a command line on a server and typing

mkdir <drive>\hotfix

Give all users access to this folder, and copy all necessary hotfixes to it. Then, on each machine that needs to be updated, run the following batch file:

@echo off
setlocal
set PATHTOFIXES=<drive>:\hotfix
%PATHTOFIXES%\<WindowsXPhotfix1.exe> /Z /Q
%PATHTOFIXES%\<WindowsXPhotfix2.exe> /Z /Q

In this batch file, drive:\hotfix is the path to the shared folder containing the hotfixes and WindowsXPhotfix1.exe and WindowsXPhotfix2.exe are the names of the first and second hotfix files that you want to apply (add additional lines to install additional hotfix files). The /Z switch causes the system to skip the reboot, and the /Q switch causes the hotfixes to be installed in quiet mode (i.e., without requiring user input).

If you want, you can remove the /Z switch from the last line; doing so will cause the machine to reboot. If you do so, just make certain that all applications and open documents are closed before running the script.

End of Article



Reader Comments
Article specifically mentions "XP" as platform for which this batch technique of applying patches can be used. No mention of older platforms. Can it not be applied to W2K and/or NT patches as well? What restrictions or limitations would apply?

Chuck Staples May 06, 2004


The best way to handle applying multiple hot fixes on NT/2K/XP platforms is to use the above scripting and then at the end run the qchain.exe utility from Microsoft.

John Keller June 10, 2004


I thank you very much for tips on automated installation of multiple hotfixes. Since I am a programmer myself, I was able to understand your algorithm quite well and should be able to refine it for my purposes.

I may one day register for membership on your site, since I am a computer engineer. I recently opened up my own company called "Knoz'em Computers, LLC".

I thank you very much. May God's peace be with you always!

From John Nozum


Anonymous User January 28, 2005 (Article Rating: )


Hi

I have seen these instructions at Microsoft's website, but I don't understand where I should type this in if I want to batch update a single machine and I don't have a network of any kind.

My father has a WinXP Pro SP2 machine without an internet connection and I want to install about 60 updates for his computer without having to sit next to it and double click an update 60 times...

Is there any way to do this automatically ?

Thanks in advance.

Gantlett November 27, 2005 (Article Rating: )


Anonymous User January 28, 2005 Thank you! That was marvelous :)

Regards,
Vladimir

old5chool March 02, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Introduction to Identity Lifecycle Manager "2"

Power Up! With Virtualization Online Conference

Protecting Mobile Users' Data

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing