I've given up on trying to run sysprep during the unattended install but I have another small problem.
My unattended install works fine, everything's working great BUT when I eventually run sysprep (on it's own after windows update or whenever) I have a loop of the unattended install programs running and installing again.
Is there a way to stop this from happening? Is it in the runonce area of the registry? If so, how to I delete that key and add it back?
Thanks
Cayce
Page 1 of 1
Looping after unattended install
#2
Posted 29 November 2004 - 08:20 AM
Please post your config files so we can analyze...
#3
Posted 29 November 2004 - 09:45 AM
My runonceex.cmd code is as follows:
And my cleanup.cmd is:
Thanks
cmdow @ /HID @echo off IF EXIST D:\CD.txt set CDROM=D: IF EXIST E:\CD.txt set CDROM=E: IF EXIST F:\CD.txt set CDROM=F: IF EXIST G:\CD.txt set CDROM=G: IF EXIST H:\CD.txt set CDROM=H: IF EXIST I:\CD.txt set CDROM=I: IF EXIST J:\CD.txt set CDROM=J: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /f REG ADD %KEY%\053 /V 1 /D "%CDROM%\Software\NetFramework\netfxsp1.exe" /f REG ADD %KEY%\030 /VE /D "Windows Media Player 10" /f REG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f REG ADD %KEY%\085 /V 1 /D "%CDROM%\Software\cleanup.cmd" /f EXIT
And my cleanup.cmd is:
cmdow @ /HID shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..." net user aspnet /delete EXIT
Thanks
#4
Posted 29 November 2004 - 12:44 PM
I dont see anything in your runonceex or your clean up cmd.
Can you post your sysprep.inf and your unattended.txt and cmdlines.txt?
R
Can you post your sysprep.inf and your unattended.txt and cmdlines.txt?
R
#5
Posted 29 November 2004 - 01:01 PM
I don't have an unattended.txt file (should I?) but here are the others:
cmdlines.txt:
And sysprep.inf: (I'm unsure if this is right)
cmdlines.txt:
[COMMANDS] "RunOnceEx.cmd"
And sysprep.inf: (I'm unsure if this is right)
;SetupMgrTag [Unattended] InstallFilesPath=C:\sysprep\i386 [GuiUnattended] EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 [UserData] FullName="" OrgName="" ComputerName=* [TapiLocation] CountryCode=107 AreaCode=905 [SetupMgr] DistFolder=C:\sysprep\i386 DistShare=windist [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes
#7
Posted 29 November 2004 - 02:50 PM
D'oh, sorry about that:
[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemPreinstall=Yes UnattendSwitch="yes" OemSkipEula=Yes OemPreinstall=No Repartition=YES FileSystem=* TargetPath=\WINDOWS [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1 [UserData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="User" OrgName="" ComputerName=* [TapiLocation] CountryCode=107 [RegionalSettings] LanguageGroup=1 SystemLocale=00001009 UserLocale=00001009 InputLocale=1009:00000409 [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes [Data] AutoPartition=0
#8
Posted 29 November 2004 - 04:01 PM
The only thing that jumps out at me is your sysprep.inf calls your cmdlines.txt rather than you winnt.sif
maybe move it to your winnt.sif
R
[Unattended] InstallFilesPath=C:\sysprep\i386
maybe move it to your winnt.sif
R
- ← How to: Ctrl+ALT+DEL Shutdown Options
- Unattended Windows 2000/XP/2003
- Install with switches from HTML →
Share this topic:
Page 1 of 1



Help
Back to top









