Difference between revisions of "Active Directory/Documentation/WDS"

From WolfTech
Jump to navigation Jump to search
(→‎Installing an Image: Document OU-Allow RIS policy)
(Add section: Prereqs for using WDS)
Line 1: Line 1:
 
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.
 
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.
  
 
===How to PXE Boot===
 
===How to PXE Boot===

Revision as of 15:59, 15 April 2009

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.

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.

  1. If your computer is running, reboot it or power it off and back on after a few seconds.
  2. 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.
  3. If you are presented with a menu asking you which device to boot from, choose your network device and press Enter.
  4. 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.

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!

  1. 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).
  2. You will be prompted for your Wolftech user name and password. Enter these in, making sure to enter "wolftech\" before your user name.
  3. 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.
  4. Choose the drive to install the operating system onto. You may optionally reformat the target drive as well by clicking "Drive Options".
  5. 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.

  1. 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.
  2. 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.
  3. 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 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.

  1. Obtain a copy of Sysprep for your deployment operating system and service pack revision.
  2. Install a target computer with your operating system and perform any needed customizations, including copying files to the computer, installing programs, and configuring settings.
  3. Sysprep the computer to get it into a generalized state.
  4. PXE-boot the computer following the Sysprep process, using a boot image named "Capture Image (WinVista)".
  5. Follow the steps to generate an image to be stored on the local computer.
  6. Boot the computer and copy the image to \\wolftech.ad.ncsu.edu\deployment\Staging\Images
  7. Inform the WDS administrators of your request to install the image on the WDS servers by emailing wds@lists.ncsu.edu.

This Microsoft tutorial may be helpful in creating an automated installation.

WDS Management Documentation