Microsoft Windows Registry Guide, 2Nd Edition (2005).Pdf
Total Page:16
File Type:pdf, Size:1020Kb
A02LX1106983.fm Page ii Tuesday, April 5, 2005 2:37 PM PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2005 by Jerry Honeycutt 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: 2005923733 Printed and bound in the United States of America. 1 2 3 4 5 6 7 8 9 QWT 9 8 7 6 5 4 3 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 information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press Inter- national directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/learning/. Send comments to [email protected]. Microsoft, Active Directory, Authenticode, DirectX, FrontPage, Hotmail, InfoPath, IntelliMirror, JScript, Microsoft Press, MSDN, MS-DOS, MSN, NetMeeting, OneNote, Outlook, PhotoDraw, PowerPoint, Tahoma, Visio, Visual Basic, Visual InterDev, Win32, Windows, Windows Media, Windows NT, and Windows Server are either registered trademarks or 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 the author’s views and opinions. The information contained in this book is provided with- out 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: Martin DelRe Project Editor: Denise Bankaitis Technical Editor: Bob Hogan Copy Editor: Maria Gargiulo Production: Elizabeth Hansford Indexer: Julie Hatley Body Part No. X11-06983 For Roelof Kroes Contents at a Glance Part I Registry Overview 1 Learning the Basics . .3 2 Using Registry Editor. 33 3 Backing Up the Registry . 59 4 Hacking the Registry . 79 5 Mapping Tweak UI. 115 6 Configuring Servers. 143 Part II Registry in Management 7 Using Registry-Based Policy . 159 8 Configuring Windows Security . 203 9 Troubleshooting Problems . 235 10 Finding Registry Settings . 255 11 Scripting Registry Changes. 269 Part III Registry in Deployment 12 Deploying User Profiles. 305 13 Mapping Windows Installer . 333 14 Deploying with Answer Files . 345 15 Cloning Disks with Sysprep . 365 16 Configuring Windows PE . 383 17 Deploying Office 2003 Settings. 403 18 Fixing Common IT Problems . 425 Part IV Appendixes 19 File Associations . 455 20 Network Settings . 467 21 Per-User Settings . 485 22 Per-Computer Settings . 519 v Contents Acknowledgments. xxi Introduction . xxiii Part I Registry Overview 1 Learning the Basics . .3 Heart and Soul of Windows . 4 For Power Users . 5 For IT Professionals. 5 Registry Warnings and Myths. 7 Must-Know Concepts. 8 Security Identifiers . 8 Globally Unique Identifiers . 11 Hexadecimal Notation. 12 Bits and Bit Masks . 13 Little-Endian and Big-Endian . 14 ANSI and Unicode Encoding . 15 Null and Empty Strings . 16 Registry Structure . 16 Keys. .17 Values . 19 Types. .20 Registry Organization . 23 HKEY_USERS . 24 HKEY_CURRENT_USER . 25 HKEY_LOCAL_MACHINE . 26 HKEY_CLASSES_ROOT . 27 HKEY_CURRENT_CONFIG . 28 Registry Management Tools . 28 Registry Hive Files. 29 Hives in HKLM. 30 Hives in HKU . 31 Microsoft is interested in hearing your feedback about this publication so we can What do you think of this book? continually improve our books and learning resources for you. To participate in a brief We want to hear from you! online survey, please visit: www.microsoft.com/learning/booksurvey/ vii viii Contents 2 Using Registry Editor. 33 Running Regedit . 34 Regedit . 35 Key Pane . 36 Value Pane . 38 Searching for Data . 38 Searching Incrementally . 40 Searching in Binary Values . 40 Bookmarking Favorite Keys . 41 Using Better Techniques . 42 Editing the Registry . 44 Changing Values . 44.