How to Windows Deployment Server 2007 (WDS)
By marf
Requesitos minimos:
AD DS – Active Directory Domain Services
DHCP – Porque o Windows Deployment Server usa (PXE) Pre-Boot Execution Environment
DNS
NTFS
Credentials
Steps for installing Windows Deployment Services
You can install Windows Deployment Services using the Initial Configuration Wizard or Server Manager.
•
To start the installation using the Initial Configuration Wizard, click Add roles on the Initial Configuration Tasks startup screen. Click Next and then select Windows Deployment Services.
•
To start the installation using Server Manager, click Add roles which is located within the Roles Summary pane. Click Next and then select Windows Deployment Services.
During the installation, you have two installation options to choose from:
•
Transport Server. This option provides a subset of the functionality of Windows Deployment Services. It contains only the core networking parts. You can use Transport Server to create multicast namespaces that transmit data (including operating system images) from a standalone server. You should use this option if you want to transmit data using multicasting, but do not want to incorporate all of Windows Deployment Services.
•
Deployment Server. This option provides the full functionality of Windows Deployment Services, which you can use to configure and remotely install Windows operating systems. With Windows Deployment Services, you can create and customize images and then use them to re-image computers. Deployment Server is dependent on the core parts of Transport Server.
Known issues with configuring Windows Deployment Services
You should note the following issues when configuring your server:
•
IPv6 is not supported for this version of Windows Deployment Services. Even though the management utilities show that you can specify the IPv6 address range, these options do nothing in this version of Windows Deployment Services.
•
You should use only the boot.wim file from the Windows Server 2008 DVD. If you use the boot.wim file from the Windows Vista DVD, you will not be able to use the full functionality of Windows Deployment Services (for example, multicasting).
•
If you are running Windows Deployment Services and a non-Microsoft DHCP server on the same computer, in addition to configuring the server to not listen on port 67, you will need to use your DHCP tools to add Option 60 to their DHCP scopes.
•
If DHCP is installed on a server that is located in a different subnet, then you will need to do one of the following:
•
(recommended) Configure your IP Helper tables. All DHCP broadcasts on UDP port 67 by client computers should be forwarded directly to both the DHCP server and the Windows Deployment Services PXE server. Also, all traffic to UDP port 4011 from the client computers to the Windows Deployment Services PXE server should be routed appropriately (these requests direct traffic to the server, not broadcasts).
•
Add DHCP options 66 and 67.
Como configurar o Windows Deployment Server
Existe 2 formas de configurar o WDS, usando interface gráfica do Windows ou através da Command Prompt digitando o comando WDSUTIL.
Usando Interface gráfica:
1. Click Start, click Administrative Tools, and then click Windows Deployment Services.
2. In the left-hand pane of the Windows Deployment Services MMC snap-in, click to expand the server list.
3. Right-click the server and click Configure Server.
4. Follow the instructions in the wizard.
5. When the configuration is complete, click to clear the Add images to Windows Deployment Services now check box and then click Finish.
To add the default boot image included in the product installation DVD
1.
Click the server to which you want to add the boot image.
2.
Right-click the Boot Images node, and then click Add Boot Image.
3.
Browse to choose the default boot image (boot.wim) located on the Windows Server 2008 DVD, in the \Sources directory.
4.
Click Open, and then click Next.
5.
Follow the instructions in the wizard to add the image.
Usando a Commando Prompt:
1.
Click Start, right-click Command Prompt, and then click Run as administrator.
2.
Type the following command where <driveletter> is the name of the NTFS formatted drive and <foldername> is the name of the directory where you want to create the shared folder:
WDSUTIL /initialize-server /reminst:"<driveletter>\<foldername>"
3.
To set the answer policy to answer all clients, run:
WDSUTIL /Set-Server /AnswerClients:all
4.
If you are installing Windows Deployment Services on a computer with Microsoft DHCP installed, run WDSUTIL /Set-Server /UseDHCPPorts:no /DHCPoption60:yes
5.
To add a boot image, run the following command where <bootimage> is the full path to the boot image:
WDSUTIL /Add-Image /ImageFile:<bootimage> /ImageType:boot
6.
To add an install image, run the following where <installimage> is the full path to the install image and <name> is the name of the image group to create. (You can append /SingleImage:<imagename> to add only one of the images included in the install.wim.):
WDSUTIL /add-image /ImageFile:<installimage> /ImageType:install /ImageGroup:<name>
Configurando Boot Menu
Para fazer a configuração do boot menu é necessário pertencer ao grupo de administradores Local no Windows Deployment Server.
O boot menu pode conter no máximo 13 imagens
To add an addition boot image by using the Windows interface
1- In the left-hand pane of the Windows Deployment Services MMC snap-in, click to expand the server list, and then choose the server to which you want to add the boot image.
2- Right-click the Boot Image node, and then click Add Boot Image.
3- Click Browse to locate a boot image that you want to add. The boot image must be locate on the server and it can be the same or different architecture.
4- Follow the instructions in the wizard to add an additional boot image.
5- When you have completed this procedure and you PXE boot a client computer, a boot menu will appear that shows both boot images.
To add an addition boot image at the command prompt
1- Click Start, right-click Command Prompt, and then click Run as administrator.
2- Run the following command to add an additional boot image, where <bootimage> is the full path to the boot image on the server. The image can be the same or a different architecture.
WDSUTIL /Add-Image /ImageFile:<bootimage> /ImageType:boot
3- When you have completed this procedure and you PXE boot a client computer, a boot menu will appear that shows both boot images.
Prerequisites for creating and modifying images
1- Ensure that there is enough disk space to create and store the new images.
2- Be a member of the Local Administrators Group on the Windows Deployment Services server.
3- Match the version of Sysprep.exe with the version of the operating system that you want to capture.
4- Install the Windows AIK if you are creating bootable ISO images
5- Have a writeable CD or DVD and a disk-burning utility (if you are burning an image to media—for example a discover image).
To create a capture image using the Windows interface
1-In the Windows Deployment Services MMC snap-in, expand the Boot Images node.
2-Right-click the image to use it as a capture image.
3-Click Create Capture Boot Image.
4-Type a name, description, and the location to save a local copy of the file. You must specify a location in case there is a problem with the network when you deploy the capture image.
5-Continue to follow the instructions in the wizard, and when it is complete, click Finish.
6-Right-click the boot image folder.
7-Click Add Boot Image.
8-Browse and select the new capture image, and then click Next.
9-Follow the instructions in the Windows Deployment Services Capture Utility.
10-Once you have created the capture image, follow the instructions in the install image section to boot a client computer into the capture image and capture the operating system.
To create a capture image at a command prompt
1-Click Start, right-click Command Prompt, and then click Run as administrator.
2-Type the following where <bootimage> is the name of the boot image you want to use to create the capture image, and <captureimage> is the file path and file name of the new capture image:
WDSUTIL /New-CaptureImage /Image:<bootimage> /Architecture:x86 /Filepath:<captureimage>
3-Type the following where <captureimage> is the file path and file name of the capture image you want to add to the image store:
WDSUTIL /Add-Image /Imagefile:<captureimage> /ImageType:boot
4-Once you have created the capture image, follow the instructions in the install image section to boot a client computer into the capture image and capture the operating system.
Installing an operating system
Prerequisites for installing an operating system
•
The client computer must be capable of PXE boot.
•
An appropriately configured Windows Deployment Services server must be available in the domain.
•
Your user account must be a member of the Domain Users group.
•
The client computer must have 512 MB of RAM, which is required to use Windows PE).
Steps for installing an operating system
1.
Configure the BIOS of the computer to enable PXE boot, and set the boot order so that it is booting from the network is first.
2.
Restart the computer and when prompted, press F12 to initiate the PXE boot process.
3.
Select the appropriate boot image from the boot menu. (This boot image selection menu will only be available if you have two or more boot images on the Windows Deployment Services server. For more information, see configuring boot menu)
4.
Select the locale that you want Setup to run in.
5.
When prompted, provide a user name and password with sufficient credentials to install images from the Windows Deployment Services server.
6.
Continue to follow the instructions in the Windows Deployment Services client.
7.
When installation is complete, the computer will reboot and Setup will continue.
Bibliográfia:
http://technet2.microsoft.com/windowsserver2008/pt-pt/library/7d837d88-6d8e-420c-b68f-a5b4baeb52482070.mspx?mfr=true
Comments
No comments yet.