Mastering Microsoft Windows 7 ® ® Administration Mastering Microsoft Windows 7 ® ® Administration William Panek Tylor Wentworth Wiley Publishing, Inc. AcquisitionsEditor:AgathaKim DevelopmentEditor:JenniferLeland TechnicalEditor:RodneyR.Fournier Production Editor:ChristineO’Connor Copy Editor:ElizabethWelch Editorial Manager:Pete Gaughan Production Manager:TimTate VicePresidentandExecutiveGroup Publisher:RichardSwadley VicePresidentandPublisher:NeilEdde Book Designer:MaureenForys,HappenstanceType-O-RamaandJudyFung Proofreader:NancyBell Indexer:TedLaux Project Coordinator, Cover:LynseyStanford Cover Designer:RyanSneed Cover Image:PeteGardner/DigitalVision/GettyImages Copyright©2010by WileyPublishing,Inc.,Indianapolis,Indiana Publishedsimultaneously inCanada ISBN:978-0-470-55984-0 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means,electronic,mechanical,photocopying,recording,scanningor otherwise,exceptaspermittedunderSections107 or108ofthe1976UnitedStatesCopyrightAct,withouteitherthepriorwrittenpermissionofthePublisher,orautho- rization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers,MA 01923, (978) 750-8400, fax(978) 646-8600. Requeststo thePublisher for permission should be addressed tothePermissionsDepartment,JohnWiley&Sons,Inc.,111RiverStreet,Hoboken,NJ07030,(201)748-6011,fax(201) 748-6008,or onlineat http://www.wiley.com/go/permissions. Limit of Liability/Disclaimerof Warranty: The publisher and the author make no representationsor warranties with respect to the accuracy or completenessof the contentsof this work and specifically disclaim all warranties, includ- ing without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engagedin rendering legal, accounting, or other professional services.If professional assistance is required,the servicesof a competentprofessional person should be sought. Neitherthe publishernor the author shall be liable for damagesarising herefrom.The fact that an organiza- tion or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or rec- ommendations it may make. Further,readers should be aware that Internet Web sites listed in this work may have changedor disappearedbetweenwhenthiswork waswrittenandwhenitisread. For general information on our other products and services or to obtain technical support, please contact our Cus- tomerCare DepartmentwithintheU.S.at (877) 762-2974,outside theU.S.at (317) 572-3993or fax(317)572-4002. Wileyalsopublishesitsbooksinavarietyofelectronicformats.Somecontentthatappearsinprintmaynotbeavail- able inelectronicbooks. Library ofCongressCataloging-in-PublicationData Panek,William,1970- MasteringMicrosoft Windows7administration/WilliamPanek,Tylor Wentworth. p.cm. ISBN 978-0-470-55984-0(paper/website) 1.Microsoft Windows(Computer file)2.Operatingsystems(Computers)I.Wentworth,Tylor,1962- II.Title. QA76.76.O63P3365 2010 005.4’32–dc22 2009043726 TRADEMARKS: Wiley,the Wileylogo, and the Sybexlogoaretrademarksor registeredtrademarksof John Wiley& Sons,Inc.and/oritsaffiliates,intheUnitedStatesandothercountries,andmaynotbeusedwithoutwrittenpermis- sion. Microsoft and Windows are registeredtrademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated withanyproduct or vendormentionedin thisbook. 10987654321 DearReader, Thank you for choosing Mastering Microsoft Windows 7 Administration. This book is part of a family of premium-quality Sybex books, all of which are written by outstanding authors who combinepractical experiencewitha gift forteaching. Sybex was founded in 1976.More than 30 years later, we’re still committed to producing con- sistently exceptional books. With each of our titles, we’re working hard to set a new standard fortheindustry. From thepaperweprint on,totheauthorsweworkwith,ourgoalis tobring youthebestbooksavailable. I hope you see all that reflected in these pages. I’d be very interested to hear your comments and get your feedback on how we’re doing. Feel free to let me know what you think about this oranyotherSybexbookbysending meanemailat [email protected]. If youthinkyou’ve founda technical errorin this book,please visit http://sybex.custhelp.com. Customerfeed- backiscritical tooureffortsat Sybex. Bestregards, NeilEdde VicePresidentandPublisher Sybex,anImprintofWiley Acknowledgments I would like to thank my wife Crystal and my two daughters, Alexandria and Paige, forall of their love andsupport duringthewriting ofallmybooks.Theymakeit allworthwhile. I havetothankmycoauthorofthisbook,TylorWentworth.He is abusiness partner,a con- fidant,a GREAT familyman,butmost importantly,myfriend. Ialwaysendup laughing every time wegettogetherandthat’simportantin thisworld. I want to thank my family and especially my brothers Rick, Gary, and Rob. They have alwaysbeenthereforme. IwouldliketothankJeremyHodgson,mytrainingpartner,whospendsmoretimewithme ontheroadthananyoneelse.His sense ofhumorkeepsmesmiling evenwhenIamhomesick. I want to thank one of my close friends, Todd Lammle, for his inspiration and friendship whenwegettogethereverymonth.He is trulyoneofthegreatonesin thisindustry. I want to thank another close friend, Dennis Gibbs, for always being there when I needed him andforall hispushing togetme tothegym everytime Iam ontheroad. Finally, I want to thank everyone from Sybex who backed me up on this book: especially JenniferLeland, who constantly pushed to make this the best bookpossible; Rodney Fournier, whohasbeenmytechnicaleditoronmultiple books,including thisone,becausehealwayshas my back; Christine O’Connor, who did a great job keepingall the edits organized; and finally, Agatha Kim, who was the lead for the entire book. She was always there for us and she was greattowritefor.Thanksto youall andeveryoneelse behindthescenesonthis book. —WilliamPanek I would like to acknowledge and thank my wife and best friend, Julie. Without her support, understanding, and putting up with me walking around in a daze most of the time, I would nothave beenableto completethis project. My son Travis and daughter Jessie were also instrumental in maintaining my day-to-day sanity. Iwouldlike tothankmypersonalmotivatorandwriting/businesspartner,Will Panek,who kept me focused and going down the correct path; I couldn’t possibly have done this with- outhim. The editing staff at Wiley Publishing has been extremely easy to work with and I thank them as well. I would like to especially thank Jen Leland for her help, her patience with me, and her guidance; she has allowed me to see just how much I didn’t know about writing and given me theopportunitytolearnit in anenjoyabledialogue duringoureditingprocess. —TylorWentworth About the Authors William Panek (MCP®, MCP+I®, MCSA®, MCSA® w/Security & Messaging, MCSE – NT ® ® ® ® (3.51 & 4.0) , MCSE – 2000 & 2003 , MCSE w/Security & Messaging, MCDBA , MCT , ® ® ® ® MCTS , MCITP , CCNA , CHFI ) After many successful years in the computer industry and a degree in computer programming, William Panek decided that he could betteruse his talents and his personality as an instructor. He started teaching for such schools as Boston University, ClarkUniversity, andGlobalNet,just tonameafew. In 1998 William Panek started Stellacon Corporation. Stellacon has become one of New England’s most respected training companies. Stellacon is also a two-time winner of the Best ComputerSchoolawardinPortsmouth,NewHampshire. William brings yearsofreal-worldexpertisetothe classroom andstrives toensure thateach andeverystudent hasanunderstanding ofthecourse material. William currently lives in NewHampshire with hiswife andtwo girls. In his spare time he likes togolf,ski, andsnowmobile.William is also acommercially ratedhelicopterpilot. Tylor Wentworth (MCP, MCSA, MCSA /Security & Messaging, MCSE – NT4.0, MCSE – 2000 &2003,MCSEw/Security&Messaging,MCTS, MCITP,MCT,CEH,CHFI,CSI,CCNA,CCNP, BSEE, FCC RF Licensed) is a memberof the IEEE, with membership in the standards commit- tee.Tylor hasbeeninvolved in computersandnetworkingforover17years. Tylor has provided training for companies such as CA Inc., Liberty Mutual, Time Warner, FairPoint Communications, Enterasys, and many more. He has shared his networking knowledge and experience while developing and delivering custom curriculum for numerous networkinfrastructure classes aswellassecurity classes. Tylor delivers Microsoft Official Curriculum bothpublicly and privately on a regular basis. TylorandhiswifeJulieownIntelligenceQuestLLC,whichofferscustomizedtrainingsolutions forseveraltrainingcentersaswellasforcorporateclients. IntelligenceQuest LLC offersawide rangeofofficial training formultiple vendorsaswell. Tylor currently lives in Maine with his wife Julie and their two dogs. Tylor’s son Travis is enrolled in a chemical engineeringgraduate program, and his daughter Jessie is pursuing sev- eralavenuesin business while focusing onIntelligence Quest LLC. Contents at a Glance Introduction ................................................................. xix Chapter1 • OverviewofWindows7 ......................................1 Chapter2 • InstallingWindows7........................................ 11 Chapter3 • AutomatingtheWindows7Installation ......................... 47 Chapter4 • ConfiguringDisks .......................................... 83 Chapter5 • ManagingtheWindows7Desktop............................ 123 Chapter6 • ManagingtheInterface ..................................... 155 Chapter7 • UsingRemoteAssistanceandRemoteDesktop .................. 195 Chapter8 • ConfiguringUsersandGroups ............................... 227 Chapter9 • ManagingSecurity......................................... 261 Chapter10 • ConfiguringHardwareandPrinters .......................... 321 Chapter11 • ConfiguringNetworkConnectivity........................... 357 Chapter12 • NetworkingwithWindowsServer2008 ....................... 403 Chapter13 • ConfiguringInternetExplorer8 ............................. 427 Chapter14 • InstallingandConfiguringApplications....................... 459 Chapter15 • MaintainingandOptimizingWindows7 ...................... 493 AppendixA • TheBottomLine ........................................ 539 Index ...................................................................... 563 Contents Introduction ................................................................. xix Chapter1 • OverviewofWindows7 ..............................1 IntroducingWindows7..................................................1 OverviewofWindowsXP .............................................1 WindowsXPServicePack3 ............................................2 OverviewofWindowsVista............................................3 NewFeaturesinWindows7 ..............................................5 Windows7Architecture .................................................8 32-Bitvs.64-Bit ........................................................8 TheBottomLine .......................................................9 Chapter2 • InstallingWindows7............................... 11 PreparingtoInstallWindows7........................................... 11 Windows7Editions ................................................. 12 HardwareRequirements ............................................. 17 TheHardwareCompatibilityList....................................... 19 NewInstallorUpgrade? ............................................. 20 DiskSpacePartitioning............................................... 25 LanguageandLocale ................................................ 26 InstallingWindows7................................................... 26 PerformingaCleanInstallofWindows7................................. 27 PerforminganUpgradetoWindows7................................... 32 TroubleshootingInstallationProblems................................... 34 MigratingFilesandSettings........................................... 35 UpgradingfromWindowsXPtoWindows7.............................. 38 SupportingMultibootOptions ......................................... 40 UsingWindowsActivation ........................................... 41 UsingWindowsUpdate .............................................. 42 InstallingWindowsServicePacks ...................................... 45 TheBottomLine ...................................................... 45 Chapter3 • AutomatingtheWindows7Installation..................47 ChoosingAutomatedDeploymentOptions ................................. 48 IntroducingtheMicrosoftDeploymentToolkit(MDT)2010 .................. 48 PerforminganUnattendedInstallation .................................. 52 UsingWindowsDeploymentServices ................................... 54 UsingtheSystemPreparationToolandDiskImaging ...................... 55 UsingtheWindowsAutomatedInstallationKit(WindowsAIK) .............. 58 SummaryofWindows7DeploymentTools............................... 59 xii CONTENTS DeployingUnattendedInstallations ....................................... 61 UsingtheSystemPreparationTooltoPrepareanInstallationforImaging....... 61 PreparingaWindows7Installation ..................................... 63 UsingImageXtoCreateaDiskImage ................................... 64 InstallingfromaDiskImage .......................................... 65 UsingWindowsSystemImageManagertoCreateAnswerFiles .............. 66 UsingWindowsDeploymentServices(WDS) ............................. 70 MicrosoftAssessmentandPlanning(MAP)Toolkit ........................ 76 MAPSystemRequirements ........................................... 78 TheBottomLine ...................................................... 80 Chapter4 • ConfiguringDisks .................................83 ConfiguringFileSystems................................................ 84 SelectingaFileSystem ............................................... 84 ConvertingaFileSystem ............................................. 86 ConfiguringDiskStorage ............................................... 87 BasicStorage....................................................... 87 DynamicStorage.................................................... 87 GUIDPartitionTable ................................................ 89 AccessingandManagingtheDiskManagementUtility........................ 90 UsingtheMMC .................................................... 90 AccessingtheMMC ................................................. 91 AccessingtheDiskManagementUtility.................................. 93 ManagingAdministrativeHardDiskTasks............................... 94 ManagingDynamicStorage ............................................ 106 CreatingSimple,Spanned,andStripedVolumes.......................... 106 CreatingExtendedVolumes.......................................... 107 TroubleshootingDiskManagement ...................................... 108 UsingDiskManagementStatusCodes.................................. 108 TroubleshootingDisksThatFailtoInitialize ............................. 109 ManagingDataCompression ........................................... 110 UsingtheCompactCommand-LineUtility .............................. 111 UsingCompressed(Zipped)Folders ................................... 111 ManagingDataEncryptionwithEFS ..................................... 112 EncryptingandDecryptingFoldersandFiles ............................ 112 ManagingEFSFileSharing........................................... 113 UsingtheDRAtoRecoverEncryptedData .............................. 114 CreatingaDRAonaStand-AloneWindows7Computer................... 114 RecoveringEncryptedFiles .......................................... 116 UsingtheCipherUtility ............................................. 116 UsingDiskMaintenanceTools .......................................... 117 RunningtheDiskDefragmentUtility .................................. 117 RunningtheDiskCleanupUtility ..................................... 119 RunningtheCheckDiskUtility ....................................... 119 TheBottomLine ..................................................... 120 CONTENTS xiii Chapter5 • ManagingtheWindows7Desktop .................... 123 ConfiguringDesktopSettings ........................................... 123 ConfiguringWindowsAero .......................................... 128 CustomizingtheTaskbarandStartMenu ............................... 131 ConfiguringShortcuts............................................... 135 ConfiguringWindowsGadgets.......................................... 136 ManagingMultipleLanguagesandRegionalSettings ........................ 138 ConfiguringMultilingualTechnology .................................. 138 ConfiguringWindows7MultilanguageSupport.......................... 139 EnablingandConfiguringMultilingualSupport.......................... 140 ConfiguringAccessibilityFeatures ....................................... 144 SettingAccessibilityOptions ......................................... 144 ConfiguringAccessibilityUtilities ..................................... 148 ConfiguringthePowerButton .......................................... 149 ManagingaMultiple-UserEnvironment .................................. 150 ManagingUserProfiles................................................ 151 TheBottomLine ..................................................... 153 Chapter6 • ManagingtheInterface ............................ 155 ConfiguringWindows7 ............................................... 155 What’sinControlPanel? ............................................ 156 UnderstandingtheSystemIcon ....................................... 170 UsingtheRegistryEditor ............................................ 176 ManagingDisplayDevices ............................................. 177 ConfiguringVideoAdapters ......................................... 178 UsingMultiple-DisplaySupport ...................................... 181 PowerManagementforMobileComputerHardware ........................ 182 RecognizingtheImprovementstoPowerManagement .................... 182 ManagingPowerStates ............................................. 183 ManagingPowerOptions............................................ 184 ConfiguringPowerPlans ............................................ 184 ConfiguringAdvancedPowerSettings.................................... 185 ConfiguringHibernation ............................................ 186 ManagingPowerConsumptionUsingtheBatteryMeter ................... 186 UsingWindowsReadyBoostandWindows7 ............................ 187 ConfiguringAdvancedSettings ....................................... 187 ManagingWindows7Services .......................................... 187 TheBottomLine ..................................................... 192 Chapter7 • UsingRemoteAssistanceandRemoteDesktop ............ 195 UsingRemoteAssistance .............................................. 196 NewandUpdatedFeaturesinRemoteAssistance......................... 196 UsingEasyConnect ................................................ 196 RequestinganInvitationasaFile...................................... 201 RequestinganInvitationasEmail ..................................... 203
Description: