1) Have Quick Launch enabled by default
2) Have the same quick launch icons (by default) for everyone
What I've done:
1) Created a $OEM$ folder in "E:\DeploymentShare\Operating Systems\Windows XP Professional SP3 (VL) 2" so it's on the same level as I386
2) Within this folder created CMDLINES.txt which simply contains "settings.bat" (including the speach marks)
3) I know for a fact settings.bat hasn't run as there are several registry tweaks in there that work fine when ran manually, so before checking if my tweaks are correct I'd like to get my batch file to actually run when it should
Here is settings.bat:
:: --------------------------------------------------------------- :: settings.bat [WDS Deployment; set Windows environment] :: ............................................................... :: ............................................................... :: --------------------------------------------------------------- @echo off :: :: -------------------------- :: Amend Registry Variables :: -------------------------- echo. echo Amending Registry reg import machine_profile.reg reg import user_profile.reg reg import default_profile.reg echo. echo Rgistry settings applied :: :: ------------------------------- :: Change Def Background :: ------------------------------- ren "C:\WINDOWS\Web\Wallpaper\bliss.bmp" "bliss_old.bmp" copy /y "bliss.bmp" "C:\WINDOWS\Web\Wallpaper" :: -------------------------------------------------------- :: copy shortcuts to desktop --> "%ALLUSERSPROFILE%\Desktop\" :: -------------------------------------------------------- :: -------------------------------------------------------------------------------------------------------------- :: copy shortcuts to quick launch --> "%ALLUSERSPROFILE%\Application Data::\Microsoft\Internet Explorer\Quick Launch" :: -------------------------------------------------------------------------------------------------------------- :: :: --------------------------- :: copy OFFICE 2003/2007/2010 shortcuts to current user profile :: ---------------------------- ::copy "Microsoft Office Excel 2003.lnk" "%USERPROFILE%\Desktop\" ::copy "Microsoft Office Excel 2007.lnk" "%USERPROFILE%\Desktop\" copy "Microsoft PowerPoint 2010.lnk" "%USERPROFILE%\Desktop\" copy "Microsoft Word 2010.lnk" "%USERPROFILE%\Desktop\" copy "Microsoft Excel 2010.lnk" "%USERPROFILE%\Desktop\" copy "Microsoft Outlook 2010.lnk" "%USERPROFILE%\Desktop\" copy "Microsoft PowerPoint 2010.lnk" "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch" copy "Microsoft Word 2010.lnk" "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch" copy "Microsoft Excel 2010.lnk" "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch" copy "Microsoft Outlook 2010.lnk" "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch" ::---------------------------- :: Copy to default profile ::---------------------------- ::copy "Microsoft PowerPoint 2010.lnk" "C:\Documents and Settings\Default User\Desktop" ::copy "Microsoft Word 2010.lnk" "C:\Documents and Settings\Default User\Desktop" ::copy "Microsoft Excel 2010.lnk" "C:\Documents and Settings\Default User\Desktop" ::copy "Microsoft Outlook 2010.lnk" "C:\Documents and Settings\Default User\Desktop" ::copy "Microsoft Excel 2010.lnk" "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" ::copy "Microsoft PowerPoint 2010.lnk" "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick ::Launch" ::copy "Microsoft Word 2010.lnk" "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" :: :: :: ------------------------------ :: copy SAP & Explorer shortcuts :: ------------------------------ copy "SAP Logon.lnk" "%USERPROFILE%\Desktop\" copy "Windows Explorer.lnk" "%USERPROFILE%\Desktop\" ::copy "SAP Logon.lnk" "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" ::copy "Windows Explorer.lnk" "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" :: :: :: ------------------------- :: copy Wallpaper :: ------------------------- copy "CORPUK_Desktop.bmp" "%WINDIR%\Web\Wallpaper\" :: :: :: ------------------------- :: copy Sysprep.inf (to fix new computer name after running sysprep) :: ------------------------- copy /Y "Sysprep.inf" "c:\Sysprep\" :: :: :: ------------------------- :: some shortcut cleaning up :: ------------------------- del "%USERPROFILE%\Desktop\Adobe Reader 9.lnk" del "%USERPROFILE%\Desktop\PDFCreator.lnk" del "%USERPROFILE%\Desktop\QuickTime Player.lnk" :: pause exit
Thanks!



Help
Back to top










