Set Windows Hostname at Boot Time

Is there a way to set the Windows XP hostname at boot time, or after the system is booted but without having to reboot?

We are working on a way to image systems over a network (like Rembo).  So far the only snag is that the hostname needs to be different on each machine, or Windows squacks "Duplicate hostname on network."

So, after the image is downloaded to the machine off the network, I'm looking for a way to set the hostname from say, a file that resides on a static partition of the client drive.

Any ideas?  Thanks!
Ross
mistagitarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wigmanwCommented:
0
mistagitarAuthor Commented:
Thanks for the suggestion, wigmanw.  One of their other products looks more like what we're going for:

http://www.acronis.com/enterprise/products/snapdeploy/

We are aware that such solutions already exist, but would rather create our own as a cost-effective alternative....   and for the fun of it  :-)

This hostname snag is the last kink to work out (this week).

Ross
0
SirtenKenCommented:
mistagitar,
If you're using ghost to image, run ghostwalker after you image.
http://service1.symantec.com/SUPPORT/ghost.nsf/pfdocs/1999050308324125
use the /cn switch to generate or change the computer name and the /sure switch to ensure no prompting
According to the above site,
"Because both Ghost.exe and Ghost Walker run in DOS, changing the SID with Ghost Walker does not require an additional restart."

Ken
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.