Jump to content

My CD not working?! :(


Recommended Posts

Hi everyone!

Got my XPCD finished and bootable and it installs windows xp pro sp1 (corporate) fine.

Settings are automatically setup etc.

But none of my applications/updates work eg DX9.0b

When WinXP is finished installing it comes up with an error message and I quote:

Windows cannot find 'C:\install\batch.cmd'. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click search.

All files such as hotfixes ARE copied to the HDD after formatting.

Daniel

(see below for my code sections)

Link to comment
Share on other sites


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 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 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 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 KB282010...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB282010-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 Q818529...
start /wait %systemdrive%\install\Hotfixes\q818529.exe /Q:A /R:N
ECHO.
ECHO Installing Q330994...
start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N
ECHO.
ECHO Insalling KB819639...
start /wait %systemdrive%\install\Hotfixes\WindowsMedia-KB819639-x86-ENU.exe /Q:A /R:N
ECHO.
ECHO Installing Q810565...
start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_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 Restarting the PC in 1 minute...
shutdown.exe -r -f -t 60 -c "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.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install
ECHO.
EXIT

Any uneccessary hotfixes?

Link to comment
Share on other sites

Registry tweaks

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

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000

Anything else I could add here?

Link to comment
Share on other sites

;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=****
FullName="****"
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/"
Title2="Windows Update.url"
URL2="http://www.windowsupdate.com/"

[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

Yep. You've done somethign wrong.

Most likley you've created it as batch.cmd.txt

What you need to do is open it with notepad and re-save it. (Save As)

This time, when you save it, where it says "Save as type: Text Documents (*.txt)" change that to "All Files (*.*)"

Once you've doen that, make the filename batch.cmd

Problem solved :)

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...