The worst thing about rebuilding your machine after a virus or just to give your machine a fresh lease on life is sitting there for 2 days installing all your applications and getting everything back to how you had it. After doing this numerous times and to assist friends and family I thought I would do something about this. After some time reading about this problem I found a few products that could do what I was chasing,
Folder Layout I will be using is:
Vista
Office
Programs
WindowsUpdates
Office 2007
To get Office 2007 to install silently you need to edit CONFIG.XML in your STANDARD.WW or ENTERPRISE.WW folder. If you wish to know more go here
K-Lite Mega Codec Pack
The first thing you need to do is download K-Lite codec pack from HERE Next step to do is, create a folder called KLMCodec and copy the install file into it. If you have troubles or want to know more go to HERE
Batch File Creation
Below is the text you will need to copy. Create a blank notepad file and paste the text into it and then click FILE – SAVE AS, go to the drop down menu for SAVE AS TYPE and select ALL FILES and save it as Update.cmd.
________COPY ALL TEXT BELOW THIS POINT_____
CLS
@ECHO off
# This is the Text will appear in the Title Bar of our window
TITLE Angrypeanut's Vista Update Batch File
@ECHO off
# This is the colour’s of our Screen. The first one is the Background colour and the second is the text colour
# 0 = Black 8 = Gray
# 1 = Blue 9 = Light Blue
# 2 = Green A = Light Green
# 3 = Aqua B = Light Aqua
# 4 = Red C = Light Red
# 5 = Purple D = Light Purple
# 6 = Yellow E = Light Yellow
# 7 = White F = Bright White
color 0a
Net Stop "Automatic Updates"
# Firstly we shall tidy up the start menu
md "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Utilities"
md "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Entertainment"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Calendar.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Contacts.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Defender.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Fax and Scan.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Live Messenger Download.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\P
rograms\Entertainment"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Mail.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Meeting Space.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Movie Maker.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Entertainment"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Photo Gallery.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "%userPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows Media Player.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Entertainment"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\games" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Entertainment"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Extras and Upgrades" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Maintenance" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
del "%userPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows Mail.lnk"
del "%userPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk"
del "C:\ProgramData\Microsoft\Windows\Start Menu\Default Programs.lnk"
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Meeting Space.lnk"
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Live Messenger Download.lnk"
# Lets Install Some Programs
Office 2007Office\setup.exe /config silent.xml
del "C:\ProgramData\Microsoft\Windows\Start Menu\New Microsoft Office Document.lnk"
del "C:\ProgramData\Microsoft\Windows\Start Menu\Open Microsoft Office Document.lnk"
Office\Office2007sp1 /quiet
echo. Angrypeanut Just Installed Office 2007
# Go to HERE to get the lastest Adobe Reader
Programs\AdbeRdr90_en_US /sPB
Del "C:\Users\Public\Desktop\Adobe Reader 9.lnk"
Del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe Reader 9.lnk"
Del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\Adobe Reader Speed Launch.lnk"
Del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\Adobe Reader Synchronizer.lnk"
echo. Angrypeanut Just Installed Acrobat Reader
# Go to HERE to get the latest Adobe Flash
Programs\install_flash_player_active_x.msi /passive
echo. Angrypeanut Just Installed Flash Player
# Get all the info you need about KLite from the above section
Programs\KLMCodec\klmcodec416.exe /verysilent /norestart /LoadInf="Programs\KLMCodec\klmcp.ini"
echo. Angrypeanut Just K-Lite Mega Codec
# Paint .Net is a Free Photo editing program to replace Windows Paint
Programs\Paint.NET.3.36.exe /Auto
Del "C:\Users\Public\Desktop\Paint.NET.lnk"
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Paint.NET.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Utilities"
echo. Angrypeanut Just Paint .Net
# Windows Updates
WindowsUpdates\KB905866-v10.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB905866-v10
WindowsUpdates\KB925902.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB925902
WindowsUpdates\KB928089.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB928089
WindowsUpdates\KB929123.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB929123
WindowsUpdates\KB929399.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB929399
WindowsUpdates\KB929916.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB929916
WindowsUpdates\KB930178.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB930178
WindowsUpdates\KB931099.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB931099
WindowsUpdates\KB931213.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB931213
WindowsUpdates\KB931573.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB931573
WindowsUpdates\KB931836.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB931836
WindowsUpdates\KB933579.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB933579
WindowsUpdates\KB935280.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB935280
WindowsUpdates\KB935807.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB935807
WindowsUpdates\KB936021.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936021
WindowsUpdates\KB936357.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936357
WindowsUpdates\KB936824.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936824
WindowsUpdates\KB936825.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936825
WindowsUpdates\KB937077.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB937077
WindowsUpdates\KB937143.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB937143
WindowsUpdates\KB938123.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB938123
WindowsUpdates\KB938127.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB938127
WindowsUpdates\KB936960 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936960
WindowsUpdates\KB890830 /Q
echo. Angrypeanut Just Installed Windows Update KB890830
WindowsUpdates\KB932080 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB932080
WindowsUpdates\KB934062 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB934062
WindowsUpdates\KB934173 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB934173
WindowsUpdates\KB934391 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB934391
WindowsUpdates\KB934393 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB934393
WindowsUpdates\KB936509 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936509
WindowsUpdates\KB936514 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936514
WindowsUpdates\KB936644 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936644
WindowsUpdates\KB936646 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936646
WindowsUpdates\KB937608 /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB937608
WindowsUpdates\KB938194.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB938194
WindowsUpdates\KB938979.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB938979
WindowsUpdates\KB933360.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB933360
WindowsUpdates\KB939159.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB939159
# Updates For December 2007
WindowsUpdates\KB930857.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB930857
WindowsUpdates\KB931365.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB931365
WindowsUpdates\KB933729.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update B933729
WindowsUpdates\KB933928.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB933928
WindowsUpdates\KB936782.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB936782
WindowsUpdates\KB941202.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB941202
WindowsUpdates\KB941568.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB941568
WindowsUpdates\KB941569.msu /quiet /norestart
echo. Angrypeanut Just
Installed Windows Update KB941569
WindowsUpdates\KB941600.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update B941600
WindowsUpdates\KB941649.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB941649
WindowsUpdates\KB942615.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB942615
WindowsUpdates\KB942624.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB942624
WindowsUpdates\KB943078.msu /quiet /norestart
echo. Angrypeanut Just Installed Windows Update KB943078
@ECHO off
ECHO.
ECHO.
ECHO. Thanks for Using This Batch File
ECHO.
ECHO. "Your Computer Is Now Up To Date"
ECHO.
ECHO. "Service Provided By"
ECHO.
ECHO. "Angrypeanut"
ECHO.
ECHO.
ECHO.
ECHO. www.Angrypeanut.Com
ECHO.
ECHO.
Pause
________COPY ALL TEXT ABOVE THIS POINT_____
Updated to reflect windows updates for December as well as adding Office 2007 SP1
Once Service Pack 2 For Vista Is Released I Will Update This Post
Why not just backup up your systems with a disk imaging product: it takes weeks of hard work to set up my system, but with image based backups it comes back in 20 mins. This webpage is a complex solution to a non-problem based on a misunderstanding of how to manage systems.
I understand what your saying but I use this more for building different machines or when there is massive hardware changes.
Thank You For your comments though