October 20, 200421 yr Hi all, my first time posting here. was wondering if someone could help me out, i've been working with the unatended install all night, and im at the frustrated point with the batch i have setup for the applications i have. i followed the directions 100% as stated on the website.here is my config.I386 and $OEM$ in the same folder$1 under $OEM$Install under $1APplications under installetc...My batch file is located in $1 install folder and the winnt.sif file states:[GuiRunOnce] %systemdrive%\install\start.cmdbut nothing is copying over when i test the iso in Virtual PC. anyone can help me out id appreciate it!ThanksMike
October 21, 200421 yr Author OemPreInstall = Yes should be in your winnt.sif file it is, any other options?? wait, not it wasnt, me tries again
October 22, 200421 yr Author ok, i did this, now the unattended install doesnt work correctly. Now it ask me select "next" during the very first GUI windows XP setup piece.Then, it automates the rest of the process and once windows loads it does not run the setup.cmd file i designed automaticallyany thoughts?
October 22, 200421 yr Author UnattendedMode=FullUnattended in your [unattended] ?? yes, this is selected, here is my entire .sif file, any can help?;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=yes TargetPath=\WINDOWS UnattendSwitch="yes" FileSystem=* WaitForReboot="No" AutoActivate = Yes DriverSigningPolicy=Ignore[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=0[userData] ProductKey=xxxx-xxxx-xxxx-xxxx-xxxx FullName="Mike" OrgName="" ComputerName=MIKE[Display] BitsPerPel=32 Xresolution=1600 YResolution=1200[TapiLocation] CountryCode=1 AreaCode=508[identification] JoinWorkgroup=mshome[Networking] InstallDefaultComponents=Yes[branding] BrandIEUsingUnattended=Yes Home_Page=about:blank[WindowsFirewall] Profiles = WindowsFirewall.TurnOffFirewall[Components] msnexplr=off msmsgs=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off[shell] DefaultStartPanelOff = no DefaultThemesOff = no[GuiRunOnce] %systemdrive%\install\start.cmd
October 23, 200421 yr 1. Make sure that your [guirunonce] lines are quoted. 2. Open up %windir%\system32\$winnt$.inf to see what Windows did to your unattend when it parsed it... if it found bad characters/formatting in there it may have decided to remove your guirunonce line.
October 30, 200421 yr Author ok all i came across something weird with this...it seems as though when the PC logs in automatically, its loggin in under the name i set it to which is "mike". when the system logs in as mike, it does not install the programs, however when i log off mike and log on as administrator, the programs start to install automatically using the guirunonceany thoughts??here is my setupin my $oem$ folder i have "autologon.reg" Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Mike""DefaultPassword"="XXXXXX""AutoAdminLogon"="1"then "cmdlines"[COMMANDS]"useraccounts.cmd""REGEDIT /S regtweaks.reg"then "useraccounts.cmd"net user Mike xxxxxx /addnet localgroup Administrators Mike /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITThen my second question is this, why is Mike not log in with admin privileges?Thanks allMike
October 30, 200421 yr You can't do better than using this section of the guide to create your user/sCreate User & Autologon
November 1, 200421 yr Author You can't do better than using this section of the guide to create your user/sCreate User & Autologonthis didnt help much as the stuff i posted prior to your answer is everything exactly from that page.anyone else have any ideas?thanksMike
November 6, 200421 yr Im am running into the exact same problems as you. Lookin for the answers as well
November 7, 200421 yr Sorry I took so long to come back to you Mike. The guide does work. The only difference that I can see in your setup and the one that I use a dozen times every week is the way that you are using the [GuiRunOnce] to start your installs. Try automating instead from RunOnceEx (guide in the usual place) - you will find that you have to change very little.Just to show that it does work - here are my files to compare;winnt.sif[GuiRunOnce]EMPTYcmdlines.txt[COMMANDS]"useraccounts.cmd""RunOnceEx.cmd"useraccounts.cmdnet user "Ben Dover" XXXXX /addnet localgroup Administrators "Ben Dover" /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITautologon.regWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Ben Dover""DefaultPassword"="XXXXX""AutoAdminLogon"="1"RunOnceEx.cmdcmdow @ /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:IF EXIST k:\CD.txt set CDROM=k:IF EXIST l:\CD.txt set CDROM=l:IF EXIST m:\CD.txt set CDROM=m:IF EXIST n:\CD.txt set CDROM=n:IF EXIST o:\CD.txt set CDROM=o:IF EXIST p:\CD.txt set CDROM=p:IF EXIST q:\CD.txt set CDROM=q:IF EXIST r:\CD.txt set CDROM=r:IF EXIST s:\CD.txt set CDROM=s:IF EXIST t:\CD.txt set CDROM=t:IF EXIST u:\CD.txt set CDROM=u:IF EXIST v:\CD.txt set CDROM=v:IF EXIST w:\CD.txt set CDROM=w:IF EXIST x:\CD.txt set CDROM=x:IF EXIST y:\CD.txt set CDROM=y:IF EXIST z:\CD.txt set CDROM=z:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Core Applications and Settings" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Install\001-PREP\prepare.cmd" /fREG ADD %KEY%\001 /V 2 /D "%CDROM%\Install\001-PREP\rename.cmd" /fREG ADD %KEY%\002 /VE /D "Windows Components and Add-Ons" /fREG ADD %KEY%\002 /V 1 /D "%CDROM%\Install\002-COMPO\compo.cmd" /fREG ADD %KEY%\004 /VE /D "Media Codecs and Players" /fREG ADD %KEY%\004 /V 1 /D "%CDROM%\Install\004-MEDIAP\mediap.cmd" /fetc etc . . .For the more experienced - Yea I know that the CD lines can be shorter - but they were already working so wotdahell, and yea all my installs run from secondary batches - it saves on messing with pauses etc
November 7, 200421 yr I386 and $OEM$ in the same folderI'm not sure but I see thisThose are separate folder's like this under the CD rootI386$OEM$1 other thing under [unattended] OemFilesPath="..\$OEM$"but thats with $OEM$ on root. Edited November 8, 200421 yr by maxXPsoft
Create an account or sign in to comment