Urs Rau <[EMAIL PROTECTED]> writes:

> What and where would you add the "regedit /s WinXP.reg" command?
> Adding it as a step to be done by the "postinst.bat" appears to be
> "too late".

Almost anywhere is going to be too late; the workstation joins the
domain during the network configuration part of Windows Setup.  I
believe even cmdlines.txt will not run until after Windows is done
installing, so that will not help.

There might some way to hack the source media to patch the registry...
But a better idea is to join the domain in the post-install scripts,
after the installation finishes.

You just need a command-line utility to join a domain.  I assume there
is one out there somewhere, but since this is Windows XP you could
easily roll your own in Perl using WMI.  See:

  http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_computersystem.asp

In particular, see the JoinDomainOrWorkgroup method.

The biggest problem is deciding how to obtain/store/delete the
password.

Another thought: Samba 3.0 was just released, and its domain support
is supposedly much improved.  It might obviate the need for any
registry patch.

 - Pat


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to