How can I set hostnames and join a domain automatically?

We have win2k8 virtualized in Xen Server running the domain "lab.local" along with 45 Windows XP Pro VM's that are all the same (all made from one golden template in xenserver then deployed 45 times over). We would like to have these systems automatically hostnamed from host00001-host00045 and then joined to the domain "lab.local". I've been reading some various pieces on the internet, but coding is not my strongest point. I'm learning slowly, but I'd appreciate some help from my fellow EE members that are much smarter than me in this sort of thing :).

It would be nice if this setup could also work for Windows 7 as we're not sure yet which route we are going to take the final setup to.

Thank you very much!
LVL 8
Casey WeaverNetwork EngineerAsked:
Who is Participating?
 
Casey WeaverConnect With a Mentor Network EngineerAuthor Commented:
I tried PVS and it doesn't really match what I needed to do. I'm using a few other solutions right now just for test and will comment at a later time.
0
 
Carl WebsterCommented:
What edition of XenServer do you have?  Your edition may include the use of Provisioning services.  if so, PVS can handle this with no issues.
0
 
Casey WeaverNetwork EngineerAuthor Commented:
@CarlWebster, it's just XenServer, not XenDesktop. Only the free tools are being used in this exercise. It's a strict showing of what can be done in our current situation as we slowly push towards complete open source.  
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Carl WebsterCommented:
PVS does not require XenDesktop.  But if you are going open source, then no PVS for you! :)
0
 
Casey WeaverNetwork EngineerAuthor Commented:
PVS certainly looks interesting, but I can't find any information on it from Citrix other than the download and the installation/configuration guide. The only place it talks about licensing that I can find is in the installation guide and from there I can't tell if it's free to use or not. It doesn't have to be open source, but the budget isn't there for thousands in licensing costs.
0
 
Carl WebsterCommented:
I THINK PVS will work as it does not "require" a separate license (like XenServer non-free, XenApp or XenDesktop) but you will be in violation of the licensing terms if you use it without the appropriate XenApp/XenServer/XenDesktop licenses.
0
 
Casey WeaverNetwork EngineerAuthor Commented:
I've been trying to make it work but so far no cake. I'll be trying that and a sysprep script hopefully tonight. Still looking for suggestions!
0
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.

All Courses

From novice to tech pro — start learning today.