p

.

 

Set Homepage | Bookmark | Print

I am Online

 

Creating yor own Unattended Windows XP CD

Introduction

     After years of experience reinstalling Windows on my computer because of viruses, irremovable spy-ware, and unknown unused files taking up space on my hard drive, I decided to make my own personal Windows XP unattended reinstall CD. This I would consider to be my semi-annual computer cleansing, making my computer run fast, as to not having any background programs running I did not know about.
     Traditionally, I would use the original Windows XP CD that I purchased, thus consuming precious hours and many interactive steps to:

1) find out what hardware drivers I would need and wait for them to download
2) save them to a CD
3) reinstall windows (including making choices on the right system settings)
4) reinstall the drivers
5) connect to the internet (if the network driver installed correctly)
6) wait even longer to download service packs, security updates, and program updates
7) and finally to uninstall unwanted prepackaged software and customize my desktop.

     Now all I have to do is backup my personal settings, insert the CD, and watch it restore my computer. If you have purchased a computer from a company such as HP or Dell, you may notice it comes with a System Restore CD. This is what you make with an unattended CD, but the way you like it, without the garbage.

NEXT >


If you are proficient with making your own unattended Windows XP CD, here is a quick list of all of the downloads:

01 - KB835935 : WindowsXP-KB835935-SP2-ENU.exe - Windows XP Service Pack 2 (XPSP2.exe)
02 - KB838080 : WindowsXP-KB838080-SP2-DeployTools-ENU.cab - Windows XP SP 2 Deployment Tools (zipped)

04 - KB867282.exe /q /n /z : IE6.0sp1-KB867282-Windows-2000-XP-x86-ENU.exe - Cumulative Security Updte IE6SP1
06 - KB873333.exe /q /n /z : WindowsXP-KB873333-x86-ENU.exe - Security Update
07 - KB873339.exe /q /n /z : WindowsXP-KB873339-x86-ENU.exe - Security Update
08 - KB885250.exe /q /n /z : WindowsXP-KB885250-x86-ENU.exe - Security Update
09 - KB885835.exe /q /n /z : WindowsXP-KB885835-x86-ENU.exe - Security Update
10 - KB885836.exe /q /n /z : Windows2000-KB885836-x86-ENU.EXE - Security Update
11 - KB886185.exe /q /n /z : WindowsXP-KB886185-x86-enu.exe - Critical Update
12 - KB887472.exe /q /n /z : WindowsXP-KB888113-x86-ENU.exe - Security Update for Windows Messenger
13 - KB887742.exe /q /n /z : WindowsXP-KB887742-x86-ENU.exe - Update
14 - KB887797.exe /q /n /z :  WindowsXP-KB887797-x86-enu.exe - Cumulative Update for Outlook Express 6 SP 1
15 - KB888113.exe /q /n /z : WindowsXP-KB888113-x86-ENU.exe - Security Update
16 - KB888302.exe /q /n /z : WindowsXP-KB888302-x86-ENU.exe - Security Update
17 - KB890047.exe /q /n /z : WindowsXP-KB890047-X86-ENU.exe - Security Update
18 - KB890175.exe /q /n /z : WindowsXP-KB890175-x86-ENU.exe - Security Update
19 - KB890830.exe /q : Windows-KB890830-V1.2-ENU.exe - Microsoft Windows Malicious Software Removal Tool
20 - KB891781.exe /q /n /z : WindowsXP-KB891781-x86-ENU.exe - Security Update
03 - KB831240.exe /q /n /z : HMTCDWizard_enu.exe - Update for WinXP : HighMAT Support in CD Writing Wizard
05 - KB867460.exe /q /n /z : NDP1.1sp1-KB867460-X86.exe - Microsoft .NET Framework 1.1 Service Pack 1
21 - misc - wmcsetup.exe - Update for Windows Media Connect
22 - misc - MP10Setup.exe - Windows Media Player 10
23 - misc - setup.exe - Microsoft Windows Journal Viewer 1.5
24 - misc - qchain.exe - Chain Multiple Hot-fixes

25 - Microsoft .NET Framework 1.0 Service Pack 3 : NDP1.0sp3-KB867461-X86-Enu.exe -


Here are the edited files in order and their locations, as per my setup.  You may edit to match your needs. Items highlighted GREEN have been ADDED, items highlighted YELLOW have been EDITED from origional context.

C:\XPCD\I386\DOSNET.inf

[Version]
signature="$Windows NT$"
DriverVer=07/01/2001,5.1.2600.2180

[Directories]
d1 = \I386
d2 = \cmpnents\tabletpc\I386
d3 = \cmpnents\mediactr\I386
d4 = \cmpnents\netfx\I386

[Miscellaneous]
ProductType = 0

MinimumMemory = 67108864

DestinationPlatform = i386

ServicePack = 2.0

[UnsupportedArchitectures]
halcbus.dll = %cbus2_mp%
halcbusm.dll = %cbusmc_mp%
halmca.dll = %mca_up%
halmpsm.dll = %mps_mca_mp%
halncr.dll = %ncr_mp%
missprocfeat = %missing_proc_feat%

[OptionalSrcDirs]
SVCPACK

---the rest of the file is unedited---
==================================================================================================
C:\XPCD\I386\SVCPACK.inf

;Windows XP
[Version]
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\SVCPACK"

[ProductCatalogsToInstall]

[SetupHotfixesToRun]
MP10Setup.exe
KB867282.exe /q /n /z
KB873333.exe /q /n /z
KB873339.exe /q /n /z
KB885250.exe /q /n /z
KB885835.exe /q /n /z
KB885836.exe /q /n /z
KB886185.exe /q /n /z
KB887472.exe /q /n /z
KB887742.exe /q /n /z
KB887797.exe /q /n /z
KB888113.exe /q /n /z
KB888302.exe /q /n /z
KB890047.exe /q /n /z
KB890175.exe /q /n /z
KB890830.exe /q
KB891781.exe /q /n /z
wmcsetup.exe
qchain.exe

---eof---
==================================================================================================
C:\XPCD\I386\WINNT.sif

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

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
UnattendSwitch="yes"
TargetPath=\WINDOWS

OemPnPDriversPath="Drivers\ATI\2KXP_INF;Drivers\NVIDIA;Drivers\NFORCE\AUDIODRV;Drivers\NFORCE\DISPLAY;
Drivers\NFORCE\ETHERNET;Drivers\NFORCE\DISPLAY;Drivers\NFORCE\GART;Drivers\NFORCE\IDE;Drivers\NFORCE\MEMCTL;
Drivers\NFORCE\SMBUS;Drivers\NFORCE\USB"

DriverSigningPolicy=Ignore

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

[UserData]
ProductKey=XHGBK-6GW3M-QJPRV-Y4GKQ-K2GC7
FullName="User"
OrgName="User"
ComputerName=Computer


[TapiLocation]
CountryCode=31

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[IEPopupBlocker]
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes

[URL]
Home_Page=http://butzbach.net

[Components]
msmsgs=off
msnexplr=off



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

---eof---
==================================================================================================
C:\XPCD\$OEM$\$1\install\start.cmd

CLS
@echo off
TITLE Unattended Installation

ECHO.
ECHO ///////////////////////////////////////////////////////////////
ECHO Custom Windows XP Professional Unattended (US Version)
ECHO Service Pack 2 Integrated with Common Programs
ECHO ///////////////////////////////////////////////////////////////

ECHO.
ECHO ///////////////////////////////////////////////////////////////
ECHO Over the next few minutes you will see automated installations
ECHO of various Applications, Windows Updates, and Registry Tweaks.
ECHO The computer will restart once the whole process has finished !
ECHO ///////////////////////////////////////////////////////////////

ECHO.
ECHO Applying Custom Registry Tweaks...
ECHO Please wait...
REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.
ECHO ////////////////////////////////////////
ECHO Starting Installation of Applications :)
ECHO ////////////////////////////////////////

ECHO.
ECHO Installing 7Zip 3.2.3
ECHO Please wait...
start /wait %systemdrive%\install\Applications\7zip\setup.exe /q /t:%systemdrive%\install\Applications\7zip

ECHO.
ECHO Registering ACDSee 6.0.2 PowerPack Suite Retail
ECHO Please wait...
REGEDIT /S %systemdrive%\install\Applications\ACDSee\register.reg
ECHO.
ECHO Installing ACDSee 6.0.2 PowerPack Suite Retail
ECHO Please wait...
start /wait %systemdrive%\install\Applications\ACDSee\ACDSee.msi REBOOT=REALLYSUPPRESS /qb-

ECHO.
ECHO Installing Adobe Acrobat 6.0 Professional
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Acrobat\setup /s /v"/qb!"

ECHO.
ECHO Installing AudioGrabber
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Audiograbber\agsetup.exe /s
copy %systemdrive%\install\Applications\Audiograbber\lame_enc.dll c:\audiograbber

ECHO.
ECHO Installing CloneCD 5.0.4.2
ECHO Please wait...
start /wait %systemdrive%\install\Applications\CloneCD\SetupCloneCD5042.exe /S
copy "%systemdrive%\Program Files\SlySoft\CloneCD\CloneCD.exe" "%systemdrive%\Program Files\SlySoft\CloneCD\CloneCD.bak" /Y
copy %systemdrive%\install\Applications\CloneCD\CloneCD.exe "%systemdrive%\Program Files\SlySoft\CloneCD\CloneCD.exe" /Y
regedit /s %systemroot%\install\Applications\CloneCD\Registration.reg

ECHO.
ECHO Installing Daemon Tools
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Daemon346\daemon.msi" /qb /passive /norestart

ECHO.
ECHO Installing DVD Shrink
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DVDShrink\dvdshrink32setup.exe /silent

ECHO.
ECHO Installing Firefox 1.0PR - The Browser Reloaded
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Firefox\FireFox-0.10.1PR-enUS-1.msi /qb! REBOOT=REALLYSUPPRESS

ECHO.
ECHO Installing FlashFXP 3.0
ECHO Please wait...
start /wait %systemdrive%\install\Applications\FlashFXP\FlashFXP_30_Setup.exe /silent
copy %systemdrive%\install\Applications\FlashFXP\Crack\*.* "%systemdrive%\Program Files\FlashFXP\*.*" /Y

ECHO.
ECHO Installing Symantec Ghost 9.0
ECHO Please wait...
start /wait "%systemdrive%\install\Applications\Ghost\NORTON GHOST 9.0.MSI" /qb! REBOOT=REALLYSUPPRESS

ECHO.
ECHO Installing ISOBuster 1.6.0.19
ECHO Please wait...
start /wait %systemdrive%\install\Applications\ISOBuster\Setup.exe /VERYSILENT /SP-
ECHO.
ECHO Killing ISOBuster.exe Process
taskkill.exe /F /IM isobuster.exe

ECHO.
ECHO Installing Microsoft JavaVM - Build 3809
ECHO Please wait...
start /wait %systemdrive%\install\Applications\JavaVM\MSJavx86_3809full.exe /Q:A /R:N
ECHO.
ECHO Updating Microsoft JavaVM to 3810
ECHO Please wait...
start /wait %systemdrive%\install\Applications\JavaVM\MSJavx86_3810update.exe /Q:A /R:N

ECHO.
ECHO Registering Nero Burning ROM 6.3.1.17 Ultra Edition
ECHO Please wait...
REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg
ECHO.
ECHO Installing Nero Burning ROM 6.3.1.17 Ultra Edition
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Nero\nero63117.exe /silent /noreboot

ECHO.
ECHO Installing MP3 Easy
ECHO Please wait...
start /wait %systemdrive%\install\Applications\MP3Easy\Mp3easy v1.2.exe /qb!

ECHO.
ECHO Installing Microsoft .NET Framework 2.0 Beta
ECHO Please wait...
start /wait %systemdrive%\install\Applications\NetFranework\install.exe /qb!

ECHO.
ECHO Installing Microsoft Office 2003 Professional
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb!

ECHO.
ECHO Installing Photoshop 8 CS
ECHO Please wait...
start /wait %systemdrive%\install\Applications\PhotoshopCS\Photoshop\setup.exe /S /sms /f2c:\Photoshop.log
ECHO.
ECHO Copying Photoshop 8 CS License files
ECHO Please wait...
start /wait %systemdrive%\windows\system32\xcopy.exe /Y /I %systemdrive%\install\Applications\PhotoshopCS\crack %systemdrive%"\program files\adobe\Photoshop CS"\

ECHO.
ECHO Installing Symantec Anti-Virus Corporate 9.01.1100
ECHO Please wait...
start /wait %systemdrive%\install\Applications\sav\SymantecAntivirus.msi REBOOT=REALLYSUPPRESS RUNLIVEUPDATE=0 /qb!
start /wait %systemdrive%\install\Applications\sav\20041029-037-i32.exe /qb
sleep 60
taskkill /F /IM luall.exe

ECHO.
ECHO Installing SecureCRT 4.09
ECHO Please wait...
start /wait %systemdrive%\install\Applications\SecureCRT\scrt409.exe /s
copy "%systemdrive%\Program Files\SecureCRT\SecureCRT.exe" "%systemdrive%\Program Files\SecureCRT\SecureCRT.bak" /Y
copy %systemdrive%\install\Applications\SecureCRT\SecureCRT.exe "%systemdrive%\Program Files\SecureCRT\SecureCRT.exe" /Y

ECHO.
ECHO Installing Spybot SD 1.3
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Spybot\setup.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE

ECHO.
ECHO Installing Textpad 4.7.3
ECHO Please wait...
"%systemdrive%\install\Applications\Textpad\TextPad 4.7.msi" transforms="%systemdrive\install\Applications\Textpad\Silent.mst" /qb
sleep 90

ECHO.
ECHO Installing VMWare 4.5.2
ECHO Please wait...
start /wait %systemdrive%\install\Applications\VMware\VMware-workstation-4.5.2-8848.exe /v"SERIALNUMBER=LAMKX-A850V-F20DG-4YWQQ DISBALE_AUTORUN=0 /qb!"

ECHO.
ECHO Installing Winamp 5.03c
ECHO Please wait...
echo [WinampReg]>%systemroot%\winamp.ini
echo IsFirstInst=>>%systemroot%\winamp.ini
echo NeedReg=>>%systemroot%\winamp.ini
CD %systemdrive%\install\Applications\Winamp\
Start %systemdrive%\install\Applications\Winamp\winamp.js
sleep 60
taskkill /F /IM WINAMP.EXE
copy %systemdrive%\install\Applications\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"
ECHO.
ECHO Registering Winamp 5.03c Pro Version
REG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regname /d Ultatryon /f
REG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regkey /d Y28Q7-S029C-3AT3E-DTM20 /f

ECHO.
ECHO Installing WinRAR 3.30 Corporate PLUS
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WinRAR\wrar330-Plus.exe /s

ECHO.
ECHO Remove MSN Messenger
start /wait %systemdrive%\windows\system32\RunDll32 %systemdrive%\windows\system32\advpack.dll,LaunchINFSection %windir%\inf\msmsgs.inf,BLC.Remove

ECHO.
ECHO ////////////////////////////////////////
ECHO Registering Codecs :)
ECHO ////////////////////////////////////////

rem QuickTime settings
md "%appdata%\QuickTime"

regsvr32 /s %systemroot%\system32\QTPlugin.ocx
regsvr32 /s %systemroot%\system32\QuickTime.ax
regsvr32 /s %systemroot%\system32\QuickTimeCheck.ocx

REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\ACTLComponent.qtx" /d "%systemroot%\system32\QuickTime\ACTLComponent.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\BeHereiVideo.qtx" /d "%systemroot%\system32\QuickTime\BeHereiVideo.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\IPIXSupport.qtx" /d "%systemroot%\system32\QuickTime\IPIXSupport.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\MicrocosmDecode.qtx" /d "%systemroot%\system32\QuickTime\MicrocosmDecode.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\On2_VP3.qtx" /d "%systemroot%\system32\QuickTime\On2_VP3.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QTPlugin.ocx" /d "%systemroot%\system32\QTPlugin.ocx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QTPulse.qtx" /d "%systemroot%\system32\QuickTime\QTPulse.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QuickTime.qts" /d "%systemroot%\system32\QuickTime.qts" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QuickTimeAXEL.qtx" /d "%systemroot%\system32\QuickTime\QuickTimeAXEL.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QuickTimeCheck.OCX" /d "%systemroot%\system32\QuickTimeCheck.OCX" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QuickTimeVR.qtx" /d "%systemroot%\system32\QuickTimeVR.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QuickTimeWebHelper.qtx" /d "%systemroot%\system32\QuickTime\QuickTimeWebHelper.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\ZoomifyHandler.qtx" /d "%systemroot%\system32\QuickTime\ZoomifyHandler.qtx" /v "Full Path" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\ZyGoVideo.qtx" /d "%systemroot%\system32\QuickTime\ZyGoVideo.qtx" /v "Full Path" /f

REG ADD "HKCR\movfile\DefaultIcon" /d "%systemroot%\system32\QuickTime\quicktime.ico" /ve /f
REG ADD "HKCR\qtfile\DefaultIcon" /d "%systemroot%\system32\QuickTime\quicktime.ico" /ve /f

REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\SystemPreferences" /d "%appdata%\QuickTime\\" /v "FolderPath" /f
REG ADD "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\SystemPreferences" /d "%appdata%\QuickTime\\" /v "LocalUserPreferences" /f

REM reg-file MUST be executed after registering ax/ocx files!
regedit /s %systemroot%\system32\quicktime.reg

REM RealMedia settings
REG ADD "HKCR\Software\RealNetworks\Gemini\0.1\Preferences\PluginFilePath" /d "%systemroot%\system32\RealMedia\RCAPlugins" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\CountryID" /d "32" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\DT_Codecs" /d "%systemroot%\system32\RealMedia\Codecs" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\DT_Common" /d "%systemroot%\system32\RealMedia\Common" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\DT_Objbrokr" /d "%systemroot%\system32\RealMedia\Common" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\DT_Plugins" /d "%systemroot%\system32\RealMedia\Plugins" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\DT_Update_OB" /d "%systemroot%\system32\RealMedia\Update_OB" /ve /f
REG ADD "HKCR\Software\RealNetworks\Preferences\PluginFilePath" /d "%systemroot%\system32\RealMedia\Rpplugins" /ve /f
REG ADD "HKCR\Software\RealNetworks\RealPlayer\6.0\Preferences\PluginFilePath" /d "%systemroot%\system32\RealMedia\Rpplugins" /ve /f
REG ADD "HKCR\Software\RealNetworks\RealPlayer\6.0\Preferences\MainApp" /d "%systemroot%\system32\RealMedia\realplayer.not.found" /ve /f
REG ADD "HKLM\SOFTWARE\MozillaPlugins\@real.com/nppl3260;version=6.0.11.2027" /d "%systemroot%\system32\RealMedia\real\browser\plugin\nppl3260.dll" /v "Path" /f
REG ADD "HKLM\SOFTWARE\MozillaPlugins\@real.com/nppl3260;version=6.0.11.2027" /d "%systemroot%\system32\RealMedia\real\browser\components\nppl3260.xpt" /v "XPTPath" /f
REG ADD "HKLM\SOFTWARE\MozillaPlugins\@real.com/nppl3260;version=6.0.11.2027\MimeTypes\audio/x-pn-realaudio-plugin" /d "%systemroot%\system32\RealMedia\real\browser\plugin\nprpjplug.dll" /v "Path" /f
REG ADD "HKLM\SOFTWARE\MozillaPlugins\@real.com/nsJSRealPlayerPlugin;version=" /d "%systemroot%\system32\RealMedia\real\browser\components\nsJSRealPlayerPlugin.xpt" /v "XPTPath" /f
REG ADD "HKCR\rpmfile\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\rmvbfile\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\RealPlayer.RAM.6\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\RealPlayer.RA.6\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\RealPlayer.RM.6\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\RealPlayer.RMVB.6\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\RealPlayer.RP.6\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\RealPlayer.RV.6\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\.ra\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\.ram\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\.rm\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\.rmm\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\.rmvb\DefaultIcon" /d "%systemroot%\System32\RealMedia\real.ico" /ve /f
REG ADD "HKCR\rtsp\DefaultIcon" /d "%systemroot%\System32\url.dll,0" /ve /f

regsvr32 /s %systemroot%\system32\RealMediaSplitter.ax
regsvr32 /s %systemroot%\system32\rmoc3260.dll
regsvr32 /s %systemroot%\System32\RealMedia\rpshell.dll

regedit /s %systemroot%\system32\realmedia.reg

REM the rest of the codecs
REG ADD "HKCR\Applications\gspot.exe\shell\open\command" /d "%systemroot%\System32\gspot.exe %%1" /ve /f
REG ADD "HKLM\SOFTWARE\Microsoft\WMV9_VCM" /d "%systemroot%\System32" /v "File Location" /f

regsvr32 /s %systemroot%\system32\ac3filter.ax
regsvr32 /s %systemroot%\system32\CLVSD.ax
regsvr32 /s %systemroot%\system32\divxdec.ax
regsvr32 /s %systemroot%\system32\mpeg2dmx.ax
regsvr32 /s %systemroot%\system32\mpgdec.ax
regsvr32 /s %systemroot%\system32\CoreVorbis.ax
regsvr32 /s %systemroot%\system32\iac25_32.ax
regsvr32 /s %systemroot%\system32\Ivfsrc.ax
regsvr32 /s %systemroot%\system32\vp6dec.ax
regsvr32 /s %systemroot%\system32\l3codecx.ax
regsvr32 /s %systemroot%\system32\ir41_32.ax
regsvr32 /s %systemroot%\system32\OggDS.dll
regsvr32 /s %systemroot%\system32\WMV8DMOD.DLL
regsvr32 /s %systemroot%\system32\wmvdmod.dll
regsvr32 /s %systemroot%\system32\wmsdmod.dll
regsvr32 /s %systemroot%\system32\wmadmod.dll
regsvr32 /s %systemroot%\system32\wmspdmod.dll
regsvr32 /s %systemroot%\system32\xvid.ax
regsvr32 /s %systemroot%\system32\VSFilter.dll

rem SET file associations
rem REG ADD "HKCR\RealPlayer.RA.6\shell\Play\command" /d ""%ProgramFiles%\zoomplayerpro\zplayer.exe" "%1"" /ve /f
rem REG ADD "HKCR\RealPlayer.RAM.6\shell\Play\command" /d ""%ProgramFiles%\zoomplayerpro\zplayer.exe" "%1"" /ve /f
rem REG ADD "HKCR\RealPlayer.RM.6\shell\Play\command" /d ""%ProgramFiles%\zoomplayerpro\zplayer.exe" "%1"" /ve /f
rem REG ADD "HKCR\RealPlayer.RV.6\shell\Play\command" /d ""%ProgramFiles%\zoomplayerpro\zplayer.exe" "%1"" /ve /f
rem REG ADD "HKCR\movfile\shell\Play\command" /d ""%ProgramFiles%\zoomplayerpro\zplayer.exe" "%1"" /ve /f
rem REG ADD "HKCR\qtfile\shell\Play\command" /d ""%ProgramFiles%\zoomplayerpro\zplayer.exe" "%1"" /ve /f

regedit /s %systemroot%\system32\codecreg.reg

ECHO.
ECHO Restarting the PC
shutdown.exe -r -f -t 300 -c "Windows XP will now restart in 5 minutes, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\Drivers
RD /S /Q %systemdrive%\install

ECHO.
ECHO Removing Useless Shortcuts...
ECHO Please wait...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Desktop\*.lnk"

EXIT

---eof---
==================================================================================================
C:\XPCD\$OEM$\cmdlines.txt

[COMMANDS]
"REGEDIT /S RegTweaks.reg"

---eof---
==================================================================================================
C:\XPCD\$OEM$\$1\install\RegTweaks.reg

Windows Registry Editor Version 5.00


;This will add "Services" to the right-click menu of "My Computer"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,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 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

;Adds search keywords to Internet Explorer (in this order: Microsoft Knowledge Base, Altavista, Google, MSN, FileMirrors)

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@="http://support.microsoft.com/?kbid=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\GGL]
@="http://www.google.com/search?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@="http://www.altavista.com/sites/search/web?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@="http://search.msn.com/results.asp?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\FM]
@="http://www.filemirrors.com/search.src?file=%s"

;Prevents Internet Explorer windows from being reused

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000

;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"="2"

;Remove Shared Documents from My Computer

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]

;Allow renaming of Recycle Bin

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:50,01,00,20
"CallForAttributes"=dword:00000000

;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

;Installs Royale Windows Theme

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes]
"Drop Shadow"="FALSE"
"Flat Menus"="FALSE"
"SetupVersion"="7"
"InstallTheme"="%ResourceDir%\\themes\\Royale.Theme"
"InstallVisualStyle"="%SystemRoot%\\Resources\\themes\\Royale\\Royale.msstyles"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DownloadSites]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DownloadSites\100]
"DisplayName"="@themeui.dll,-2015"
"URL"="http://go.microsoft.com/fwlink/?LinkId=488"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\VisualStyleDirs]
"1"=hex(2):25,00,52,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,44,00,69,00,\
72,00,25,00,5c,00,54,00,68,00,65,00,6d,00,65,00,73,00,00,00

;Sets Google as standard search engine

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Use Search Asst"="no"
"Search Page"="http://www.google.com"
"Search Bar"="http://www.google.com/ie"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchURL]
""="http://www.google.com/keyword/%s"
"provider"="gogl"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Search]
"SearchAssistant"="http://www.google.com/ie"

;This will add "Powershell XP" to the right-click menu of "My Computer"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Calculator]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Calculator\command]
@="calc"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\CleanDrive]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\CleanDrive\command]
@="cleanmgr"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command]
@="control"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Dos Prompt]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Dos Prompt\command]
@="cmd.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Edit Registry]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Edit Registry\command]
@="regedit.exe"


[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Logoff]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Logoff\command]
@="shutdown -l -f -t 5"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Reboot]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Reboot\command]
@="shutdown -r -f -t 5"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\System Restore]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\System Restore\command]
@="\\windows\\system32\\restore\\rstrui.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Quit Windows]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Quit Windows\command]
@="shutdown -s -f -t 5"

;Disable Firewall Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirewallDisableNotify"=dword:00000001

;Disable Automatic Updates Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UpdatesDisableNotify"=dword:00000001

;Override Windows Firewall
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirewallOverride"=dword:00000001

;Disable Security Center
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc]
"Start"=dword:00000004

;Disables Preview of Movie file formats (allowing you to move/rename/delete without errors)
[-HKEY_CLASSES_ROOT\.avi\ShellEx]
[-HKEY_CLASSES_ROOT\.mpg\ShellEx]
[-HKEY_CLASSES_ROOT\.mpe\ShellEx]
[-HKEY_CLASSES_ROOT\.mpeg\ShellEx]

;Removes Sign up with Passport Wizard when trying to sign in MSN Messenger
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Passport]
"RegistrationCompleted"=dword:00000001

;Disable Universal Plug'n'Play Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upnphost]
"Start"=dword:00000004

;Disable SSDP Discovery Service (Universal Plug'n'Play)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSDPSRV]
"Start"=dword:00000004

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

;Do not use Simple File Sharing
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"forceguest"=dword:00000000

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

;Hide MSN Messenger
[HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express]
"Hide Messenger"="2"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\Messenger]
"Installed"="0"


;EOF

 

---eof---==================================================================================================
C:\XPCD\$OEM$\RunOnceEx.cmd

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\apps\AdobeReader6\AR6.msi /qn" /f

REG ADD %KEY%\015 /VE /D "Alcohol 120" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\apps\alcohol\setup.exe /qn" /f
REG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\apps\alcohol\register.reg" /f

REG ADD %KEY%\025 /VE /D "Diskeeper 8" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\apps\DiskeeperPro_8.0.459.exe /s /v/qn" /f

REG ADD %KEY%\030 /VE /D "DU Meter 3" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\apps\dumeter3.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\035 /VE /D "Flashget 1.4" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\apps\flashget\fgf140.exe /S" /f
REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\apps\flashget\register.reg" /f

REG ADD %KEY%\037 /VE /D "IsoBuster 1.5" /f
REG ADD %KEY%\037 /V 1 /D "%systemdrive%\apps\IsoBuster1.5.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\037 /V 2 /D "taskkill /F /IM isobuster.exe" /f

REG ADD %KEY%\040 /VE /D "Kerio Personal Firewall 2.1.5" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\apps\KPF\Setup.exe -s" /f

REG ADD %KEY%\047 /VE /D "MSN Messenger 6.1" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\apps\MSN_Messenger_6.1.0202.msi /qn" /f

REG ADD %KEY%\050 /VE /D "Nero Burning ROM 5.5" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\apps\nero\register.reg" /f
REG ADD %KEY%\050 /V 2 /D "%systemdrive%\apps\Nero\Nero551054.exe /silent /noreboot" /f

REG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /f
REG ADD %KEY%\053 /V 1 /D "%systemdrive%\apps\dotnetfw.exe" /f

REG ADD %KEY%\055 /VE /D "TweakUI Powertoy" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\apps\Powertoys\TweakUI.msi /qn" /f

REG ADD %KEY%\060 /VE /D "Task Switcher Powertoy" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\apps\Powertoys\TaskswitchPowertoySetup.exe /s /v/qn" /f

REG ADD %KEY%\065 /VE /D "Sun Java 1.4.2" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\apps\SunJava\j2re-1_4_2_01-windows-i586.exe /s /v/qn" /f
REG ADD %KEY%\065 /V 2 /D "REGEDIT /S %systemdrive%\apps\SunJava\RemoveSunJavaUpdateCheck.reg" /f

REG ADD %KEY%\070 /VE /D "Symantec AV Corp 8.1.1" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\apps\SAVCorp8.1.1.314.exe /qn" /f

REG ADD %KEY%\075 /VE /D "WinRAR 3.20" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\apps\WinRAR320.exe /s" /f

REG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\apps\regtweaks.reg" /f

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /f

EXIT

---eof---==================================================================================================
C:\XPCD\$OEM$\cleanup.cmd

cmdow @ /HID
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"
RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"

DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"

DEL "%UserProfile%\Desktop\Flashget.lnk"
DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"
DEL "%AllUsersProfile%\Desktop\Alcohol 120%.lnk"

RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"
RD /S /Q %systemdrive%\drivers\
RD /S /Q %systemdrive%\apps\

EXIT

---eof---

 

UNATTENDER XPCD STEPS

Search | Webstats | Admin | Contact

 

Copyright 2008 Butzbach Networks