PC Review


Reply
Thread Tools Rate Thread

Changing Hostnames with Sysprep

 
 
Mario Lipinski
Guest
Posts: n/a
 
      11th Jun 2004
Hello,

i am deploying Windows 2000 machines using Sysprep for image preparation
and Symantec Ghost Corp for the cloning process via network.
This works fine. There is only one problem: since i am using sysprep the
hostname gets reset in the "mini-setup". i now could configure sysprep to
prompt for the hostname. but i want it full-automated - so no
userinteraction.
is there any way to change the hostname - maybe based on ghost variables,
dns reverse lookup, mac-address - hostname table - automatically using
sysprep.
the machines join a domain automatically so it would be best if if got
changed before sysprep joins the domain.

i found a tool "compname" on the internet which sets the hostname for
example by reverse dns. but there i expect problems with the domain
membership.

Any suggestions are welcome,

Thx in advance,

Mario Lipinski
 
Reply With Quote
 
 
 
 
Oli Restorick [MVP]
Guest
Posts: n/a
 
      12th Jun 2004
Hi Mario

I'm the author of compname and you're right, it will break domain
membership. Unfortunately, it's not possible to make compname run before
the automated domain join in the mini-setup wizard, either.

One option would be to leave the machine in a workgroup, run compname,
script a reboot and then use netdom from the Support Tools folder on your
Windows 2000 CD to script a domain join. If you use the cmdlines.txt
functionality, you have a built-in reboot anyway after running the command,
so you don't have to do any extra rebooting, except for the reboot required
after joining the domain with netdom.

It's not the prettiest method, but it's what I do for unattended setups.

Hope this helps

Oli


"Mario Lipinski" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Hello,
>
> i am deploying Windows 2000 machines using Sysprep for image preparation
> and Symantec Ghost Corp for the cloning process via network.
> This works fine. There is only one problem: since i am using sysprep the
> hostname gets reset in the "mini-setup". i now could configure sysprep to
> prompt for the hostname. but i want it full-automated - so no
> userinteraction.
> is there any way to change the hostname - maybe based on ghost variables,
> dns reverse lookup, mac-address - hostname table - automatically using
> sysprep.
> the machines join a domain automatically so it would be best if if got
> changed before sysprep joins the domain.
>
> i found a tool "compname" on the internet which sets the hostname for
> example by reverse dns. but there i expect problems with the domain
> membership.
>
> Any suggestions are welcome,
>
> Thx in advance,
>
> Mario Lipinski



 
Reply With Quote
 
 
 
 
Stew Basterash
Guest
Posts: n/a
 
      12th Jun 2004
Mario,

There is always more than one way to skin a cat... The best and least
expensive solution without relying on third party tools is to use sysprep
with a computer name of "*"... This will auto name your workstation during
sysprep... in addition, sysprep will also add your computer to the domain of
your choice... Now... the remaining thing to do is to rename the computer to
what you want, and move it from the "Computers" container and into the
proper OU... This can be done with a simple script written in VBScript or
JScript...

If you need a solution for this and you do not have scripting expertise... I
will be happy to supply you with a solution... I will just have a few
environmental questions for you...

Stew Basterash

"Mario Lipinski" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Hello,
>
> i am deploying Windows 2000 machines using Sysprep for image preparation
> and Symantec Ghost Corp for the cloning process via network.
> This works fine. There is only one problem: since i am using sysprep the
> hostname gets reset in the "mini-setup". i now could configure sysprep to
> prompt for the hostname. but i want it full-automated - so no
> userinteraction.
> is there any way to change the hostname - maybe based on ghost variables,
> dns reverse lookup, mac-address - hostname table - automatically using
> sysprep.
> the machines join a domain automatically so it would be best if if got
> changed before sysprep joins the domain.
>
> i found a tool "compname" on the internet which sets the hostname for
> example by reverse dns. but there i expect problems with the domain
> membership.
>
> Any suggestions are welcome,
>
> Thx in advance,
>
> Mario Lipinski



 
Reply With Quote
 
New Member
Join Date: Oct 2009
Posts: 1
 
      15th Oct 2009
Change of hostname needs IP in Internet protocol system you can get to know many details about as well as about your domain queries http://www.ip-details.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Purging Underscored Hostnames in Linux/XP Pro Local Network W. Watson Windows XP Networking 4 8th Jan 2005 02:27 AM
Changing Hostnames with Sysprep Mario Lipinski Windows XP Setup 2 12th Jun 2004 09:46 PM
Hostnames incorrect in windows ... ikm@ikm.mine.nu Windows XP Networking 2 21st May 2004 09:53 AM
"ping -a" does not resolve hostnames in XP Pro G Rakaska Windows XP Help 2 23rd Feb 2004 05:56 PM
Resolving hostnames in remote VPN network Aaron Seet Windows XP Networking 0 22nd Feb 2004 02:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:14 AM.