Caycep Posted November 29, 2004 Posted November 29, 2004 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?ThanksCayce
rdalling Posted November 29, 2004 Posted November 29, 2004 Please post your config files so we can analyze...
Caycep Posted November 29, 2004 Author Posted November 29, 2004 My runonceex.cmd code is as follows:cmdow @ /HID@echo offIF 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\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /fREG ADD %KEY%\053 /V 1 /D "%CDROM%\Software\NetFramework\netfxsp1.exe" /fREG ADD %KEY%\030 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%CDROM%\Software\cleanup.cmd" /fEXITAnd my cleanup.cmd is:cmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteEXITThanks
rdalling Posted November 29, 2004 Posted November 29, 2004 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
Caycep Posted November 29, 2004 Author Posted November 29, 2004 I don't have an unattended.txt file (should I?) but here are the others: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
Caycep Posted November 29, 2004 Author Posted November 29, 2004 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
rdalling Posted November 29, 2004 Posted November 29, 2004 The only thing that jumps out at me is your sysprep.inf calls your cmdlines.txt rather than you winnt.sif[Unattended] InstallFilesPath=C:\sysprep\i386maybe move it to your winnt.sifR
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