danielvh Posted August 20, 2003 Posted August 20, 2003 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.0bWhen 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)
danielvh Posted August 20, 2003 Author Posted August 20, 2003 CLS@echo offECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO hacks being implemented. The computer will restart automaticallyECHO 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"ECHOECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opkECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:NECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.ECHO Installing js56nen...start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:NECHO.ECHO Installing msjavwu...start /wait %systemdrive%\install\Hotfixes\msjavwu.exe /Q:A /R:NECHO.ECHO Installing Q323255...start /wait %systemdrive%\install\Hotfixes\Q323255_x86_EN.exe /Q /M /ZECHO.ECHO Installing Q327979...start /wait %systemdrive%\install\Hotfixes\Q327979_WXP_SP2_x86-ENU.exe /Q /M /ZECHO.ECHO Installing Q328310...start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Q329048...start /wait %systemdrive%\install\Hotfixes\Q329048_xp.exe /Q /M /ZECHO.ECHO Installing Q329115...start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q329170...start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO Installing Q329390...start /wait %systemdrive%\install\Hotfixes\Q329390_WXP.exe /Q /M /ZECHO.ECHO Installing Q329441...start /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Q329834...start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Q331953...start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_en.exe /Q /M /ZECHO.ECHO Installing Q810577...start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_en.exe /Q /M /ZECHO.ECHO Installing Q810833...start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q811493...start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q811630...start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO Installing Q814033...start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q814995...start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q815021...start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q817287...start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:NECHO.ECHO Installing Q817606...start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing KB282010...start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB282010-x86-ENU.exe /Q /M /ZECHO.ECHO Installing KB821557...start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /ZECHO.ECHO Installing KB823559...start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /ZECHO.ECHO Installing KB823980...start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Q818529...start /wait %systemdrive%\install\Hotfixes\q818529.exe /Q:A /R:NECHO.ECHO Installing Q330994...start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:NECHO.ECHO Insalling KB819639...start /wait %systemdrive%\install\Hotfixes\WindowsMedia-KB819639-x86-ENU.exe /Q:A /R:NECHO.ECHO Installing Q810565...start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing KB817778start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-ENU.exe /Q /M /ZECHO.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%\installECHO.EXITAny uneccessary hotfixes?
danielvh Posted August 20, 2003 Author Posted August 20, 2003 Registry tweaksWindows 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:00000000Anything else I could add here?
danielvh Posted August 20, 2003 Author Posted August 20, 2003 ;SetupMgrTag[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[Unattended]UnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesTargetPath=\WINDOWSRepartition=NoUnnattendSwitch="No"WaitForReboot="No" [GuiUnattended]AdminPassword=*EncryptedAdminPassword=NOOEMSkipRegional=1TimeZone=225OemSkipWelcome=1[UserData]ProductKey=****FullName="****"OrgName="Home"ComputerName=Daniel[Display]BitsPerPel=16Xresolution=1024YResolution=768Vrefresh=75[RegionalSettings]LanguageGroup=1SystemLocale=00000c09UserLocale=00000c09InputLocale=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=0Use_Same_Proxy=1[Identification]JoinWorkgroup=HOME[Networking]InstallDefaultComponents=Yes[Components]msmsgs=offmsnexplr=offfreecell=offhearts=offminesweeper=offpinball=offsolitaire=offspider=offzonegames=offautoupdate=offdeskpaper=offdialer=offfax=offmousepoint=offWMAAccess=off[Shell]DefaultThemesOff=Yes[TerminalServices]AllowConnections=0[GuiRunOnce]%systemdrive%\install\batch.cmd
b0r3d Posted August 20, 2003 Posted August 20, 2003 i think you need to check and make sure that you saved your batch file as "batch.cmd" not "batch.txt".That error is caused simply by a typo.
b0r3d Posted August 20, 2003 Posted August 20, 2003 So your batch file is successfully copied to c:\install ?
DaveXP Posted August 20, 2003 Posted August 20, 2003 make sure that its not batch.cmd.txt as this is a very easy mistake to make.
danielvh Posted August 20, 2003 Author Posted August 20, 2003 Yep successfully installed to C:\InstallAnd no it's named correctly: batch.cmdOne other thing the winnt.sif file as changed names just to winnt in the i386 file. Is this normal?Daniel
b0r3d Posted August 20, 2003 Posted August 20, 2003 if you manually execute the batch file after windows installs, do all the programs install correctly ?
danielvh Posted August 20, 2003 Author Posted August 20, 2003 double click it It's a notepad file.That will just open it and display the contents....or have I done something wrong in creating it???Daniel
b0r3d Posted August 20, 2003 Posted August 20, 2003 Yep. You've done somethign wrong.Most likley you've created it as batch.cmd.txtWhat 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.cmdProblem solved
webmedic Posted August 20, 2003 Posted August 20, 2003 if you manually execute the batch file after windows installs, do all the programs install correctly ?yes this is how I test without wasting more cd's
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now