HJW Posted July 9, 2006 Share Posted July 9, 2006 (edited) Hello,Currently am I redoing all my winnt.sif files. Everything, no problems (thanks to this forum etc..) except...[userData] ComputerName=AIOPC-V3At the moment have I configured 1 computername. Disadvantage: every machine gets the same name.. which sucks a little bit.What I am looking for is a preconfigured part and a random part. Like: AIOPC-<random numbers>How to do that?----I've been digging in things like this:[setupMgr] ComputerName0=cavalier ComputerName1=centurion ComputerName2=enforcer[combination with winnt.udb file in my PRO1 bootfolder.];SetupMgrTag[uniqueIds] cavalier=UserData centurion=UserData enforcer=UserDatawinnt.udb:[cavalier:UserData] ComputerName=cavalier FullName="MSFN Member A"But No successs..------Anyone any ideas??thanks in advance Edited July 9, 2006 by 5128 Link to comment Share on other sites More sharing options...
The Glimmerman Posted July 9, 2006 Share Posted July 9, 2006 (edited) It should work with a UDF file. But it uses winnt.exe or winnt32.exeIf you want to use it as a normal install with only a winnt.sif. You should alter the setup timeline. Normally after the txtsetup it starts setup.exe etc etc. You should make an batchfile named setup.exe and write a script that knows what computername to use and starts winnt.exe.@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.remset AnswerFile=D:\i386\unattend.txtset UdfFile=D:\i386\unattend.udbset ComputerName=%1set SetupFiles=D:\i386if "%ComputerName%" == "" goto USAGED:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /udf:%ComputerName%,ile%goto DONE:USAGEecho.echo Usage: unattend ^<computername^>echo.:DONEI think something like that. Edited July 9, 2006 by The Glimmerman Link to comment Share on other sites More sharing options...
HJW Posted July 9, 2006 Author Share Posted July 9, 2006 Ok thanks, will try that. 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