cmdow @ /dis @echo off TITLE Windows XP SP2 - Unattended Software Installs and System Cleanup setlocal set PATHTOFILE=%systemdrive%\Post-Installs CLS ECHO. ECHO At this time Microsoft .NET Framework 3.0 will be installed. ECHO System cleanup will also be performed. This could take 15 ECHO minutes or more. When this process has finished, this window ECHO will close and you may begin using Windows. ECHO. ECHO WARNING: Do NOT press any keys until this window has closed! ECHO. ECHO. ECHO Installing Microsoft .NET Framework 3.0 ECHO Please wait... start /wait %PATHTOFILE%\NETfrmwrk3.exe /q /norestart ECHO Done! ECHO. ECHO Installing Microsoft .NET Framework 1.1 Hotfix - (1 of 3) ECHO Please wait... start /wait %PATHTOFILE%\KB928366-NET1.1-Fix.exe /Q ECHO Done! ECHO. ECHO Installing Microsoft .NET Framework 2.0 Hotfix - (2 of 3) ECHO Please wait... start /wait %PATHTOFILE%\KB928365-NET2-Fix.exe /Q *** reboots after installing or near the end of installing this patch**** ECHO Done! ECHO. ECHO Installing Microsoft .NET Framework 3.0 Hotfix - (3 of 3) ECHO Please wait... start /wait %PATHTOFILE%\KB932471-NET3-Fix.exe /Q ECHO Done! ECHO. ECHO. ECHO Customizing the Start Menu DEL "%systemdrive%\Documents and Settings\Default User\Start Menu\Programs\Windows Media Player.lnk" DEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk" MOVE "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk" "%AllUsersProfile%\Start Menu" MOVE "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" "%AllUsersProfile%\Start Menu" MOVE "%systemdrive%\Version Installed*.lnk" "%AllUsersProfile%\Start Menu" ECHO Done! ECHO. ECHO Customizing Quick Launch Toolbar MOVE "%systemdrive%\Show Desktop.scf" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch" IF EXIST D:/ MOVE "%systemdrive%\Media Disk.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch" DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk" ECHO Done! ECHO. ECHO Importing Registry Tweaks REGEDIT /S "%PATHTOFILE%\FirstBoot_Tweaks.reg" ECHO Done! ECHO. ECHO Performing System Cleanup ATTRIB +H "%programfiles%\xerox" DEL "%UserProfile%\Software*.log" DEL "%WinDir%\system32\$winnt$.inf" RD /S /Q "%UserProfile%\Favorites\Links" RD /S /Q "%UserProfile%\Favorites\Microsoft Websites" RD /S /Q "%programfiles%\MSXML 4.0" RD /S /Q "%programfiles%\MSXML 6.0" RD /S /Q "%AllUsersProfile%\Documents\My Music\Sample Playlists" RD /S /Q "%AllUsersProfile%\Documents\My Music\Sync Playlists" RD /S /Q "%systemdrive%\Post-Installs" ECHO Done! DEL /F "%AllUsersProfile%\Start Menu\Programs\Startup\Cleanup.cmd"
thanks for the help
sorry i dont know how to put my code in a scroll bar...
This post has been edited by cumminbk: 15 September 2007 - 03:41 PM



Help

Back to top








