Jump to content

Recommended Posts

Posted

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.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%\001 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\001 /V 1 /D "REGEDIT /S %systemdrive%\install\registry.reg" /f
REG ADD %KEY%\005 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
EXIT

CMDLINES.TXT

[COMMANDS] 
"REGEDIT /S .\restoff.reg"
"RunOnceEx.cmd"

Both of them are in the $OEM$ folder

cleanup.cmd

CLS
@echo off
ECHO.
ECHO Ejecting Windows CD...
cscript %systemdrive%\install\cd_eject.vbs
ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\RegTweaks.reg
ECHO.
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.
EXIT

is in the $OEM/$1/install folder

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


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