Solved

Deploying WinXP with WDS, Computername=%MACHINENAME%

Posted on 2011-02-14
7
1,244 Views
Last Modified: 2012-05-11
Hi, I'm trying to deploy a winXP image that I captured previously but im getting stuck in the mini menu when it asks for the computer name.  In the Sysprep.inf file i have the setting Computername=%MACHINENAME% and this doesn't work it says that i can't use special characters.

I'm trying to name the computer the name that was prestaged in AD.  Does anyone know of what to put in the syspre.inf file to make it use the name prestaged in AD??

The process im doing to test if the sysprep.inf is configured correctly is:

1. Run sysprep.exe and select mini setup checkbox
2. Save the sysprep.inf in the C:\Sysprep folder and click reseal
3. Restart Computer to test config

Any ideas?
0
Comment
Question by:Thunder-Cat
  • 4
  • 3
7 Comments
 
LVL 11

Expert Comment

by:yelbaglf
ID: 34893760
0
 
LVL 11

Accepted Solution

by:
yelbaglf earned 500 total points
ID: 34893768
I should also note that you can also have it prompt for the computername by using the following:

ComputerName=

Notice that I've removed the *, which tells sysprep to autogenerate a name.  Now it will prompt you for one.

But the Cmdlines.txt file is the way to automate all of this.
0
 

Author Comment

by:Thunder-Cat
ID: 34893919

Hey thanks for your reply, cmdlines may not work because they run after the computer has already received a computer name and have been joined to the domain.  Hmm
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 11

Expert Comment

by:yelbaglf
ID: 34894020
You could always use Cmdlines.txt to change the name and join the domain, by using netdom instead of sysprep for this.
0
 
LVL 11

Expert Comment

by:yelbaglf
ID: 34894032
Another option would be to use something like a fog server, which then uses netdom to do this.  It's also a pretty slick open source imaging solution.
0
 

Author Comment

by:Thunder-Cat
ID: 34894072
Ill VBscript it cheers
0
 

Author Closing Comment

by:Thunder-Cat
ID: 34894076
Cheers
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about cloud computing and its benefits for small business owners.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

14 Experts available now in Live!

Get 1:1 Help Now