Tbone2 Posted December 25, 2003 Share Posted December 25, 2003 Mine works great with mine unattended cd. Loading from cmd file...the reason I think it works is because quick lauch folder is not made till you turn on the feature ...I bypass this so I can customize the .lnk file to open the way I like.first I run the cmd from RunOnceEx here is all the scripting:RunOnceEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\001 /V 1 /D "REGEDIT /S %systemdrive%\install\registry.reg" /fREG ADD %KEY%\005 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITCMDLINES.TXT[COMMANDS] "REGEDIT /S .\restoff.reg""RunOnceEx.cmd"Both of them are in the $OEM$ foldercleanup.cmdCLS@echo offECHO.ECHO Ejecting Windows CD...cscript %systemdrive%\install\cd_eject.vbsECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.ECHO Removing Wallpapers and Screensavers...DEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\Web\Wallpaper\*.bmp"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"ECHO.ECHO Removing useless shortcuts...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\Start Menu\Programs\Windows Journal Viewer.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Windows Messenger.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Windows Movie Maker.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Accessories\System Tools\Disk Cleanup.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Remote Assistance.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Media Player.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Windows Media Player.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Accessories\Windows Movie Maker.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Accessories\System Tools\Backup.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Accessories\System Tools\System Restore.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Accessories\Tour Windows XP.lnk"ECHO.ECHO Making Quick Launch Directory...MKDIR "%systemdrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"ECHO.ECHO Copying Windows Explorer link...COPY "%systemdrive%\install\*.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu"ECHO.ECHO Copying Windows Explorer link...COPY "%systemdrive%\install\*.lnk" "\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"ECHO.ECHO Remove useless folders from Start Menu...rd /s /q "%USERPROFILE%\Start Menu\Programs\Accessories\Accessibility"rd /s /q "%USERPROFILE%\Start Menu\Programs\Accessories\Communications"rd /s /q "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Accessibility"rd /s /q "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Communications"rd /s /q "%systemdrive%\Install"ECHO.EXITis in the $OEM/$1/install folderalong with the .lnk files I want to show. This works everytime.Also this was with techtype's way of adding hotfixes (UpdateXP20) works great...thanks techtype.and I have use the same way with unattended sp2 beta split streamed.It is a very customized cd...and the tweaks are many...not going to list them here. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now