How to Create an Autopatcher for Windows Xp Using Batch Files





Introduction: How to Create an Autopatcher for Windows Xp Using Batch Files

How to create an autopatcher for windows xp using batch files
Description only, pictures may never exist :)

Step 1: All Steps Listed Here Because It's to Hard to Read in Multiple Pages

1. Create a new folder on your desktop
2. Download all the required kb patches from the microsoft download site Here and copy them into the new folder.
3. Open up notepad
4. Cut and paste this code into it:

@echo off
echo Installing Windows XP Updates
cmd >updatelog.txt

5. ok at this point you'll have to type yourself, all you need to do is insert the name of each patch file and follow it up with these syntax commands /passive /norestart /n

WindowsXP-KB920685-x86-ENU.exe /passive /norestart /n
WindowsXP-KB920214-x86-ENU.exe /passive /norestart /n

continue doing this until all the patches you have downloaded are listed, if you have downloaded some major change patches (eg. MP10Setup.exe (media player 10) you can also add these just use the syntax like this "MP10Setup.exe /Q" it will have the same effect.)

6. Insert 'exit' to the end of the script or 'shutdown -r -t 30 -f' if you want it to automatically reboot after installing.

7. save it as a .bat file into the new folder on the desktop

Thats all there is too it, this way you can bunch up a whole bucketload of updates into a single folder and automatically update the windows without downloading them again (burn it to a cd etc) This is a real time saver for techs like myself.


You can make this a very proffesional package by using winrar to turn it into a self extracting executable.

1. Use bat2exe to turn the batch into a com file, rename to exe.
2. Use winrar ( to create a self extracting exectuable, inside the winrar options during the creation proccess you can specify a directory to auto extract to, also you can tell it to automatically execute the batch/exe file you have made. (You can even add a logo to the self extractor and a readme file) :)

Anyhow thats how it's all done, no need for any pictures on how to do this because it's all scripted anyhow :)



  • Remote Control Contest 2017

    Remote Control Contest 2017
  • Arduino Contest 2017

    Arduino Contest 2017
  • LED Contest 2017

    LED Contest 2017

We have a be nice policy.
Please be positive and constructive.


Questions & Answers


(Don't reply rudely, I am still adding to my vast expanse of computer software knowledge) What is an autopatcher anyway?

It will apply updates/patches automatically to the specified "thing". So you don't need to go online all the time and find the updates and manually spend your time doing it.

Do you have to put the downloads in a new foler or just any folder?

Last but not least, what do you do with CAB Files? I heard that! No Seriously. Do you just go to Windows Update & Let Them Install Those? There are 2 that I have that are not listed at all cause I don't know what to do with em. I heard that again! Well I gave you guys all my questions. How bout some help, PRETTY PLEASE! Thanks

What I do know is all these have to be put in some sort of installation order Right? Also, what about this 8.3 name stuff? Read that Instead of typing WindowsXP-KB**** etc. etc. that it should be KB*******.exe and thats it. ANYONE?

And here is the part I'm not sure of: Windowsinstaller-KB893803-v2-x86- ENU.exe/passive/norestart/n MSXML4-KB936181-ENU.exe/passive/norestart/n Windowsmedia9-KB936782-x86-ENU.exe/passive/norestart/n Windowsmedia-KB911564-x64-ENU.exe/passive/norestart/n WindowsXP-KB908531-v2-x86-ENU.exe/passive/norestart/n WindowsXP-KB904942-v2-x86-ENU.exe/passive/norestart/n MP10Setup.exe/Q Windowsmedia-KB891122-x86-ENU.exe/passive/norestart/n WindowsXP-KB927891-v3-x86-ENU.exe/passive/norestart/n WindowsXP-KB900485-v2-x86-ENU.exe/passive/norestart/n WindowsXP-KB896344-v2-x86-ENU.exe/passive/norestart/n WindowsXP-KB923689-v2-x86-ENU.exe/passive/norestart/n WindowsXP-KB911280-v2-x86-ENU.exe/passive/norestart/n WindowsXP-KB887472-x86-sp1-ENU.exe/passive/norestart/n Windowsmedia10-KB936782-x86-ENU.exe/passive/norestart/n Windowsmedia6-KB925398-v2-x86-ENU.exe/passive/norestart/n MSXML-KB933579-ENU-amd64.exe/passive/norestart/n MSXML5-KB933579-ENU-ia64.exe/passive/norestart/n MSXML6-KB933579-ENU-x86.exe/passive/norestart/n MSXML6sp 1-KB934268-ENU-amd64.exe/passive/norestart/n MSXML6sp 1-KB934268-ENU-ia64.exe/passive/norestart/n MSXML6sp 1-KB934268-ENU-x86.exe/passive/norestart/n shutdown -r -t 30 -f

So, here is what I have so far: @echo off echo Installing Windows XP Updates cmd >updatelog.txt WindowsXP-KB942615-x86-ENU.exe/passive/norestart/n WindowsXP-KB929123-x86-ENU.exe/passive/norestart/n WindowsXP-KB941202-x86-ENU.exe/passive/norestart/n WindowsXP-KB873339-x86-ENU.exe/passive/norestart/n WindowsXP-KB885836-x86-ENU.exe/passive/norestart/n WindowsXP-KB890046-x86-ENU.exe/passive/norestart/n WindowsXP-KB891781-x86-ENU.exe/passive/norestart/n WindowsXP-KB896358-x86-ENU.exe/passive/norestart/n WindowsXP-KB896428-x86-ENU.exe/passive/norestart/n WindowsXP-KB899591-x86-ENU.exe/passive/norestart/n WindowsXP-KB901017-x86-ENU.exe/passive/norestart/n WindowsXP-KB902400-x86-ENU.exe/passive/norestart/n WindowsXP-KB905749-x86-ENU.exe/passive/norestart/n WindowsXP-KB911562-x86-ENU.exe/passive/norestart/n WindowsXP-KB913580-x86-ENU.exe/passive/norestart/n WindowsXP-KB914389-x86-ENU.exe/passive/norestart/n WindowsXP-KB918118-x86-ENU.exe/passive/norestart/n WindowsXP-KB919007-x86-ENU.exe/passive/norestart/n WindowsXP-KB920670-x86-ENU.exe/passive/norestart/n WindowsXP-KB920685-x86-ENU.exe/passive/norestart/n WindowsXP-KB922819-x86-ENU.exe/passive/norestart/n WindowsXP-KB923414-x86-ENU.exe/passive/norestart/n WindowsXP-KB923980-x86-ENU.exe/passive/norestart/n WindowsXP-KB924496-x86-ENU.exe/passive/norestart/n WindowsXP-KB925902-x86-ENU.exe/passive/norestart/n WindowsXP-KB926436-x86-ENU.exe/passive/norestart/n WindowsXP-KB927802-x86-ENU.exe/passive/norestart/n WindowsXP-KB928843-x86-ENU.exe/passive/norestart/n WindowsXP-KB931261-x86-ENU.exe/passive/norestart/n WindowsXP-KB935839-x86-ENU.exe/passive/norestart/n WindowsXP-KB936021-x86-ENU.exe/passive/norestart/n WindowsXP-KB938829-x86-ENU.exe/passive/norestart/n WindowsXP-KB941644-x86-ENU.exe/passive/norestart/n WindowsXP-KB943460-x86-ENU.exe/passive/norestart/n WindowsXP-KB944653-x86-ENU.exe/passive/norestart/n WindowsXP-KB941569-x86-ENU.exe/passive/norestart/n WindowsXP-KB946627-x86-ENU.exe/passive/norestart/n WindowsXP-KB894391-x86-ENU.exe/passive/norestart/n WindowsXP-KB898461-x86-ENU.exe/passive/norestart/n WindowsXP-KB916595-x86-ENU.exe/passive/norestart/n WindowsXP-KB922582-x86-ENU.exe/passive/norestart/n WindowsXP-KB930916-x86-ENU.exe/passive/norestart/n WindowsXP-KB938828-x86-ENU.exe/passive/norestart/n WindowsXP-KB942840-x86-ENU.exe/passive/norestart/n WindowsXP-KB942763-x86-ENU.exe/passive/norestart/n WindowsXP-KB936357-x86-ENU.exe/passive/norestart/n WindowsXP-KB920872-x86-ENU.exe/passive/norestart/n WindowsXP-KB910437-x86-ENU.exe/passive/norestart/n WindowsXP-KB941569-x86-ENU.exe/passive/norestart/n WindowsXP-KB946026-x86-ENU.exe/passive/norestart/n WindowsXP-KB943485-x86-ENU.exe/passive/norestart/n WindowsXP-KB943055-x86-ENU.exe/passive/norestart/n WindowsXP-KB941568-x86-ENU.exe/passive/norestart/n WindowsXP-KB938127-x86-ENU.exe/passive/norestart/n WindowsXP-KB935840-x86-ENU.exe/passive/norestart/n WindowsXP-KB933729-x86-ENU.exe/passive/norestart/n WindowsXP-KB931784-x86-ENU.exe/passive/norestart/n WindowsXP-KB930178-x86-ENU.exe/passive/norestart/n WindowsXP-KB928255-x86-ENU.exe/passive/norestart/n WindowsXP-KB927779-x86-ENU.exe/passive/norestart/n WindowsXP-KB926255-x86-ENU.exe/passive/norestart/n WindowsXP-KB924667-x86-ENU.exe/passive/norestart/n WindowsXP-KB924270-x86-ENU.exe/passive/norestart/n WindowsXP-KB923191-x86-ENU.exe/passive/norestart/n WindowsXP-KB921503-x86-ENU.exe/passive/norestart/n WindowsXP-KB920683-x86-ENU.exe/passive/norestart/n WindowsXP-KB920213-x86-ENU.exe/passive/norestart/n WindowsXP-KB918439-x86-ENU.exe/passive/norestart/n WindowsXP-KB917344-x86-ENU.exe/passive/norestart/n WindowsXP-KB914388-x86-ENU.exe/passive/norestart/n WindowsXP-KB911927-x86-ENU.exe/passive/norestart/n WindowsXP-KB908519-x86-ENU.exe/passive/norestart/n WindowsXP-KB905414-x86-ENU.exe/passive/norestart/n WindowsXP-KB901214-x86-ENU.exe/passive/norestart/n WindowsXP-KB900725-x86-ENU.exe/passive/norestart/n WindowsXP-KB899587-x86-ENU.exe/passive/norestart/n WindowsXP-KB896423-x86-ENU.exe/passive/norestart/n WindowsXP-KB893756-x86-ENU.exe/passive/norestart/n WindowsXP-KB890859-x86-ENU.exe/passive/norestart/n WindowsXP-KB888302-x86-ENU.exe/passive/norestart/n WindowsXP-KB885835-x86-ENU.exe/passive/norestart/n WindowsXP-KB923789-x86-ENU.exe/passive/norestart/n WindowsXP-KB944533-x86-ENU.exe/passive/norestart/n WindowsXP-KB886185-x86-ENU.exe/passive/norestart/n WindowsXP-KB932168-x86-ENU.exe/passive/norestart/n This much I think is right. Any comments?

OK you guys, seem to know alot! How bout helpin a girl out here. I Want to make this Autopatcher. Anyone willing to help? I tried following the above instructions but got stuck. Is there a gentleman among you who will help? As you can see I'm a newbee and really need some advice. Looks like alot of typing to be done, so how bout showing me how to type it out right? ANYONE? Thanks

You can also use WSUS v3 and a simple .REG file in combination so you don't have to download the patches more than once if you are into helping local friends/neighbors with their PC woes. I may have to post an instructable for this :)