Jump to content

Here's my (almost) finished code for the super xp


Recommended Posts

Hi everyone!

I'm pretty much finished my super XP CD (well except for removing unnecessary windows hotfixes) so could anyone look over my batch files, winnt.sif etc. and make suggestions/corrections?

This CD is done from the point of view that I'll install it on multiple PC's all with different hardware specs (I have a full legit version of Windows XP Pro corporate edition - as many installs as I like)

Thanks in advance!

batch.cmd
CLS
@echo off
ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO hacks being implemented. The computer will restart automatically
ECHO once the whole process has finished!
ECHO.
ECHO Copying Tools...
COPY "%systemdrive%\Install\Tools\psshutdown.exe" "%systemroot%\"
ECHO.
ECHO Removing Wallpapers...
DEL "%systemroot%\Blue Lace 16.bmp"
DEL "%systemroot%\Coffee Bean.bmp"
DEL "%systemroot%\FeatherTexture.bmp"
DEL "%systemroot%\Gone Fishing.bmp"
DEL "%systemroot%\Greenstone.bmp"
DEL "%systemroot%\Prairie Wind.bmp"
DEL "%systemroot%\Rhododendron.bmp"
DEL "%systemroot%\River Sumida.bmp"
DEL "%systemroot%\Santa Fe Stucco.bmp"
DEL "%systemroot%\Soap Bubbles.bmp"
DEL "%systemroot%\Zapotec.bmp"
DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"
DEL "%systemroot%\Web\Wallpaper\Friend.jpg"
DEL "%systemroot%\Web\Wallpaper\Home.jpg"
DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"
DEL "%systemroot%\Web\Wallpaper\Peace.jpg"
DEL "%systemroot%\Web\Wallpaper\Power.jpg"
DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"
DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"
DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"
DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"
DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"
DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"
DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"
DEL "%systemroot%\Web\Wallpaper\Azul.jpg"
DEL "%systemroot%\Web\Wallpaper\Follow.jpg"
DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"
DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"
DEL "%systemroot%\Web\Wallpaper\Wind.jpg"
ECHO.
ECHO Removing useless shortcuts...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
ECHO.
ECHO Removing Screensavers...
DEL "%systemroot%\system32\dllcache\scrnsave.scr"
DEL "%systemroot%\system32\dllcache\ss3dfo.scr"
DEL "%systemroot%\system32\dllcache\ssbezier.scr"
DEL "%systemroot%\system32\dllcache\ssflwbox.scr"
DEL "%systemroot%\system32\dllcache\ssmarque.scr"
DEL "%systemroot%\system32\dllcache\ssmypics.scr"
DEL "%systemroot%\system32\dllcache\ssmyst.scr"
DEL "%systemroot%\system32\dllcache\sspipes.scr"
DEL "%systemroot%\system32\dllcache\ssstars.scr"
DEL "%systemroot%\system32\dllcache\sstext3d.scr"
DEL "%systemroot%\system32\scrnsave.scr"
DEL "%systemroot%\system32\ss3dfo.scr"
DEL "%systemroot%\system32\ssbezier.scr"
DEL "%systemroot%\system32\ssflwbox.scr"
DEL "%systemroot%\system32\ssmarque.scr"
DEL "%systemroot%\system32\ssmypics.scr"
DEL "%systemroot%\system32\ssmyst.scr"
DEL "%systemroot%\system32\sspipes.scr"
DEL "%systemroot%\system32\ssstars.scr"
DEL "%systemroot%\system32\sstext3d.scr"
ECHO
ECHO Installing DirectX 9.0b
ECHO Please wait...
start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk
ECHO.
ECHO Installing Windows Media Player 9
ECHO Please wait...
start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N
ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\RegTweaks.reg
ECHO.
ECHO Installing KB819696...
start /wait %systemdrive%\install\Hotfixes\DirectX9-KB819696-x86-ENU.exe /Q:A /R:N
ECHO.
ECHO Installing dx90amdx...
start /wait %systemdrive%\install\Hotfixes\dx90amdx.exe /Q:A /R:N
ECHO.
ECHO Installing hu1002_pro...
start /wait %systemdrive%\install\Hotfixes\hu1002_pro.exe /Q:A /R:N
ECHO.
ECHO Installing js56nen...
start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:N
ECHO.
ECHO Installing msjavwu...
start /wait %systemdrive%\install\Hotfixes\msjavwu.exe /Q:A /R:N
ECHO.
ECHO Installing Q323255...
start /wait %systemdrive%\install\Hotfixes\Q323255_x86_EN.exe /Q /M /Z
ECHO.
ECHO Installing Q327979...
start /wait %systemdrive%\install\Hotfixes\Q327979_WXP_SP2_x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q328310...
start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_en.exe /Q /M /Z
ECHO.
ECHO Installing Q329048...
start /wait %systemdrive%\install\Hotfixes\Q329048_xp.exe /Q /M /Z
ECHO.
ECHO Installing Q329115...
start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q329170...
start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_EN.exe /Q /M /Z
ECHO.
ECHO Installing Q329390...
start /wait %systemdrive%\install\Hotfixes\Q329390_WXP.exe /Q /M /Z
ECHO.
ECHO Installing Q329441...
start /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_en.exe /Q /M /Z
ECHO.
ECHO Installing Q329834...
start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_en.exe /Q /M /Z
ECHO.
ECHO Installing Q331953...
start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_en.exe /Q /M /Z
ECHO.
ECHO Installing Q810272...
start /wait %systemdrive%\install\Hotfixes\Q810272_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q810577...
start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_en.exe /Q /M /Z
ECHO.
ECHO Installing Q810833...
start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q811493...
start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q811630...
start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_EN.exe /Q /M /Z
ECHO.
ECHO Installing Q814033...
start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q814995...
start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q815021...
start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q817287...
start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:N
ECHO.
ECHO Installing Q817606...
start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q819696...
start /wait %systemdrive%\install\Hotfixes\Q819696_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB817787...
start /wait %systemdrive%\install\Hotfixes\WindowsMedia8-KB817787-x86-ENU.exe /Q:A /R:N
ECHO.
ECHO Installing KB819639...
start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:N
ECHO.
ECHO Installing KB282010...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB282010-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB817778...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB818043...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB818043-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB820291...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB820291-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB821557...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB823559...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing KB823980...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /Z
ECHO.
ECHO Installing Q817606...
start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO Installing Adobe Reader 6
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdobeReader6\AR6.msi /QB
ECHO.
ECHO Installing Lavasoft Ad-Aware 6 Build 181
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdAware\aaw6181.exe /s
ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install
RD /S /Q %systemdrive%\Drivers
ECHO.
ECHO Restarting the PC in 1 minute...
psshutdown.exe -r -t 60 -f -m "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"
ECHO.
EXIT

Too many hotfixes. I'll install a fresh copy of xp pro on another comp and see which I don't need.

And

RegTweaks.reg
Windows Registry Editor Version 5.00

;Disable Windows Picture and Fax Viewer
[-HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]

;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

;Disable the Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

;Disables Error Reporting, but notifies when errors occur
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000

;Disable Imapi CD-Burning Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService]
"Start"=dword:00000004

;Disable Messenger Service (to block spam. Does not affect MSN or Windows Messenger)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

;Disable Remote Registry Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004

;Removes Language Bar
[-HKEY_CLASSES_ROOT\CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}]
@="Language bar"
"MenuTextPUI"="@%SystemRoot%\System32\msutb.dll,-325"

;Max your Internet Explorer's simultaneous downloads to 10 (default was 2)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a

;Change MenuShowDelay (Start Menu load speed)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="0"

;Remove Shortcut Arrows
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-

;Disables Windows Tour bubble popup
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

;NoLowDiskSpaceChecks won't check if you are low on diskspace or pop-up a balloon telling you.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001

;NoRecentDocsmenu removes the recent documents from the start menu.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsMenu"=dword:00000001

;Removes MSN v6 from startup
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MsnMsgr"=-

;RAM usage tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001
"IoPageLockLimit"=dword:1bf00000
"SecondLevelDataCache"=dword:00000100

;Prefetcher tweak(faster booting)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000003

;Speed up NTFS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisable8dot3NameCreation"=dword:00000001
"Win31FileSystem"=dword:00000000
"Win95TruncatedExtensions"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001

;Disable QoS
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"NonBestEffortLimit"=dword:00000000

;Speed up shutdown
[HKEY_CURRENT_USER\Control Panel\Desktop]
"HungAppTimeout"="5000"
"WaitToKillAppTimeout"="4000"

;Speed up shutdown
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="2000"

;Disable Remote Assistance
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000001
"fAllowToGetHelp"=dword:00000000

;Disable Autoupdates
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001

;Disable Autoupdates
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
"AUOptions"=dword:00000001
"AUState"=dword:00000007

Anyone suggest any other registry tweaks? (please include code as well to enter into the file)

Daniel

Link to comment
Share on other sites


Oh and my winnt.sif

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=No
UnnattendSwitch="No"
WaitForReboot="No"
   

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=225
OemSkipWelcome=1

[UserData]
ProductKey=xxx
FullName="Daniel"
OrgName="Home"
ComputerName=Daniel

[Display]
BitsPerPel=16
Xresolution=1024
YResolution=768
Vrefresh=75

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000c09
UserLocale=00000c09
InputLocale=0c09:00000409

[FavoritesEx]
Title1="Google.url"
URL1="http://www.google.com.au/"

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=http://www.google.com.au/
Search_Page=http://www.google.com.au/

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1

[Identification]
JoinWorkgroup=HOME

[Networking]
InstallDefaultComponents=Yes

[Components]
msmsgs=off
msnexplr=off
freecell=off
hearts=off
minesweeper=off
pinball=off
solitaire=off
spider=off
zonegames=off
autoupdate=off
deskpaper=off
dialer=off
fax=off
mousepoint=off
WMAAccess=off

[Shell]
DefaultThemesOff=Yes

[TerminalServices]
AllowConnections=0

[GuiRunOnce]
%systemdrive%\install\batch.cmd

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...