Push Install Instructions for Microsoft Windows* Server 2008 32

- Introduction 

- Setting up an install directory on the file server 

- Instructions for Creating Teams and VLANs(Optional)

- Deployment methods 

- Microsoft documentation for unattended installations of Windows Server 2008 

- Sample UNATTEND.XML file for Windows Server 2008 

 --------------------------------------------------------------------------------

Introduction

A "Push", or unattended installation of Windows Server 2008 provides a means for network 
administrators to easily install Windows Server 2008 on x86 capable systems. 
The network administrator can create a bootable media that will automatically 
log into a central server and install the operating system from the Windows Server 2008 
installation directory stored on that server.  This document provides instructions for 
a basic unattended installation of Windows Server 2008 that includes the installation of 
drivers for the Intel(R) PRO/100 and Intel(R) Gigabit Network Connections. 

As part of the unattended installation, you can create Teams and VLANs. If 
you wish to create one or more teams/VLANs as part of the unattended 
installation, you must also follow the instructions in the "Instructions for Creating 
Teams and VLANs (Optional)" section of this document. 

The elements necessary for the Windows Server 2008 unattended installation are:

- A server with a shared image of the Windows Server 2008 Installation DVD. 
- If you wish to create teams/VLANS as part of the unattended installation, you need
  to create a configuration file with the team/VLAN information in it.  To create
  this file you need a sample system that has the same type of adapter(s) that will
  be in the systems receiving the push installation.  On the sample system,
  use Intel(R) PROSet for Windows Device Manager to set up the adapters 
  in the team/VLAN configuration you want. This system could also be the Windows 
  Server 2008 system mentioned above. For clarity, this system is referred to in this 
  document as the configured system.
- An unattended installation configuration file that provide Windows setup 
  with information it needs to complete the installation. The name of this 
  file is UNATTEND.XML  
- The Windows Automated Installation Kit (WAIK)

--------------------------------------------------------------------------------

Setting up an install directory on the file server

The server must be setup with a distribution folder that holds the required 
Windows Server 2008 files. Clients must also be able to read this folder when connecting 
via TCP/IP.

For illustration purposes, the examples in this document use the network share 
D:\PushWS8. To create this share:

1) Create a directory on the server, (EX: D:\PushWS8).
2) Use the My Computer applet in Windows to locate the D:\PushWS8 folder.  
3) Right-click the folder and select Sharing. Select Share this folder. 
4) Give it a share name (EX: PushWS8). This share name will be used to connect 
   to this directory from the remote target systems.  
5) Adjust permissions as necessary and click OK.  

To prepare the distribution folder:

1) Copy the entire contents from the Windows Server 2008 DVD to D:\PushWS8. Use Windows 
    Explorer or XCOPY to maintain the same directory structure as on the 
    Windows Server 2008 DVD. When the copy is complete, the Windows Server 2008 installation 
    files should be in the D:\PushWS8 directory. 
2) Use the Windows System Image Manager to edit/generate the 
    Unattend.xml file and save it to the D:\PushWS8 directory.  See sample below 
    for example of Unattend.xml   
3) Create the driver install directory structure and copy the driver files 
    to it. 

NOTE: The PUSHCOPY.BAT file provided with the drivers in the APPS\SETUP\PUSH 
directory copies the appropriate files for the installation. PUSHCOPY also 
copies the components needed to perform the automated installations contained 
in the [GuiRunOnce] section  of the sample UNATTEND.TXT file. These include an 
unattended installation of Intel(R) PROSet for Windows Device Manager. 

Example: From a Windows command prompt where e: is the drive letter of 
your CDROM drive: 
e:
cd \APPS\SETUP\PUSH 
	(you must be in the APPS\SETUP\PUSH\ directory to run PUSHCOPY)
pushcopy D:\PushWS8 WS0832

The above command creates the $OEM$ directory structure and copy all the 
necessary files to install the driver and Intel(R) PROSet for Windows Device 
Manager. However, Intel(R) PROSet for Windows Device Manager is not installed 
unless the FirstLogonCommands is added as seen in the example below.

[Microsoft-Windows-Shell-Setup\FirstLogonCommands]
Description= Begins silent unattended install of Intel PROSet for Windows Device Manager
Order= 1
CommandLine= %systemdrive%\WMIScr\Install.bat

4) Using ImageX.EXE from the WAIK, create a WIM image file of the $OEM$ folder
Example: From the Windows command prompt:
Imagex /capture d:\PushWS8\$oem$\$1 d:\PushWS8\intel.wim "Intel(R) PROSet for Device Manager Drivers and Software"

----------------------------------------------------------------------------

Instructions for Creating Teams and VLANs (Optional)

Note: If you used Pushcopy from the section "To prepare the distribution folder:"  
the directory structure will already be created and you can skip step 4.

1) Copy SavResDX.vbs from the Intel CD to the configured system. The file is 
   located in the APPS\WMI\ directory on the Intel CD. 
2) Open a command prompt on the configured system and navigate to the 
    directory containing SavResDX.vbs. 
3) Run the following command: cscript SavResDX.vbs save. A configuration file 
   called WmiConf.txt is created in the same directory. 
4) On the Server , create a directory in the $OEM$\$1 directory 
   called WMIScr. For example, on Windows Server 2008, the directory is 
   $OEM$\$1\WMIScr. 
5) Copy the SavResDX.vbs and WmiConf.txt files to the WMIScr directory.  
6) Locate the batch file, Install.bat, in $OEM$\$1\WMIScr.  Edit the batch file by
    removing the comment that preceeds the second START command.  The file 
    should look like the follow when finished:
   
   Start /wait %systemdrive%\drivers\net\INTEL\APPS\ProsetDX\Vista32\PROSetDX.msi /qn /li %temp%\PROSetDX.log
   REM Uncomment the next line if VLANs or Teams are to be installed.
   Start /wait /b cscript %systemdrive%\wmiscr\SavResDX.vbs restore %systemdrive%\wmiscr\wmiconf.txt > %systemdrive%\wmiscr\output.txt
   exit
   

--------------------------------------------------------------------------------

Deployment methods

Boot using your WinPE 2.0 media and connect to the server containing your Windows
Server 2008 installation share. 

Run the command from the \\Server\PushWS8 prompt: 
	setup /unattend:<full path to answer file> 

NOTE: In the above procedure, setup runs the installation in unattended mode 
and also detects the plug and play network adapters. All driver files are 
copied from the shared directory to the target system directories and 
installation of the OS and Network Adapters continues without user 
intervention. 

If you installed VLANs as part of the unattended installation, view the 
results of the script execution in the output.txt file. This file is in 
the same directory as the SavResDX.vbs file.

--------------------------------------------------------------------------------

Microsoft Documentation for Unattended Installations of Windows Server 2008

For a complete description of the parameters supported in Unattend.XML visit 
support.microsoft.com to view the Windows Automated Installation Kit (WAIK) 
documentation.

--------------------------------------------------------------------------------

Sample values for UNATTEND.XML file for Windows Server 2008 to be entered 
into Windows System Image Manager

Add the following Components to the specified Configuration Pass:

Pass: 1 WindowsPE
Component: 
	Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition
	Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition
	Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo
	Microsoft-Windows-Setup\ImageInstall\DataImage\InstallTo
	Microsoft-Windows-Setup\ImageInstall\DataImage\InstallFrom
	Microsoft-Windows-Setup\UserData
	Microsoft-Windows-International-Core-WinPE

Pass: 4 Specialize
Component: 
	Microsoft-Windows-Deployment\RunSynchronous\RunSynchronousCommand

Pass: 7 oobeSystem
Component:
	Microsoft-Windows-Shell-Setup\OOBE
	Microsoft-Windows-Shell-Setup\AutoLogon
	Microsoft-Windows-Shell-Setup\FirstLogonCommands

Use the following values to populate the UNATTEND.XML:

[Microsoft-Windows-Setup\DiskConfiguration]
WillShowUI = OnError

[Microsoft-Windows-Setup\DiskConfiguration\Disk]
DiskID = 0
WillWipeDisk = true (if false then only need to use modify section and adjust it to 
your system)

[Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition]
Extend = false
Order = 1
Size = 20000 (Note: This example creates a 20-GB partition.)
Type = Primary

[Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition]
Active = true
Extend = false
Format = NTFS
Label = OS_Install
Letter = C
Order = 1
PartitionID = 1

[Microsoft-Windows-Setup\ImageInstall\OSImage\]
WillShowUI = OnError

[Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo]
DiskID = 0
PartitionID = 1

[Microsoft-Windows-Setup\ImageInstall\DataImage\InstallFrom]
Path = \\Server\PushWS8\intel.wim

[Microsoft-Windows-Setup\ImageInstall\DataImage\InstallTo]
DiskID = 0
PartitionID = 1

[Microsoft-Windows-Setup\UserData]
AcceptEula = true
FullName = LADV
Organization = Intel Corporation

[Microsoft-Windows-Setup\UserData\ProductKey]
Key = <enter appropriate key>
WillShowUI = OnError

[Microsoft-Windows-Shell-Setup\OOBE]
HideEULAPage = true
ProtectYourPC = 3
SkipMachineOOBE = true
SkipUserOOBE = true

[Microsoft-Windows-International-Core-WinPE]
InputLocale = en-us
SystemLocale = en-es 
UILanguage = en-es 
UserLocale = en-us

[Microsoft-Windows-International-Core-WinPE\SetupUILanguage]
UILanguage = en-us

[Microsoft-Windows-Deployment\RunSynchronous\RunSynchronousCommand]
Description= Enable built-in administrator account
Order= 1
Path= net user administrator /active:Yes

[Microsoft-Windows-Shell-Setup\AutoLogon]
Enabled = true
LogonCount = 5
Username = Administrator

[Microsoft-Windows-Shell-Setup\AutoLogon\Password]
<strongpassword>

[Microsoft-Windows-Shell-Setup\FirstLogonCommands]
Description= Begins silent unattended install of Intel PROSet for Windows Device Manager
Order= 1
CommandLine= %systemdrive%\WMIScr\Install.bat

--------------------------------------------------------------------------------
