Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using sysprep

Status
Not open for further replies.
Apr 7, 2005
25
US
how do i modify the sysprep.inf file so i could change or add computer names. i created an image for a model computer. I have multiple workstations. I want to be able to install the image and generate different computer names for each workstation.

thanks in advance.
 
assuming you have the sysprep folder download and sitting in the c:\. run sysprep.exe there you will able to input all the infor such as computer name, domain, work group ... or you can make your own sysprep.inf like this one: my sugestion is to make your own, much easier.

;SetupMgrTag
[Unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386

[GuiUnattended]
AdminPassword="password"
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=20
OemSkipWelcome=1

[UserData]
ProductKey=
FullName="Company Name Goes in Here"
OrgName="Company Name Goes in Here"
ComputerName=*

[TapiLocation]
CountryCode=1
Dialing=Tone
AreaCode=630

[SetupMgr]
DistFolder=C:\sysprep\i386
DistShare=windist

[Identification]
JoinDomain=
DomainAdmin=
DomainAdminPassword=

[Networking]
InstallDefaultComponents=Yes

[SysprepCleanup]

[SysprepCleanup]


================================

save it as sysprep.inf once you input all those info.
 
what happens if i have 100 workstations, how would i create different computer names and SID's.

thanks
 
ComputerName=*

This will do the auto generation but as far as a custom name on the fly it's not possible to my knowledge without another tool.

(yay! shameless advertising. my side business)
 
you are correct on that but you have the option to change it or leave it the way it is. I've used it and it work flawlessly on over 500 workstations.

if you have 100 or 1000s all you have to do is change the computer to a unique name. When you run sysprep there is the option to run with SID i forgot the exact phrase. Make sure you run that option.
 
thanks for the info.
what happens if i want to generate my own computer names
i want to give each computer a unique name like pc-1, pc-2, pc-3 and so forth. keep in mind that i only created one image for the 100 computers. how would it be created when i deploy the image.

thanks.
 
computername=

Leave it blank and setup will stop at that point and wait for you to put in computer name. If that doesn't work try:

adminpassword=

Computer Name and Administrator Password are on the same window.

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top