Solved

Deploying WinXP with WDS, Computername=%MACHINENAME%

Posted on 2011-02-14
7
1,247 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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