Solved

Deploying WinXP with WDS, Computername=%MACHINENAME%

Posted on 2011-02-14
7
1,260 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

687 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