Active Directory/Documentation/WDS
Windows Deployment Services (WDS) provides a convenient way to install Windows onto computers, both via network distribution and via CD/DVD distribution. This page documents the centralization of campus WDS, as well as additional information for WDS administrators.
Prerequisites for Using WDS
In order for WDS to work, you must have a network card and an active network connection. Your computer must be connected to and registered with the campus network and using the campus DHCP servers. Additionally, your target computer(s) must reside in one of three DHCP templates: PXE-all, WDS-Main, or WDS-Centennial.
- PXE-all allows you to use other PXE servers on campus, which can allow you to change between WDS, WolfPrep, and Realm Linux environments. However, using this environment limits you to the default boot image only. If you need additional functionality, such as installing Windows 7 or creating new images, do not use this DHCP template.
- WDS-Main brings you the full functionality of WDS. This DHCP template connects to a server located on main campus, and will also allow you to choose your boot image. You will not, however, be able to switch to other PXE environments from this template.
- WDS-Centennial connects to a server located on Centennial campus. It contains the same functionality and features as WDS-Main, but should provide better performance for users on Centennial campus.
Computer Account Prestaging
WDS installs your computer and in most cases joins it to an Active Directory domain (most commonly WolfTech). When this domain join occurs, WDS searches the directory for a computer account that matches the computer it is joining. If a computer account is recognized, that computer account is used for the domain join; otherwise, the computer is set up with a new computer account in the directory. The first case is known as prestaging, and it has the benefit of offering a much more automatic installation experience. By utilizing a preexisting computer account, the machine being installed will automatically set the correct computer name, apply any applicable group policy objects, and install any software that has been assigned. Compare this to a new computer account which will require the computer administrator to move the account into the correct OU location within the directory, have group policies assigned, and assign software membership.
To prestage a computer in Active Directory, create the computer object, assign it a name, and check the "This is a managed computer" box when prompted. Fill in the computer's GUID, which is a 32-character hexadecimal value embedded in the computer and generally viewable when attempting to PXE boot. Enter in this value without any spaces, dashes, braces, or brackets, even if the value is presented to you with those characters in the value. Alternatively, the MAC address of the network adapter that will be used to PXE boot can be used - in this case, fill in the MAC address without any spaces or dashes, and then prepend zeroes (0) to the value until it is 32 characters long - you'll know when you have the correct number of zeroes because the Next button will become available to press when the correct length is entered. Finish creating the computer account and then assign it to group policies, software or group membership as necessary. Now, proceed with PXE-booting the computer. WDS will recognize the computer and join it to the domain using that computer account.
How to PXE Boot
To take advantage of WDS, you must boot your computer into a network environment that will then install your desired operating system image. This is known as PXE booting your computer. Almost all modern computers have this functionality built-in; you just have to enable it or tell your computer to do it.
- If your computer is running, reboot it or power it off and back on after a few seconds.
- While it is running its startup diagnostics, look at the screen. You will probably see a message like "Press F12 for Boot Menu" or "Press F10 for Network Boot" - if you see a message similar to these, press the corresponding key on your keyboard.
- If you are presented with a menu asking you which device to boot from, choose your network device and press Enter.
- The computer will attempt to boot into the network environment, which may take a few seconds.
If you were unable to complete these steps, you may need to enable PXE booting in your system's BIOS. Refer to your computer's documentation for instructions on how to do that, or email wds@lists.ncsu.edu for assistance in getting the correct setting enabled.
If your machine is for some reason not capable of PXE booting, a CD image is available that will allow your system to start the installation process. This is provided as an ISO image, so you will need to burn it to a CD prior to using it. The image is provided via the Velocity file distribution system: link.
Please note that even if you use the CD image to boot, you may still be unable to use WDS if the CD image does not contain appropriate network drivers for your hardware. If this is the case, follow the procedures in the Requesting Drivers section below to request that the drivers be included in the boot and CD images.
Installing an Image
Once you have PXE booted your computer, you may have to choose a boot image to execute. If you are using the PXE-all DHCP template, simply type 'wds' and press Enter. If you are using the WDS-Main or WDS-Centennial DHCP templates, you will need to choose your boot environment. The default is fine for installing Windows; you may need to use a different environment if you want to capture an image or perform other operations.
Note: You must be a member of the <OU>-Allow RIS security group for your organizational unit to install any custom image created by that organizational unit!
- Once the computer has finished booting, you will be sitting at a screen prompting you for a locale and keyboard input method. The defaults are fine, so press Enter (or Next).
- You will be prompted for your Wolftech user name and password. Enter these in, making sure to enter "wolftech\" before your user name.
- Next, choose an image that you want to install. If you know the name of the image, you can type the first few letters of the name and it will be automatically selected for you.
- Choose the drive to install the operating system onto. You may optionally reformat the target drive as well by clicking "Drive Options".
- Let the image install. Depending upon the size of the image, it may take some time to finish installing. Once it is finished, you should be able to use the image, but you may need to reboot to allow any lingering system changes to take effect.
Requesting Drivers
If you are not able to use WDS because of a lack of driver support in a boot image (manifested as a pop-up window stating that no network card/connection is available) or install image (if you need integrated storage, chipset, or network drivers, for example), you can request that these drivers be integrated into the image.
- Find out what drivers are needed. Note the brand, model, and version of the hardware in question, and if you can, obtain the PCI device ID. See Troubleshooting NIC Drivers for information about obtaining the PCI device ID of network cards.
- Optional: download the drivers from the device manufacturer. Copy them into a folder at \\wolftech.ad.ncsu.edu\deployment\Staging\Drivers - doing this can dramatically reduce the amount of time it will take to get support for that hardware device in the image.
- Email all of the information you collected in step 1, as well as the name of the image that you need updated, to wds@lists.ncsu.edu. If you obtained and copied the driver to the network location above, note that in the email as well.
Completing these three steps will allow the WDS administrators to begin processing your request. When the image has been updated, they will notify wds@lists.ncsu.edu and update the information associated with that image.
How to Create Your Own Install Image
This is a basic overview. Creating custom images is a complicated topic and highly dependent upon the configuration of your deployed operating system and hardware. It is highly recommended that you join the wds email list for support while creating your custom images.
- Obtain a copy of Sysprep for your deployment operating system and service pack revision.
- Install a target computer with your operating system and perform any needed customizations, including copying files to the computer, installing programs, and configuring settings.
- Sysprep the computer to get it into a generalized state.
- PXE-boot the computer following the Sysprep process, using a boot image named "Capture Image (WinVista)".
- Follow the steps in the image capture wizard to generate an image to be stored on the local computer.
- Boot the computer and copy the image to \\wolftech.ad.ncsu.edu\deployment\Staging\Images
- Inform the WDS administrators of your request to install the image on the WDS servers by emailing wds@lists.ncsu.edu.
- Ensure that everyone who should be able to deploy this custom image is a member of your <OU>-Allow RIS security group.
This Microsoft tutorial may be helpful in creating an automated installation.
WDS Management Documentation
WDS Management Reference
The following pages are intended as a reference to WDS server administrators. They contain no user documentation.
- Setting up your own server
- Separating DHCP From WDS (also known as Cross-VLAN PXE booting to WDS)
- Creating Bootable Discover CDs
- Create WinRE Image
- Longhorn Server Deployment Technet Forum
- Vista Deployment Technet Forum