Microsoft Windows 2008 Server Labsetup Guide
Microsoft Windows 2008 Server Labsetup Guide
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
492 | Appendix B
Appendix B
Classroom Configuration
The following configurations and naming conventions are used throughout the course and are required for completing the labs as outlined in the lab manual. The classroom network consists entirely of computers running Windows Server 2008, including a single classroom server and a number of student servers. The classroom server performs several roles for the student servers, including the following: Active Directory Domain Services domain controller Domain Name System (DNS) server Dynamic Host Configuration Protocol (DHCP) server Use the following information when setting up the classroom server: Active Directory domain name: contoso.com Computer name: ServerDC Fully qualified domain name (FQDN): ServerDC.contoso.com Administrator password: P@ssw0rd
The student computers are also servers running Windows Server 2008, which the students will join to the contoso.com domain. Each student computer in the domain is to be named Server##, where ## is a unique number assigned to each computer by the instructor. Each student server will also have a corresponding domain user account called Student##, where ## is the same number assigned to the computer. As they work through the lab manual, the students will install and remove several different roles and features. In some of the exercises, students will initiate communication with another server on the network. To make this possible, the lab manual is designed to support the following three classroom configurations.
492
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
TAKE NOTE
If you are using Web-hosted virtual machines in your classroom, you might not have to perform any of the setup procedures described in this document because the students will be able to access preconfigured virtual machines over the Web.
Dedicated computersEach student computer has a single instance of Windows Server 2008 installed. To complete the lab exercises that require interaction between two servers, you can provide each student with two computers or assign a lab partner to each student. In the latter case, each student will complete the exercise and provide the services required by his or her partner. Local virtual machinesEach student computer has a virtualization productsuch as Microsoft Virtual PCinstalled, enabling you to create two virtual machines, each running an instance of Windows Server 2008. With this configuration, each student can perform all of the exercises on one computer, using the two virtual machines to perform the required roles. Web-hosted virtual machinesEach student computer uses a Web browser to access two Windows Server 2008 virtual machines hosted by a commercial service on the Internet. With this configuration, each student can perform all of the exercises on one computer, using the two virtual machines to perform the required roles. To support these classroom configurations, students must begin each lab in the manual with the same baseline operating system configuration on the student computers. Therefore, each lab begins with an exercise that sets up the server for that lab and, when necessary, concludes with an exercise that returns the server to the baseline configuration. Depending on your classroom configuration, the students might be able to skip the first and last exercises in each lab.
TAKE NOTE
If you plan to create virtual machines on your student computers, each virtual machine must meet these hardware requirements.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
494 | Appendix B
WARNING By performing the following setup instructions, your computers hard disks will be repartitioned and reformatted. You will lose all existing data on the system.
TAKE NOTE
If you plan to use evaluation versions of Windows Server 2008 in the classroom, you can leave the Product key field blank and, in the Select the edition of Windows that you purchased window that subsequently appears, select Windows Server 2008 Enterprise (Full Installation) for the version you want to install.
TAKE NOTE
If your computer supports booting from CD/DVD, the computer might try to boot from the Windows Server 2008 disk after Windows Server 2008 Setup restarts. If this happens, you should be prompted to press a key to boot from the disk. However, if Setup restarts automatically, simply remove the disk and restart the computer.
5. Select the I accept the license terms checkbox and click Next. The Which type of installation do you want? page appears. 6. Click Custom. The Where do you want to install Windows? page appears. 7. Select the disk where you want to install Windows Server 2008 and click Next. The Installing Windows page appears. 8. When the installation process is complete, the computer restarts and prompts you to change the Administrator password. Click OK. 9. Key P@ssw0rd in the New Password and Conrm Password text boxes and click the right arrow button. Then click OK. Windows Server 2008 starts and the Initial Conguration Tasks window appears. 10. Install any updates needed to keep the operating system current. PROCEED to the following section to continue the server conguration process.
Before you proceed with the server configuration, install any required updates to keep the operating system current. Use Automatic Updates, the Windows Update Website, or any other mechanism to locate, download, and install the updates.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
PERFORMING INITIAL CONFIGURATION TASKS Use the following procedure to prepare the server for the course.
PERFORM INITIAL CONFIGURATION TASKS
1. In the Initial Conguration Tasks window, click Set time zone. The Date and Time dialog box appears. 2. Verify that the date, time, and time zone shown in the dialog box are correct. If they are not, click Change date and time or Change time zone and correct them. Then click OK. 3. Click Configure Networking. The Network Connections window appears. 4. Right-click the Local Area Connection icon and, from the context menu, select Properties. The Local Area Connection Properties sheet appears. 5. Clear the Internet Protocol Version 6 (TCP/IPv6) checkbox. 6. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties. The Internet Protocol Version 4 (TCP/IPv4) Properties sheet appears. 7. Congure the TCP/IP parameters using the following values: IP Address: 10.1.1.100 Subnet Mask: 255.255.255.0 Preferred DNS Server: 127.0.0.1
TAKE NOTE
The IP addresses supplied in this setup document and in the lab manual are suggestions. You can use any IP addresses for the computers in your classroom, as long as all of the systems are located on the same subnet. If the classroom network is connected to a school network or the Internet, you can specify the address of the router providing the network connection in the Default Gateway field. Otherwise, leave it blank.
8. Click OK twice to close the two Properties sheets. Close the Network Connections window. 9. In the Initial Conguration Tasks window, click Provide computer name and domain. The System Properties dialog box appears with the Computer Name tab selected. 10. Click Change. The Computer Name/Domain Changes dialog box appears. 11. In the Computer name text box, key ServerDC and click OK. A message box appears, prompting you to restart your computer. 12. Click OK, then click Close to close the System Properties dialog box. Another message box appears, informing you again that you must restart the computer. 13. Click Restart Now. The computer restarts.
The ServerDC computer must be an Active Directory domain controller. After the computer restarts, you can install the Active Directory Domain Services role and the Active Directory Domain Services Installation Wizard.
INSTALL ACTIVE DIRECTORY To install Active Directory on ServerDC, use the following procedure.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
496 | Appendix B
After the server restarts, it functions as the domain controller for the contoso.com domain. Students must log on to the domain in all of the lab exercises.
INSTALLING THE DHCP SERVER ROLE To install the DHCP server on ServerDC, use the following procedure.
INSTALL THE DHCP SERVER ROLE
1. Log on with the domain Administrator account using the password P@ssw0rd. 2. When the Initial Conguration Tasks window appears, click Add Roles. The Add Roles Wizard appears. 3. Using the Add Roles Wizard, install the DHCP Server role. 4. On the Select Network Connection Bindings page, click Next to accept the default settings. 5. On the Specify IPv4 DNS Server Settings page, click Next to accept the default settings. 6. On the Specify IPv4 WINS Server Settings page, click Next to accept the default settings. 7. On the Add or Edit DHCP Scopes page, click Add.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
TAKE NOTE
If the classroom network is connected to a school network or the Internet, you can specify the address of the router providing the network connection in the Default Gateway field. Otherwise, leave it blank.
8. In the Add Scope dialog box, create a scope using the following values: Scope Name: Classroom Starting IP Address: 10.1.1.101 Ending IP Address: 10.1.1.199 Subnet Mask: 255.255.255.0 Subnet Type: Wired 9. Select the Activate this scope checkbox and click OK. Then click Next. 10. On the Congure DHCPv6 Stateless Mode page, select the Disable DHCPv6 stateless mode for the server option and click Next. 11. On the Authorize DHCP Server page, click Next to accept the default settings. 12. On the Conrm Installation Selections page, click Install. CLOSE the Initial Conguration Tasks window when the installation is complete.
After the DHCP role is installed, all student servers will obtain their IP addresses and other TCP/IP configuration settings via DHCP.
CREATING USER ACCOUNTS Each student must have a domain user account called Student##, where ## is the same number as the computer the student is using. To create the student accounts, use the following procedure.
CREATE USER ACCOUNTS
1. Click Start, and then select Administrative Tools Active Directory Users and Computers. The Active Directory Users and Computers console appears. 2. Expand the contoso.com domain. 3. Right-click the Users container and select New User. The New Object-User Wizard appears. 4. Key Student## in the First Name and User Logon Name text boxes, where ## is the number assigned to the rst student computer in the classroom. Then click Next. 5. In the Password and Confirm Password text boxes, key P@ssw0rd. 6. Clear the User Must Change Password At Next Logon checkbox and select the Password Never Expires checkbox. Then click Next. 7. Click Finish to create the user account. 8. Repeat steps 37 to create a Student## user account for each computer in the classroom. 9. Right-click the Users container and select New Group. The New Object-Group Wizard appears. 10. In the Group Name text box, key Students. Then click Next. 11. Click Finish to create the group. 12. In the Users container, double-click the Students group you just created. The Students Properties sheet appears. 13. Click the Members tab. 14. Click Add, key the name of the rst Student## user you created, and click OK. 15. Repeat step 14 to add all the Student## accounts you created to the Students group. 16. Click OK to close the Students Properties sheet.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
498 | Appendix B 17. Using the same procedure, open the Properties sheet for the Domain Admins group and add the Students group to the Domain Admins group as a member. CLOSE the Active Directory Users and Computers console.
The students will use these Student## accounts to log on to the domain as they complete the exercises in the lab manual. Their membership in the Students group provides domain administrator privileges, as well as local Administrator privileges on their individual servers.
PREPARING THE FILE SYSTEM From the Microsoft Download Center Website at www.microsoft.com/downloads, download the following software packages:
Windows Automated Installation Kit for Windows Server 2008 Windows Server Update Services 3.0 SP1 Microsoft Report Viewer Redistributable 2008 You will also need a Windows Server 2008 installation disk. Complete the following procedure to make these software resources modules available to the students and provide the students with storage on the classroom server. PREPARE THE FILE SYSTEM
1. On the servers C drive, create a new folder called \Install and three subfolders called \Install\WindowsAIK, \Install\WSUS3.0SP1, and \Install\WinSvr2008. 2. Burn the Windows Automated Installation Kit image le you downloaded to a DVD and copy the entire contents of the disk to the \Install\WindowsAIK folder. 3. Copy the entire contents of the Windows Server 2008 installation disk to the \Install\WinSvr2008 folder. 4. Copy the Windows Server Update Services 3.0 SP1 and Microsoft Report Viewer Redistributable 2008 packages you downloaded to the \Install\WSUS3.0SP1 folder. 5. Share the C:\Install folder using the share name Install, and then grant only the Allow Read share permission to the Everyone special identity. 6. Using Windows Explorer, grant the Students group the Allow Read, Allow Read & Execute, and Allow List Folder Contents NTFS permissions for the C:\Install folder. 7. Also on the servers C drive, create a new folder called \Students and copy the \Worksheets folder from your instructor disk to the C:\Students folder. 8. Grant the Students group the Allow Full Control NTFS permission for the C:\Students folder. 9. Share the C:\Students folder using the share name Students, and then grant the Everyone special identity and the Allow Full Control share permission. CLOSE the Windows Explorer window.
These folders provide students with the additional software they need to complete the lab exercises and storage space to keep their lab worksheet files.
CONFIGURING FILE REDIRECTION To complete the lab exercises, each student must be able to store files on the classroom server. Use Group Policy to redirect each users Documents folder to the classroom server drive, using the following procedure.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
When students log on to their computers, their Documents folders will now be redirected.
INSTALLING AND CONFIGURING WSUS To enable the students to install and use Windows Server Update Services, you will install WSUS on the classroom server. To install WSUS, you must have the Web Server (IIS) role installed, as shown in the following procedure.
INSTALL THE WEB SERVER (IIS) ROLE
1. Click Start. Then click Administrative Tools Server Manager. Click Continue in the User Account Control message box and the Server Manager console appears. 2. Select the Roles node and, in the detail pane, click Add Roles. The Add Roles Wizard appears. 3. Click Next to bypass the Before You Begin page. The Select Server Roles page appears. 4. Select the Web Server (IIS) check box and click Next. An Add Roles Wizard message box appears, listing the features that are required to add the Web Server (IIS) role. 5. Click Add Required Features, then click Next. The Introduction to Web Server (IIS) page appears. 6. Click Next to bypass the introductory page. The Select Role Services page appears. 7. Select the ASP.NET checkbox. An Add Roles Wizard message box appears, listing the role services and features that are required to add the ASP.NET role service. 8. Click Add Required Role Services. 9. Select the Windows Authentication and IIS 6.0 Management Compatibility checkboxes and click Next. The Conrm Installation Selections page appears. 10. Click Install. The wizard installs the role. 11. Click Close.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
Once you have installed the Web Server (IIS) role, you can proceed to install and configure WSUS, as shown in the following procedure.
TAKE NOTE
To complete this procedure, the computer must have access to the Internet. You can temporarily modify the TCP/IP configuration parameters, if necessary, to make this possible.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
Lab Setup Guide | 501 21. Click Start Connecting. The wizard connects to the Microsoft Update site and downloads a list of available updates. 22. Click Next. The Choose Languages page appears. 23. Click Next to accept the default settings. The Choose Products page appears. 24. Clear the Office checkbox and the Windows checkbox. 25. Select all of the Windows Server 2008 and Windows Vista checkboxes and click Next. The Choose Classications page appears. 26. Click Next to accept the default selections. The Set Sync Schedule page appears. 27. Leave the Synchronize manually option selected and click Next. The Finished page appears. 28. Clear the Launch the Windows Server Update Services Administration Console and Begin initial synchronization checkboxes and click Next. The Whats Next page appears. 29. Click Finish. The wizard closes. 30. Click Start. Then click Administrative Tools Microsoft Windows Server Update Services 3.0 SP1. Click Continue in the User Account Control message box and the Update Services console appears. 31. In the scope (left) pane, select the SERVER## node. 32. In the detail pane, click Synchronize now. 33. Wait for the synchronization process to nish. This could take several minutes, depending on the speed of your Internet connection.
The computer is now ready to function as the classroom server. You can install the student servers.
TAKE NOTE
Depending on the capabilities of your virtualization software and the type of licensing your school provides, you can perform a Windows Server 2008 installation on a single virtual machine and then clone multiple instances of that virtual machine, rather than perform each OS installation individually. Web-hosted virtual machinesIf your students will access virtual machines provided by a commercial service over the Web, then your classroom computers can run any operating system that provides the appropriate Web browser application. All of the operating systems are preinstalled, so you can skip the following procedure. Using the following setup procedure, install Windows Server 2008 on the student computers.
WARNING By performing
the following setup instructions, your computers hard disks will be repartitioned and reformatted. You will lose all existing data on the system.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
502 | Appendix B
TAKE NOTE
If you plan to use unregistered evaluation versions of Windows Server 2008 in the classroom, you can leave the Product key field blank and, in the Select the edition of Windows that you purchased window that subsequently appears, select Windows Server 2008 Enterprise (Full Installation) for the version you want to install.
5. Select the I accept the license terms checkbox and click Next. The Which type of installation do you want? page appears. 6. Click Custom. The Where do you want to install Windows? page appears. 7. Select the disk where you want to install Windows Server 2008 and click Drive Options. 8. Click New. In the Size text box, key 40000. Click Apply. 9. Select the partition you just created and click Next. The Installing Windows page appears. 10. When the installation process is complete, the computer restarts and prompts you to change the Administrator password. Click OK.
TAKE NOTE
If your computer supports booting from CD/DVD, the computer might try to boot from the Windows Server 2008 disk after Windows Server 2008 Setup restarts. If this happens, you should be prompted to press a key to boot from the disk. However, if Setup restarts automatically, simply remove the disk and restart the computer.
11. Key P@ssw0rd in the New Password and Confirm Password text boxes and click the right arrow button. Then click OK. Windows Server 2008 starts and the Initial Conguration Tasks window appears. 12. Install any updates needed to keep the operating system current. CLOSE the Initial Conguration Tasks window.
The computer is ready for a student to begin working through the lab manual. The student will perform all of the initial configuration tasks that the computer requires.
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
CREATE A WINDOWS PE BOOT DISK GET READY. Log on to a Windows Server 2008 computer using an account with Administrative privileges. When the logon process is completed, close the Initial Configuration Tasks window or any other windows that appear.
1. Insert the Windows AIK disk you created earlier into the computers DVD drive. A Welcome to Windows Automated Installation Kit window appears. 2. Click Windows AIK Setup. The Windows Automated Installation Kit Setup Wizard appears. 3. Click Next to bypass the Welcome to the Windows Automated Installation Kit Setup Wizard page. The License Terms page appears. 4. Select the I Agree option and click Next. The Select Installation Folder page appears. 5. Click Next to accept the default settings. The Conrm Installation page appears. 6. Click Next to begin the installation. The wizard installs the Windows AIK, and then the Installation Complete page appears. 7. Open Windows Explorer and create a new folder called C:\Images. 8. Open a Command Prompt window and switch to your PETools folder by keying the following command and pressing Enter:
cd\Program Files\Windows AIK\Tools\PETools
9. Run the Copype.cmd script by keying the following command and pressing Enter. This command creates a WinPE folder on your local drive containing the Windows PE boot les. If you are running a 64-bit version of Windows on your technician computer, use the parameter amd64 or ia64, instead of x86.
copype.cmd x86 c:\WinPE
10. Copy the ImageX.exe program to the Windows PE boot les folder by keying the following command and pressing Enter.
copy "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" c:\WinPE\iso\
11. Using Notepad, create a new text le containing the following instructions and save it to the C:\WinPE\iso folder, using the le name Wimscript.ini. ImageX.exe automatically searches for a le with this name when creating an image, and omits the les and folders in the [Exclusion List] section from the image it creates. These les are not needed in the image because Windows Server 2008 creates them automatically when it starts. The lespecs in the [CompressionExclusionList] section represent les that are already compressed, so it is not necessary for ImageX.exe to try to compress them again.
[ExclusionList] ntfs.log hiberfil.sys pagefile.sys "System Volume Information" RECYCLER Windows\CSC [CompressionExclusionList] *.mp3
/Volumes/102/JWCL089/work%0/indd%0/MOAC_Appendix
504 | Appendix B
*.zip *.cab \WINDOWS\inf\*.pnf
12. Switch to your PETools folder by keying the following command and pressing Enter.
cd\program files\Windows AIK\Tools\x86
13. Create a Windows PE boot disk image by keying the following command and pressing Enter.
oscdimg -n bc:\winpe\etfsboot.com c:\winpe\ISO c:\winpe\ winpe.iso
14. Burn the Winpe.iso image le in the C:\WinPE folder to a CD-ROM. This creates a Windows PE boot disk that students can use to start their computers. 15. Copy the Windows PE boot disk to create as many as you need for your students. CLOSE all open windows on the computer.