Patrick Bergenhenegouwen wrote:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultDomainName"="EMEA"
"AltDefaultDomainName"="EMEA"

Matt Hyclak wrote:

Just change the DefaultDomainName key as appropriate at the end of your
install (and perhaps AltDefaultDomainName as well).
I've tried this as the second-last item called in unattended.txt's "bottom" script, just before bottom's final todo.pl .reboot, however the end result is that the domain is now correct but the unattended process is interrupted - there's still more that it wants to run after that "bottom" script...

Here's what remains in c:\netinst\todo.txt after unattended finishes processing the bottom script:

srconfig.pl --enable
del C:\netinst\tempcred.bat
autolog.pl --logon=0
.reboot

What I've ended up doing is having the last item called by bottom as follows:

todo.pl "copy /y %Z%\scripts\x-last.txt c:\netinst\todo.txt"

The file x-last.txt replaces what remains in todo.txt such that "autolog.pl --logon=0" becomes "autolog.pl --logon=0 --domain=MYDOMAIN". Add to that a group policy to prevent displaying the username of the last logon, and the computer's final state is ready for students and staff.

Shane Curtis
--
IT Support Officer, Education Queensland ([EMAIL PROTECTED])
Walkervale State Primary School, Bundaberg QLD 4670, Australia.
Mobile: 0439-415181  Phone: (07) 4151-4800  Fax: (07) 4153-2795

This message (including attachments) is intended for the addressee named above. 
It may also be confidential, privileged and/or subject to copyright. If you 
wish to forward this message to others, you must first obtain the permission of 
the author.

If you are not the addressee named above, you must not disseminate, copy, 
communicate or otherwise use or take any action in reliance on this message. 
You understand that any privilege or confidentiality attached to this message 
is not waived, lost or destroyed because you have received this message in 
error. If you have received this message in error please notify the sender and 
delete from any computer.

Unless explicitly attributed, the opinions expressed in this message do not 
necessarily represent the official position or opinions of the State of 
Queensland or the Queensland Department of Education.

Whilst all care has been taken, the Department of Education disclaims all 
liability for loss or damage to person or property arising from this message 
being infected by computer virus or other contamination.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to