Customizing Unattended Setup
Customizing Unattended Setup
Customizing Unattended Setup
Pagina 1 din 9
Monitoring Your Network Through Event Logs Get the event log information that really matters through automated alerts on critical events across your network. Download a 30-day eval!
Depending on the scope and needs of your business, Windows XP can be deployed in a variety of ways including CDbased installs, unattended installs from a network distribution point, image-based installs using Sysprep, using Remote Installation Services (RIS), and using Microsoft Systems Management Server (SMS). Of these different approaches the simplest and most flexible is unattended installs from a network distribution point. Unattended installs have an easy learning curve compared to other approaches, and there is no need for you to purchase an additional product such as third-party disk imaging software (needed for Sysprep installs) or an expensive and complex product like SMS. In fact, you dont even need Windows 2000 Server or Windows Server 2003 (needed for RIS installs) since unattended installs can be performed in a workgroup scenario. And the unattended method can be used for both upgrades and clean installs, compared to RIS and Sysprep which can only be used for clean installs and SMS which can only be used for upgrades.
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 2 din 9
Figure 1: Contents of Deploy.cab. Now press CTRL+A to select all, select Copy To Folder from the Edit menu, select an existing folder or create a new one, and click Copy to extract the deployment tools to the target folder. The tools well focus on for this article include: Setup Manager (Setupmgr.exe) Used for creating answer files and distribution folders for unattended installs. Deploy.chm A help file explaining how to use deployment tools like Setup Manager and Sysprep. Ref.chm A help file summarizing the syntax of answer files and the possible keys and allowed values for each section of these files. Before we look at using Setup Manage however, note that there are different versions of this tool depending on which product CD you use: Product Windows 2000 Server Windows XP Windows XP SP1 Windows XP SP2 Windows Server 2003 Version of Setupmgr.exe 5.0.2185.1 5.1.2600.0 5.1.2600.1106 5.1.2600.2180 5.2.3790.0 Source Windows 2000 Server CD Windows XP Professional CD XP SP1 Deployment Tools XP SP2 Deployment Tools Windows Server 2003 CD
Table 1: Versions of Setup Manager From this table we can see that the version of Setup Manager on the Windows Server 2003 CD is the most recent one, though the XP SP2 deployment tools can be downloaded and used for workgroup environments. Well use the Windows Server 2003 version (5.2.3790.0) for the remainder of this article.
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 3 din 9
Figure 2: Creating a new answer file for unattended installs. Click Next and choose Unattended setup to create an answer file named unattend.txt:
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 4 din 9
Figure 3: Creating an unattend.txt file. Click Next and select Windows XP Professional as the product you want to deploy:
Figure 4: Deploying Windows XP Professional. Click Next and choose Fully automated to perform a completely unattended install of Windows XP Professional:
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 5 din 9
Figure 5: Choosing to perform a completely unattended install. Click Next and select Create a new distribution share to prepare a network distribution point from which you can perform your unattended installs:
Figure 6: Setting up a network distribution point. Choosing this option will lead you through the process of copying the Windows XP source files to a shared folder on your network. Click Next, select On the CD and insert your Windows XP Professional CD into your file servers CD-ROM drive. Click Next and accept the default distribution folder and share name or change them as desired:
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 6 din 9
Figure 7: Specifying the location and share name for the distribution point. Click Next and select the checkbox to accept the EULA. Click Next and the main Setup Manager screen appears:
Figure 8: The main Setup Manager screen. As you step (using Next) through this screen, you can customize all aspects of how unattended Setup will run including specifying answers for prompts that appear during a manual installation and advanced Setup options like proxy settings for Internet Explorer, a name for the %Windir% folder on the target machine, automatically installing network printers during Setup, and running additional commands at the end of Setup and the first time a user logs on to the new machine. Once you get to the end of this screen you are prompted to accept or specify a name for your answer file:
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 7 din 9
Figure 9: Naming the answer file unattend.txt. Click OK and the process of creating the distribution folder and copying the XP source files to it begins:
Figure 10: Source files are being copied to the distribution folder. After a few minutes the files are copied and your distribution share and answer file are ready for use:
Figure 11: Shared distribution folder Windist on server TEST220 with XP source files (I386 folder) and answer file (unattend.txt). When the Completing Setup Manager screen appears, click Cancel to finish:
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 8 din 9
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010
Pagina 9 din 9
answer file. If you want to perform a clean install instead of an upgrade, use a network boot disk to boot your target machine, connect to the share, and run Winnt32.exe as required. Tip: to create a network boot disk, see BootDisk.com.
Summary
In this article weve seen how to use Setup Manager to create a network distribution point and answer file to perform an unattended install of Windows XP. Setup Manager is one of several deployment tools Microsoft provides for mass deployment of Windows. Its also the easiest such tool to use and has the flexibility of being able to perform both clean installs and upgrades. Taking the time to learn how to use this tool will speed the job of deploying Windows in small- and mid-sized networking environments.
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setu... 05.05.2010