Note: This is an archived article:
The latest version is available on deploymentresearch.com (http://deploymentresearch.com/Blog/tabid/62/EntryId/17/Final-Configuration-for-MDT-2010-Lite-Touch.aspx)
This script will clean out any Leftover MININT or Sysprep folders. Enable WindowsUpdate, Set a default domain value (read from the JOINDOMAIN environment variable), and then do a proper final reboot…
Note: You need to set SkipFinalSummary=YES in customsettings.ini (the script will check for it)
Note: the script was updated 2008-11-11 to address an issue where the domain name was not set. Thanks to Isaac Woida for finding the solution, and to Jonathan Kort for pointing it out.
Just kick of the Z-FinalConfig.wsf as your last action in the Task Sequencer. The script will kickoff the Z-FinalConfig.hta script, which will wait for Task Sequence to end, and then do the final configuration.