Solved

unattended setup

Posted on 2002-03-03
3
205 Views
Last Modified: 2010-04-13
When I create an unattended setup file for windows 2000 professional, it askes me for computer names to name the computers. I can type more than one in there. How does setup know which computer name to use?
0
Comment
Question by:Masterpjz9
3 Comments
 
LVL 16

Accepted Solution

by:
GUEEN earned 100 total points
Comment Utility
Create a batch file:
WINNT /B /S:\\test\i386 /U:\\test\i386\unattend.txt /UDF:%1,test.udb


[UniqueIDs]
PC-01= UserData
PC-02= UserData


[PC-01:UserData]
ComputerName = PC-01

[PC-02:UserData]
ComputerName = PC-02

So in a nutshell %1 of your batch expects an argument. Which is the ComputerName. So you only have to start the install with %1 the batch expects a following argument. Which is the PC-Name.
So you can start the installation with the following Command:
start pc-01 or
start pc-02



0
 
LVL 11

Expert Comment

by:ewtaylor
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
[accept shekerra]
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
[ewtaylor]
EE Cleanup Volunteer
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now