|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Rapid Windows Provisioning
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
|
|
|
|
|