• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1282
  • Last Modified:

Deploying WinXP with WDS, Computername=%MACHINENAME%

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
Thunder-Cat
Asked:
Thunder-Cat
  • 4
  • 3
1 Solution
 
yelbaglfCommented:
0
 
yelbaglfCommented:
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
 
Thunder-CatAuthor Commented:

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
yelbaglfCommented:
You could always use Cmdlines.txt to change the name and join the domain, by using netdom instead of sysprep for this.
0
 
yelbaglfCommented:
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
 
Thunder-CatAuthor Commented:
Ill VBscript it cheers
0
 
Thunder-CatAuthor Commented:
Cheers
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now