Mastering Windows 7 Deployment - Buch.de · PDF fileMastering Windows ® 7 Deployment Aidan...

15

Transcript of Mastering Windows 7 Deployment - Buch.de · PDF fileMastering Windows ® 7 Deployment Aidan...

MasteringWindows® 7 Deployment

MasteringWindows® 7 Deployment

Aidan Finn

Darril Gibson

Kenneth van Surksum

Acquisitions Editor: Agatha Kim

Development Editor: Candace English

Technical Editors: Johan Arwidmark and Mikael Nyström

Production Editor: Christine O’Connor

Copy Editor: Elizabeth Welch

Editorial Manager: Pete Gaughan

Production Manager: Tim Tate

Vice President and Executive Group Publisher: Richard Swadley

Vice President and Publisher: Neil Edde

Book Designers: Judy Fung and Maureen Forys, Happenstance Type-O-Rama

Compositor: Jeff Lytle, Happenstance Type-O-Rama

Proofreader: Jen Larsen, Word One New York

Indexer: Nancy Guenther

Project Coordinator, Cover: Katherine Crocker

Cover Designer: Ryan Sneed

Cover Image: © Pete Gardner/DigitalVision/Getty Images

Copyright © 2011 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada

ISBN: 978-0-470-60031-3 978-1-118-06802-1 (ebk.) 978-1-118-06804-5 (ebk.) 978-1-118-06803-8 (ebk.)

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, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appro-priate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.

Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation war-ranties 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 engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization 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 recommen-dations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read.

For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (877) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.

Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in elec-tronic books.

Library of Congress Cataloging-in-Publication Data is available from the Publisher.

TRADEMARKS: Wiley, the Wiley logo, and the Sybex logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Windows is a reg-istered trademark 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 with any product or vendor mentioned in this book.

10 9 8 7 6 5 4 3 2 1

Dear Reader,

Thank you for choosing Mastering Windows 7 Deployment. This book is part of a family of premium-quality Sybex books, all of which are written by outstanding authors who combine practical experience with a gift for teaching.

Sybex was founded in 1976. More than 30 years later, we’re still committed to producing consis-tently exceptional books. With each of our titles, we’re working hard to set a new standard for the industry. From the paper we print on, to the authors we work with, our goal is to bring you the best books available.

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 or any other Sybex book by sending me an email at [email protected]. If you think you’ve found a technical error in this book, please visit http://sybex.custhelp.com. Customer feedback is critical to our efforts at Sybex.

Best regards,

Neil Edde Vice President and Publisher Sybex, an Imprint of Wiley

To my friends and family who have supported me over the years.

—Aidan Finn

To my wife Nimfa. Thanks for sharing your life with me and continuing to enrich my life in so many ways.

—Darril Gibson

AcknowledgmentsThanks to Agatha Kim for inviting me on this project. I truly enjoy working on the Mastering series books with Agatha and her team. The editors are top-notch and provide consistently help-ful advice. I also appreciated all of the excellent suggestions provided by the technical editor, Johan Arwidmark, even if we didn’t have room for all of them.

—Darril Gibson

I would like to thank my wife, Miranda, and kids, Colin and Caitlin, for their support while I was working on the chapters for this book. I would also like to thank Rhonda Layfield for providing me with this opportunity, and a special thanks to Johan Arwidmark and Mikael Nyström for doing the technical review. I would also like to thank Candace English, Agatha Kim, Christine O’Connor, and other people involved for helping me make some great chapters about deployment.

—Kenneth van Surksum

About the AuthorsAidan Finn (B.Sc., MCSE, MVP) has been working in IT since 1996. He has worked as a consul-tant, contractor, and system administrator for various companies in Ireland and with clients around Europe. In recent years, Aidan has worked with VMware ESX, Hyper-V, and Microsoft System Center. Currently, Aidan is a senior infrastructure consultant in Dublin, Ireland.

Aidan is the leader of the Windows User Group in Ireland. He regularly speaks at user group events and conferences about Windows Server, desktop management, virtualization, and System Center. Aidan was also a Microsoft Most Valuable Professional (MVP) on System Center Configuration Manager in 2008. He was awarded MVP status with virtual machine expertise in 2009. He is a member of the Microsoft Springboard STEP program and is one of the Microsoft System Center Influencers. Aidan has worked closely with Microsoft, including online interviews, launch events, and road shows, and has worked as a technical reviewer for the Microsoft Official Curriculum course on Windows Server 2008 R2 virtualization.

Darril Gibson is the CEO of Security Consulting and Training, LLC. He has written, co-authored, and contributed to more than a dozen books, and regularly consults and teaches on a wide variety of IT topics. Most of the books he’s been involved with are available on Amazon by searching for “Darril Gibson.” He has been a Microsoft Certified Trainer (MCT) since 1999 and holds a multitude of certifications, including MCSE (NT 4.0, Windows 2000, and Windows 2003), MCITP (Windows 7, Windows Server 2008, and SQL Server), Security+, CISSP, and ITIL Foundations. Darril lives in Virginia Beach with his wife of over 18 years and two dogs. Whenever possible, they escape to a cabin in the country with over 20 acres of land where his dogs wear themselves out chasing rabbits and deer, and he enjoys long, peaceful walks.

Kenneth van Surksum is a consultant from the Netherlands, focused on Microsoft System Center products. He currently designs and implements several System Center products at com-panies in the Netherlands, working for INOVATIV. Kenneth has more than 10 years of experi-ence in IT and in particular with deployment, starting with building unattended installation infrastructures for deploying Windows NT for a large bank in the Netherlands, evolving over time to newer operating systems and new methods of deployment. Kenneth is also a Microsoft Certified Trainer (MCT) and teaches classes in the Netherlands. He is also a Microsoft Most Valuable Professional (MVP) with the Expertise Setup & Deployment.

About the Contributing AuthorMikael Nyström is a Microsoft MVP and Senior Executive Consultant at TrueSec, with an extremely broad field of competence. He has worked with all kind of infrastructure tasks in all kind of environments, enterprise to small business. He is working deep within products such as SCOM, ConfigMgr, SCVMM, SCDPM, Hyper-V, MDT, SharePoint, Exchange, SharePoint, and Active Directory. Mikael is a very popular instructor and is often used by Microsoft for partner trainings as well as to speak at major conferences such as TechEd, MMS, etc. Lately Mikael has been deeply engaged in the development of Windows 7 and Windows Server 2008 R2 as a mem-ber of the TAP team.

Contents at a Glance

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xix

Chapter 1  •  Does Your Hardware Measure Up? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Chapter 2  •  Evaluating Applications for Windows 7 Compatibility . . . . . . . . . . . . . . . 33

Chapter 3  •  Installing Windows 7: Meet the Panther . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

Chapter 4  •  Cloning the Panther: Automating Windows 7 Installation. . . . . . . . . . . 101

Chapter 5  •  Migrating the Existing User Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

Chapter 6  •  Windows Deployment Services: The Basics . . . . . . . . . . . . . . . . . . . . . . . 173

Chapter 7  •  WDS from the Client’s View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205

Chapter 8  •  Tweaking Your WDS Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

Chapter 9  •  Microsoft Deployment Toolkit 2010. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247

Chapter 10  •  MDT’s Client Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291

Chapter 11  •  Fine-Tuning MDT Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323

Chapter 12  •  Zero Touch Installations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349

Chapter 13  •  Taking Advantage of Volume Licensing. . . . . . . . . . . . . . . . . . . . . . . . . . 413

Appendix  •  The Bottom Line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453

Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xix

Chapter 1  •  Does Your Hardware Measure Up? . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Meet Windows 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Windows 7 Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Using the Microsoft Assessment and Planning Toolkit. . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Planning and Installing MAP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Performing a Windows 7 Readiness Assessment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Produce MAP Reports and Proposals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24The Bottom Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Chapter 2  •  Evaluating Applications for Windows 7 Compatibility . . . . . . . . .33Application Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33The Application Compatibility Toolkit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

Choosing an ACT Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Installing ACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Using the Application Compatibility Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Resolving Application Compatibility Issues with Shims. . . . . . . . . . . . . . . . . . . . . . . 55

Deploying XP Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Installing Virtual PC for Windows 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Installing XP Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Advanced Deployment of XP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

The Bottom Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

Chapter 3  •  Installing Windows 7: Meet the Panther . . . . . . . . . . . . . . . . . . . . .79Choosing the Right Edition of Windows 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

Windows 7 Professional. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80Windows 7 Enterprise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81Windows 7 Ultimate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81The N, E, K, and KN Editions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

Speaking the Language: Four Ways to Use Windows Setup . . . . . . . . . . . . . . . . . . . . . . 82Deploying New Bare-Metal Computers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83Upgrading Computers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83Refreshing Computers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Replacing Computers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

Windows Setup in Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Preinstallation Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Online Configuration Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90Windows Welcome Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90