superblades Posted November 22, 2005 Share Posted November 22, 2005 Im wanting to create an unattended slipstreamed windows xp cd that will let you select which domain you want to use before running setup e.g.@rem SetupMgrTag@echo offremrem This is a SAMPLE batch script generated by the Setup Manager Wizard.rem If this script is moved from the location where it was generated, it may have to be modified.rem@ECHO offcls:startECHO.ECHO 1. domain1ECHO 2. domain2ECHO 3. domain3ECHO 4. domain4ECHO 5. domain5ECHO 6. domain6ECHO 7. domain7set choice=set /p choice=Type the Number to select domainif not '%choice%'=='' set choice=%choice:~0,1%if '%choice%'=='1' set AnswerFile=.\domain1.txtif '%choice%'=='2' set AnswerFile=.\domain2.txtif '%choice%'=='3' set AnswerFile=.\domain3.txtif '%choice%'=='4' set AnswerFile=.\domain4.txtif '%choice%'=='5' set AnswerFile=.\domain5.txtif '%choice%'=='6' set AnswerFile=.\domain6.txtif '%choice%'=='7' set AnswerFile=.\domain7.txtECHO "%choice%" is not valid please try againset SetupFiles=F:\i386F:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:langexample for domain1.txt :-;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=ProvideDefault OemPreinstall=No TargetPath=\WINDOWS[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85[UserData] FullName="User" OrgName="organisation" ComputerName=*[Display] BitsPerPel=16 Xresolution=1024 YResolution=768[TapiLocation] CountryCode=44 Dialing=Tone AreaCode=0114 LongDistanceAccess="9"[RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=http://intranet[Proxy] Proxy_Enable=0 Use_Same_Proxy=1[GuiRunOnce] Command0="rundll32 printui.dll,PrintUIEntry /in /n \\domain1\hp4300"[Identification] JoinDomain=domain1 DomainAdmin=Administrator DomainAdminPassword=password[Networking]would this work?also is there a way of once the installation is finished it logs a user into windows that has a domain account, e.g. fred.bloggs logs in?if so is there a way i could create a script file that would ask me which user i want to login, but this wouldnt be a choice of 1-10 more like free choice e.g. it could be any name (as long as it has an account on the domain the computer is attaching to)Thanks in advanceSuperblades Link to comment Share on other sites More sharing options...
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