Question : WinPE, SysPrep, Unattened - Remote Deployments

What is the relationship of unattend.txt answer files and the sysprep.inf Files.

What I am looking for is not necessarily definitions:
SYSPREP.INF
An answer file used by the Microsoft Sysprep utility to assist with the remote deployment of an image based operating system. Information provided in this file consist of the Windows Product ID, ComputerName, defined mass storage controllers and drivers, etc.
UNATTEND.TXT
An answer file used by Microsoft Windows to assist with the remote scripted installation of a Windows operating system. Information provided in this file is very similar in nature to the SYSPREP.INF, but in a slightly different format.

But how the process works in terms of how the files are actioned in sequence during a Build Deployment OS installation?

So what happens when have PXEd into WinPE and then kickoff a winnt32.exe /s: /unattend:....

The %windir% starts, OK, files are copied, but then what's the difference between the two files and when actioned.


Answer : WinPE, SysPrep, Unattened - Remote Deployments

This is a great post by our EE Friend, Pete Long..  

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_21298286.html

Well I use imaging software (symantec ghost) and I sysprep the images first

this is how I do it............................


Using Ghost to Image a Windows PC

NB This applies to Windows95/98/ME/2000 & XP
IMPORTANT: Make sure you are licensed to produce imaged copies of your version of windows.
If you are imaging windows XP be aware that you will need to ACTIVATE each client UNLESS
you build the source machine from a "Volume Licenced" copy of XP
see http://support.microsoft.com/?kbid=299840 for details.

1. Set the Master PC\Laptop up from its manufacturers rescue disks or the copy of windows that you wish to use. unistall any applications you wont use (like Messenger using http://www.dougknox.com/xp/utils/MessengerDisable.zip )
2. Ensure that you apply all the latest service packs for your version of windows. Go to http://v4.windowsupdate.microsoft.com/en/default.asp to see if you need to install anything.
3. Install and configure all the applications you would like on the image, and remember applications need service-packing too for MS Office updates go to http://office.microsoft.com/officeupdate/default.aspx?CTT=6&Origin=EC790020111033 and run the office update wizard. Don’t forget things like Adobe Acrobat reader and WinZip (This is a licensed product so ensure you have the rights to do this)
4. If you have not serviced packed you internet explorer (in step 2) do this now. aslo consider installing the latest version of JAVA http://www.java.com/en/download/windows_automatic.jsp
5. If you use a proxy server and/or wish to have ALL the imaged PC’s preconfigured to use this do the following, Open a MMC Console (Start - Run - MMC - [ENTER]) Add the group policy snap in. Configure the home page as http://yourhomepage then configure the proxy as Your Proxy IP address (Look in User Configuration\Windows Settings\Internet Explorer Maint)
6. To display a Login message on every machine Go to the following registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon   and in the following keys paste in this text...

LegalNoticeCaption LegalNoticeText <Text of the Message><br /><br />7. If you use Host Files on your network copy them to the following locations<br /><br />Win9x/ME c:\windows<br />WinNT/2k c:\winnt\system32\drivers\<wbr />etc<br />winXP c:\windows\system32\driver<wbr />s\etc<br /><br />8. If you use Novell Install and configure the Novell Client (WARNING – If using Zenworks for desktops and automatic workstation input consider NOT putting the Novell Client on your Image)<br />9. If you wish you can copy the windows setup files to the hard drive – though this will obviously make the image a LOT larger. if you do copy the I386 directory from the CD to c:\I386, and change this Registry key to c:\I386<br />HKEY_LOCAL_MACHINE\SOFTWAR<wbr />E\Microsof<wbr />t\Windows\<wbr />CurrentVer<wbr />sion\Setup<wbr />\SourcePat<wbr />h<br />10. Defragment the hard drive then empty the recycle bin. (Unless you want to clone your rubbish: 0)<br />11. Now if you meet any of the following criteria go to step 18.<br /><br />You are imaging Windows 95/98/ME<br />You are imaging Windows 2000 or Windows XP that will NOT be on a network (i.e., it’s a standalone or your home PC)<br /><br />12. If you reading this bit your imaging a windows 2000 or XP machine and you rolling you image out onto a network, proceed to step 13.<br />13. Download the latest version of sysprep for your operating system<br /><br />Windows 2000 version 1.1<br /><a rel="nofollow" href="http://www.microsoft.com/windows2000/downloads/tools/sysprep/download.asp" target="_blank">http://www.microsoft.com/w<wbr />indows2000<wbr />/downloads<wbr />/tools/sys<wbr />prep/<wbr />downl<wbr />oad.asp</a><br />Windows XP version 2.0 (it’s in the deployment cab)<br /><a rel="nofollow" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7a83123d-507b-4095-9d9d-0a195f7b5f69&DisplayLang=en" target="_blank">http://www.microsoft.com/d<wbr />ownloads/d<wbr />etails.asp<wbr />x?<wbr />FamilyID<wbr />=7a83123d-<wbr />507b-4095-<wbr />9d9d-0a195<wbr />f7b5f69&Di<wbr />splayLang=<wbr />en</a><br /><br />14. You now need to create a directory called c:\sysprep and do the following<br /><br />Windows 2000 <br />Extract the file you downloaded to the c:\sysprep directory.<br />Look on the windows 2000 CD for the following d:\support\tools and there should be a file there called “deploy.cab”, Extract this to your C: \ sysprep directory.<br />Copy all the files from C: \sysprep\tools\ to the C: \ sysprep folder click YES when you are asked to overwrite the originals.<br /><br />Windows XP<br />Extract the file you downloaded earlier to the C: \sysprep directory.<br /><br />15. In your sysprep directory you will now have a program called setupmgr double click it to run it, answer all the questions and it will create another file that will hold the answers to all the questions windows usually asks you when you install it. REMEMBER to tell it you ate IMAGING or it won’t work.<br />16. Close all your open windows and click Start > Run > c:\sysprep\sysprep.exe -pnp The machine will then give you a warning message and close down, DON’T power it back up unless you want to test it (note if you do and your windows 2000 you’ll have to carry out all from step 13 again)<br />17. Before cloning your Hard Drive, ensure you have another hard drive (That Big enough to hold the image fitted to the machine being ghosted. (You cannot ghost to the same Hard Drive!) – NEWER versions of ghost can) this procedure was tested with v6.5 and v7.0<br />18. Arm yourself with a boot disk from <a rel="nofollow" href="http://www.bootdisk.com" target="_blank">www.bootdisk.com</a> (Ensure it had RAMDRIVE on it and it works!) And a copy of Ghost.exe from Symantec<br />19. Boot with your boot disk<br />20. Type ghost then return. (This will create one big image if you want to split the image up, to fit on CDROM’s type “ghost.exe -split=600 –auto”)<br />21. At the welcome screen press enter to clear the message.<br />22. Using the Cursor Keys select Local, Disk, To Image then return.<br />23. At the select local source press enter<br />24. At the file name to copy to screen, Use the Tab Keys to navigate to the image location your second Hard Drive.<br />25. Press Tab to navigate to the filename box and give the image a name (i.e. image01)<br />26. Keep pressing the Tab Key till Save is highlighted then press return.<br />27. At the Compress Image screen Tab to "High" Then press return.<br />28. At the proceed screen Tab to "Yes" then press return.<br />29. When it is completed it should say, "Dump completed successfully"<br />30. If you’re deploying from CDROM you can now burn the image “portions” to CDROM. Ensure the first disk is bootable and has a copy of ghost on it to restore the image to a new computer.<br /><br />*****Links*****<br /><a rel="nofollow" href="http://www.anandtech.com/guides/viewfaq.html?i=115" target="_blank">http://www.anandtech.com/g<wbr />uides/view<wbr />faq.html?i<wbr />=115</a><br /><br />How To Create A Bootable Ghost Rescue CD Tutorial<br /><a rel="nofollow" href="http://www.ping.be/satcp/ghostresq01p.htm" target="_blank">http://www.ping.be/satcp/g<wbr />hostresq01<wbr />p.htm</a></span></h5> </td> </tr> <tr><td height="5px"></td></tr> <tr><Td> <table id="ContentPlaceHolder1_pc2" cellpadding="0" cellspacing="0" style="margin-left:20px"> <tr> <td valign="top"> <!-- [Desktop/Tablet]med_rect_btf --> <div data-pw-desk="med_rect_btf" id="pwDeskMedRectBtf1"></div> <script type="text/javascript"> window.ramp.que.push(function () { window.ramp.addTag("pwDeskMedRectBtf1"); }) </script> </td> <td width="20px"></td> <td valign="top"> <!-- [Desktop/Tablet]med_rect_btf --> <div data-pw-desk="med_rect_btf" id="pwDeskMedRectBtf2"></div> <script type="text/javascript"> window.ramp.que.push(function () { window.ramp.addTag("pwDeskMedRectBtf2"); }) </script> </div></td> </tr> </table> </td></tr> </table> </div> </td></tr> <tr><td height="5px"></td></tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" height="25px" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100px" bgcolor="#FFFFFF" style="padding-left:5px"><span class="f11blue">Random Solutions</span></td> <td background="http://programming.wmlcloud.com/images/bg-ch.gif"> </td> </tr> </table></td> </tr> <tr> <td style="padding:5px"> <div> <table id="ContentPlaceHolder1_DataList2" cellspacing="0" style="width:100%;border-collapse:collapse;"> <tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/142669.aspx' class="a4" style="font-size:13px"> <li> Simple ADODB Connection Error</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/146258.aspx' class="a4" style="font-size:13px"> <li> ADO ODBC to Centura SQL DB</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/144620.aspx' class="a4" style="font-size:13px"> <li> Exchange 2007 - Test-SystemHealth (Upgrading  servicepack 2)</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/148209.aspx' class="a4" style="font-size:13px"> <li> VBS Script to remove/set folder inheritance</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/141797.aspx' class="a4" style="font-size:13px"> <li> Sql query returning different results each time it is run even though conditions are the same.</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/140162.aspx' class="a4" style="font-size:13px"> <li> How do I set the marquee text of the Logon Prompt screen saver for Default User?</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/143749.aspx' class="a4" style="font-size:13px"> <li> WSUS sync problem</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/147338.aspx' class="a4" style="font-size:13px"> <li> Compact & Repair linked Back end DB Access 2003 error 3356</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/149289.aspx' class="a4" style="font-size:13px"> <li> Access 2007 Linked to Sharepoint with Drop-downs - type mismatch</li></a> </td> </tr> </table> </td> </tr><tr> <td> <table> <tr> <td valign="top" align="left"> <a href='http://microsoft.wmlcloud.com/forums/t/147653.aspx' class="a4" style="font-size:13px"> <li> Remove first 5 characters from SQL</li></a> </td> </tr> </table> </td> </tr> </table> </div></td> </tr> </table></td> </tr> </table> </form> </td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="http://tutorial.wmlcloud.com/images/bg-mn.jpg" height="30px" style="padding:5px;color:#ffffff;font-size:12px; font-family:Tahoma, Geneva, sans-serif;text-decoration: none;" ></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="http://tutorial.wmlcloud.com/images/bo-l.png" alt="programming4us" width="8" height="9" /></td> <td bgcolor="#FFFFFF" width="100%"></td> <td><img src="http://tutorial.wmlcloud.com/images/bo-r.png" alt="programming4us" width="8" height="9" /></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr><td height="2px"></td></tr> <tr><td> <div align="center"> </div> </td> </tr> <tr><td height="3px"></td></tr> <tr> <td height="2px"></td> </tr> <tr> <td align="left"> <table cellpadding="0" cellspacing="0" width="100%" align="left"> <tr> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> <td valign="top"> </td> </tr> </table> </td> </tr> <tr> <td height="2px"></td> </tr> </td></tr> </table> <script data-cfasync="false" async src="//cdn.intergient.com/1024430/73157/ramp.js"></script> </body> </html>