PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2008by Anil DesaiandJ.C. Mackin All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. Library of Congress Control Number:2008920566 Printed and bound in the United States of America. 1 2 3 4 5 6 7 8 9 QWT 32 1 0 9 8 Distributed in Canada by H.B. Fenn and Company Ltd. A CIP catalogue record for this book is available from the British Library. Microsoft Press books are available through booksellers and distributors worldwide. For further infor- mation about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress. Send comments to [email protected]. Microsoft, Microsoft Press, Active Directory, ActiveX, Aero, BitLocker, Excel, Internet Explorer, MSDN, MS-DOS, Outlook, RemoteApp, SharePoint, SQL Server, Visio, Visual Basic, Visual Studio, Win32, Windows, Windows Live, Windows Media, Windows NT, Windows PowerShell, Windows Server, and Windows Vistaare either registered trademarksor trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners. The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. This book expresses t(cid:75)(cid:72)(cid:3)(cid:68)(cid:88)(cid:87)(cid:75)(cid:82)(cid:85)(cid:182)(cid:86)(cid:3)(cid:89)(cid:76)(cid:72)(cid:90)(cid:86)(cid:3)(cid:68)(cid:81)(cid:71)(cid:3)(cid:82)(cid:83)(cid:76)(cid:81)(cid:76)(cid:82)(cid:81)(cid:86)(cid:17)(cid:3)(cid:55)(cid:75)(cid:72)(cid:3)(cid:76)(cid:81)(cid:73)(cid:82)(cid:85)(cid:80)(cid:68)(cid:87)(cid:76)(cid:82)(cid:81)(cid:3)(cid:70)(cid:82)(cid:81)(cid:87)(cid:68)(cid:76)(cid:81)(cid:72)(cid:71)(cid:3)(cid:76)(cid:81)(cid:3)(cid:87)(cid:75)(cid:76)(cid:86)(cid:3)(cid:69)(cid:82)(cid:82)(cid:78)(cid:3)(cid:76)(cid:86)(cid:3)(cid:83)(cid:85)(cid:82)(cid:89)(cid:76)(cid:71)(cid:72)(cid:71)(cid:3) without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book. Acquisitions Editor:Ken Jones Developmental Editor:Laura Sackerman Project Editor:Maria Gargiulo Editorial Production:nSight, Inc. Technical Reviewer:Bob Hogan Cover:Tom DraperDesign Body Part No. X14-37563 Section No. X14-54819 (cid:3) About the Authors J.C. Mackin J.C. Mackin (MCITP, MCTS, MCSE, MCDST, MCT) is a writer, editor, consultant, and trainer who has been working with Microsoft networks for more than a decade. Books he has previously authored or co- authored include MCSA/MCSE Self-Paced Training Kit (Exam 70-291): Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure; MCITP Self-Paced Training Kit (Exam 70-443): Designing a Database Server Infrastructure Using Microsoft SQL Server 2005; and MCITPSelf-Paced Training Kit (Exam 70-622): Supporting and Troubleshooting Applications on a Windows Vista Client for Enterprise Support Technicians. He also holds a master’s degree in telecommunications and network management. When not working with computers, J.C. can be found with a panoramic camera photograph- ing medieval villages in Italy or France. Anil Desai Anil Desai (MCITP, MCSE, MCSD) is an independent consultant based in Austin, Texas. He specializes in evaluating, implementing, and managing IT solutions. He has worked extensively with Microsoft server products and the Microsoft .NET development platform and has more than 12 years of IT experience. Anil is a Microsoft MVP (Windows Server – Management Infrastructure). Anil is the author of numerous technical books focusing on Microsoft certifications, the Windows Server platform, virtualiza- tion, Active Directory, Microsoft SQL Server, and IT management topics. He has made dozens of conference presentations at national events and is a contributor to several online and print magazines. In his spare time, he enjoys cycling, playing guitar and drums, and playing games on his Xbox 360. For more information, please see http://AnilDesai.net. Contents at a Glance 1 Implementing and Configuring a Windows Deployment Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Configuring Server Storage and Clusters. . . . . . . . . . . . . . . . . . . . . . . . . .81 3 Installing and Configuring Terminal Services . . . . . . . . . . . . . . . . . . . . .129 4 Configuring and Managing a Terminal Services Infrastructure . . . . . .179 5 Installing and Configuring Web Applications. . . . . . . . . . . . . . . . . . . . .239 6 Managing Web Server Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309 7 Configuring FTP and SMTP Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . .377 8 Configuring Windows Media Services . . . . . . . . . . . . . . . . . . . . . . . . . . .437 9 Configuring Windows SharePoint Services . . . . . . . . . . . . . . . . . . . . . . .487 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .537 Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .559 Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .567 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .639 v Table of Contents Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Hardware Requirements (Virtual PC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvii Hardware Requirements (Physical) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii Software Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Practice Setup Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Phase 1: Create the Virtual Machines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi Phase 2: Configure the Operating Systems on Server1 and Core1 . . . . . . . . xxiv Phase 3: Configure Internet Access for the Contoso.com Network. . . . . . . . xxix Phase 4: Activate the Servers (Recommended). . . . . . . . . . . . . . . . . . . . . . . . . xxxi Using the CD and DVD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxi How to Install the Practice Tests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxxii How to Use the Practice Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxxii How to Uninstall the Practice Tests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiv Microsoft Certified Professional Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiv Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiv 1 Implementing and Configuring a Windows Deployment Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Lesson 1: Deploying Windows in a Windows Server 2008 Environment. . . . . . . . . . .3 Windows Deployment Fundamentals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Windows Deployment Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 Practice: Creating a Windows PE CD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Lesson Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 What do you think of this book? We want to hear from you! Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for you. To participate in a brief online survey, please visit: www.microsoft.com/learning/booksurvey/ vii viii Table of Contents Lesson 2: Configuring Windows Deployment Services . . . . . . . . . . . . . . . . . . . . . . . . 16 Introducing Windows Deployment Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Understanding WDS Infrastructure Components . . . . . . . . . . . . . . . . . . . . . . . . 17 Installing WDS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Configuring WDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Capturing Images with WDS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Deploying Images with WDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Practice: Configuring Windows Deployment Services . . . . . . . . . . . . . . . . . . . . 37 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Lesson Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Lesson 3: Deploying Virtual Machines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 What Are Virtual Machines?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Virtual PC 2007. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Virtual Server 2005 R2 SP1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Hyper-V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Lesson Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Lesson 4: Implementing a Windows Activation Infrastructure. . . . . . . . . . . . . . . . . . 63 Product Activation Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Implementing MAK Activation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Implementing KMS Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Activation Infrastructure Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Practice: Activating Windows Server 2008. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Lesson Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Chapter Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Chapter Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Key Terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Case Scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Case Scenario 1: Deploying Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Case Scenario 2: Creating an Activation Infrastructure . . . . . . . . . . . . . . . . . . . 78 Suggested Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Deploy Images by Using Windows Deployment Services . . . . . . . . . . . . . . . . . 78 Table of Contents ix Configure Windows Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 Configure Hyper-V and Virtual Machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 Take a Practice Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80 2 Configuring Server Storage and Clusters. . . . . . . . . . . . . . . . . . . . . . . . . .81 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 Lesson 1: Configuring Server Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 Understanding Server Storage Technologies. . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 Managing Disks, Volumes, and Partitions in Windows Server 2008 . . . . . . . . .89 Practice: Working with Disk Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Lesson Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Lesson 2: Configuring Server Clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Server Cluster Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Configuring an NLB Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Creating a Failover Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Practice: Exploring Failover Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Lesson Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Chapter Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Case Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Case Scenario 1: Designing Storage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Case Scenario 2: Designing High Availability . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Suggested Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Configure Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Configure High Availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Take a Practice Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 3 Installing and Configuring Terminal Services . . . . . . . . . . . . . . . . . . . . .129 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Lesson 1: Deploying a Terminal Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Understanding Terminal Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 x Table of Contents Enabling Remote Desktop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Installing Terminal Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Staging the Terminal Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Practice: Installing a Terminal Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Lesson Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Lesson 2: Configuring Terminal Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Introducing the Terminal Services Configuration Console. . . . . . . . . . . . . . . . 152 Configuring Connection (RDP-Tcp) Properties . . . . . . . . . . . . . . . . . . . . . . . . . 153 Configuring Terminal Services Server Properties. . . . . . . . . . . . . . . . . . . . . . . . 162 Configuring Terminal Services Printer Redirection . . . . . . . . . . . . . . . . . . . . . . 166 Practice: Installing and Configuring a License Server. . . . . . . . . . . . . . . . . . . . 168 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Lesson Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Chapter Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Chapter Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Key Terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Case Scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Case Scenario 1: Choosing a TS Licensing Strategy . . . . . . . . . . . . . . . . . . . . . 177 Case Scenario 2: Troubleshooting a Terminal Services Installation . . . . . . . . 177 Suggested Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Deploy a Terminal Server Farm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Watch a Webcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Take a Practice Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 4 Configuring and Managing a Terminal Services Infrastructure. . . . . . 179 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 Lesson 1: Configuring and Managing Terminal Services Clients . . . . . . . . . . . . . . . 181 Configuring Terminal Services Client Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Configuring User Profiles for Terminal Services. . . . . . . . . . . . . . . . . . . . . . . . . 187 Managing Terminal Services User Connections. . . . . . . . . . . . . . . . . . . . . . . . . 189 Managing Resources in Client Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 Practice: Managing Client Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 Lesson Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Description: