Hi, I finally decided to upgrade to Windows XP SP2 and transfer all my unatended scripts from SP1 to SP2. Everything works smoothly except the RunOnceEx.cmd. Its works fine in SP1. I even tried to run RunOnceEx.cmd on a SP2 machine, I get an error message "Error: Invalid Parameter". Has this being change in SP2? Any helps is really appreciated. Here is a copy of the RunOnceEx.cmd cmdow @ /HID @Echo Off SET PP=%systemdrive%\Install\Programs\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Programs" /f REM ------------------------------------------------------------------ REM InstallING WINDOW COMPONENTS REG ADD %KEY%\110 /VE /D ".NET Framework v1.1 SP1" /f REG ADD %KEY%\110 /V 1 /D "%systemdrive%\Install\Programs\netfx11sp1.exe" /f REG ADD %KEY%\120 /VE /D "Notepad2" /f REG ADD %KEY%\120 /V 1 /D "xcopy /y "%systemdrive%\Install\Programs\Notepad.exe" "%systemroot%" /f REG ADD %KEY%\120 /V 2 /D "xcopy /y "%systemdrive%\Install\Programs\Notepad.exe" "%systemroot%\system32" /f REG ADD %KEY%\120 /V 3 /D "REGEDIT /S %systemdrive%\Install\Programs\Notepad.reg" /f REG ADD %KEY%\125 /VE /D "Windows Media Player 10" /f REG ADD %KEY%\125 /V 1 /D "%systemdrive%\Install\Programs\MP10.cmd" /f REG ADD %KEY%\125 /V 2 /D "%systemdrive%\Install\Programs\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N\"" /f REG ADD %KEY%\125 /V 3 /D "REGEDIT /S %systemdrive%\Install\Programs\MP10Setup.reg" /f REM REG ADD %KEY%\140 /VE /D "Windows SP1 Hotfixes 2005.02" /f REM REG ADD %KEY%\140 /V 1 /D "%systemdrive%\Install\Scripts\Hotfixes_SP2.cmd" /f REM ------------------------------------------------------------------ REM APPLICATIONS REG ADD %KEY%\310 /VE /D "Acrobat Reader 7.03" /f REG ADD %KEY%\310 /V 1 /D "%systemdrive%\Install\Programs\acroread703.exe" /f REG ADD %KEY%\310 /V 2 /D "REGEDIT /S %systemdrive%\Install\Programs\Acrobat_Reader_7.0.reg" /f REM ------------------------------------------------------------------ REM IMPORTING REGISTRY TWEAKS REG ADD %KEY%\800 /VE /D "Importing Registry Tweaks" /f REG ADD %KEY%\800 /V 1 /D "REGEDIT /S %systemdrive%\Install\Scripts\T12.Tweaks_XP_SP2.reg" /f REM Disable search in zip files REM Disable show zip files as folders in Windows Explorer REG ADD %KEY%\810 /VE /D "Disable Zip Search and Display Feature" /f REG ADD %KEY%\810 /V 1 /D "regsvr32 /u /s %windir%\system32\zipfldr.dll" /f REG ADD %KEY%\810 /V 2 /D "regsvr32 /u /s %windir%\system32\cabview.dll" /f REM REG ADD %KEY%\820 /VE /D "Change display resolution" /f REM REG ADD %KEY%\820 /V 1 /D "1365VidChng.exe 1024x768x32@85 -q" /f REM ------------------------------------------------------------------ REM CLEANUP AND SHUTDOWN REG ADD %KEY%\900 /VE /D "CLEANUP AND SHUTDOWN" /f REG ADD %KEY%\900 /V 1 /D "%systemdrive%\Install\scripts\cleanup.cmd" /f REG ADD %KEY%\900 /V 2 /D "%systemdrive%\Install\scripts\shutdown.cmd" /f EXIT HERE IS A COPY OF WINNT.SIF ;Save this file to the I386 folder. ; ;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] AutoActivate=No ;CrashDumpSetting="0" ;DisableDynamicUpdates=Yes DriverSigningPolicy="Ignore" ;FileSystem=LeaveAlone ;Hibernation=No NoWaitAfterTextMode=1 NoWaitAfterGUIMode=1 OemSigningPolicy=Ignore OemSkipEula=Yes OemFilesPath="..\$OEM$" ;Location of $OEM$ folder OemPreinstall=Yes ;Checks if the cmdlines.txt file exist in the $OEM$ folder or not. ;OemPnPDriversPath="path1;path2;path3 ...etc." Repartition=No TargetPath=\WINDOWS UnattendMode=FullUnattended UnattendSwitch="Yes" ;Skip the Welcome Setup Screen WaitForReboot="No" [SystemFileProtection] SFCQuota=0 ;SFCDisable=2 [GuiUnattended] AdminPassword=* ;Default Adminstrator EncryptedAdminPassword=No;Default Adminstrator OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1 ;AutoLogon=No ;AutoLogonCount=1 ;ProfilesDir="%systemdrive%\Documents and Settings\" [UserData] ;ProductID=xxxx-xxxx-xxxx-xxxx-xxxxx FullName="Blue" OrgName="Home" ComputerName=BLUEE ;[Display] ;BitsPerPel=16 ;Xresolution=1024 ;YResolution=768 ;Vrefresh=70 ;[Regional Settings] ;LanguageGroup=15,7,8,10,1 [Identification] ;JoinWorkgroup="Home" [Networking] InstallDefaultComponents=Yes [TapiLocation] CountryCode=1 Dialing=Tone ;AreaCode=415 ;LongDistanceAccess="1" [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=about:blank [Components] ;MAIN Fax=off indexsrv_system=off msmsgs=off msnexplr=off ;ACCESSORIES Clipbook=off templates=off MousePoint=off ;GAMES Freecell=off Hearts=off Minesweeper=off Pinball=off Solitaire=off Spider=off ZoneGames=off ;OTHERS AutoUpdate=off Chat=off deskpaper=off Dialer=off FP_Extensions=off Fp_vdir_deploy=off HyperTrm=off media_clips=off OEAccess=off rec=off [Shell] DefaultStartPanelOff=No DefaultThemesOff=No ;CustomDefaultThemeFile="%systemroot%\Resources\Themes\Win2K Classic.Theme" [GuiRunOnce]