[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Rapid Windows Provisioning


  • To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
  • From: Kurt Buff <kurt.buff@xxxxxxxxx>
  • Date: Thu, 10 Dec 2009 14:20:16 -0800
  • Cc: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 10 Dec 2009 14:21:24 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=aFw7lZyuNkPF9WaIxWe86r5Vq3dwNMHoS61YoG+3MmbMNx1brCO/1iztguaE0M+ltN eGNXQCt3vd6fz8mfj+r9+k2qvLWQUG9OUkjNCGrLiNDJw99aHl7ADZZWe67jgc5QQ+SV eL1KIrQekD+N20Vr5tmhkx3vN+LvOzrK6x7fg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Dec 10, 2009 at 11:11, Nick Couchman <Nick.Couchman@xxxxxxxxx> wrote:
> I know this is slightly off-topic for this list, but it seems like a good 
> place to ask it...
>
> I'm trying to find a way to rapidly provision Windows-based domUs. ÂI'm very 
> familiar with tools like sysprep, and also have tools available to create 
> "gold images" of the Windows installs and make those available quickly. ÂThe 
> primary challenge I'm running into is the machine name and domain membership. 
> ÂI was wondering if anyone knows of a way to change the machine name and join 
> a Windows domain while the computer is booting. ÂAlthough Microsoft has made 
> great strides in not asking you to reboot after every single operation, 
> computer name and domain membership is one of those tasks that still, 
> curiously, requires a reboot. ÂI'm guessing some of the services need to be 
> restarted after a change of either of these - if I knew which ones, perhaps a 
> boot-time script could be run that would set the machine name, join the 
> Windows domain, and then restart the services that need to be restarted in 
> order for the changes to take effect? ÂAnyway, if anyone can help out with 
> this, I'd appreciate it!
>
> Thanks,
> Nick

A boot-time script is certainly possible. Check out netdom.exe - it
can change the name and join the machine to the domain. I created a
script for this kind of work for our junior admins, so they could have
it on their USB sticks.

However, you risk leaving the account password hanging around, if
you're not careful - it has to be embedded in the script.

Kurt

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.