microsoft windows registry guide, 2nd edition

577 831 0
microsoft windows registry guide, 2nd edition

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

www.it-ebooks.info 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 rkinput@microsoft.com. 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 A02LX1106983.fm Page ii Tuesday, April 5, 2005 2:37 PM www.it-ebooks.info For Roelof Kroes www.it-ebooks.info www.it-ebooks.info v 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 www.it-ebooks.info www.it-ebooks.info vii What do you think of this book? We want to hear from you! Microsoft is interested in hearing your feedback about this publication 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/ 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 www.it-ebooks.info 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 Adding Keys or Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Deleting Keys or Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Renaming Keys or Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Printing the Registry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Exporting Settings to Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Registration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Win9x/NT4 Registration Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Hive Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Text Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Working with Hive Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Getting Beyond Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3 Backing Up the Registry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Editing the Registry Safely . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Copying Single Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Backing Up to REG Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Backing Up to Hive Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Using System Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Taking Configuration Snapshots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Looking Inside System Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Managing System Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Customizing System Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Scripting System Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Backing Up the Registry Regularly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Planning a Backup Strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Backing Up System State Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Restoring System State Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Backing Up User Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 www.it-ebooks.info Contents ix 4 Hacking the Registry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Redirecting Special Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Customizing Shell Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Renaming Desktop Icons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Using Custom Icon Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Adding Desktop Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Hiding Desktop Icons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Reorganizing Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Customizing File Associations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Running Programs from My Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Opening Command Prompts at Targeted Folders . . . . . . . . . . . . . . . . . . . . . . . 93 Rooting Windows Explorer at a Targeted Folder. . . . . . . . . . . . . . . . . . . . . . . . . 94 Adding InfoTips to Program Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Adding File Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Preventing Messenger from Running . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Personalizing the Start Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Configuring the Menu’s Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Trimming the Frequently Used Programs List . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Restoring the Sort Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Disabling Windows Tour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Creating Program Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Customizing Internet Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Extending the Shortcut Menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Changing the Toolbar Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Customizing Search URLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Maximum Concurrent Downloads. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Clearing History Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Running Programs at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Controlling Registry Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Default Action for REG Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Storing Window Position and Size. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Logging On Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Changing User Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Looking for More Hacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 www.it-ebooks.info V413HAV x Contents 5 Mapping Tweak UI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 Focus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 ALT+TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Mouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Hover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Wheel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 X-Mouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Shortcut. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Colors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Thumbnails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Command Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Customizations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Slide Show. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Common Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Places Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Taskbar and Start Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Grouping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Start Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 First Icon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 My Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Special Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 AutoPlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Drive Letters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Internet Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Toolbar Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 View Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Small Animation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Large Animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Image Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Command Prompt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 www.it-ebooks.info [...]... A07IX1106983.fm Page xxiii Tuesday, April 5, 2005 2:37 PM Introduction The registry is the heart and soul of Microsoft Windows XP and Microsoft Windows Server 2003 In my other registry books, I said the same thing about the registry in every version of Windows since Windows 95, and by the time you’re finished reading this book, I hope you’ll agree The registry contains the configuration data that makes the operating... “Finding Registry Settings.” ■ Chapter 11, “Scripting Registry Changes.” A plethora of methods for customizing registry edits are available to you This chapter teaches the best of them, including REG files, INF files, and Microsoft Windows Installer (MSI) package files It also describes tools such as Console Registry Tool for Windows, which comes free with Windows This is useful for editing the registry. .. 8 Registry Structure 16 Registry Organization 23 Registry Management Tools 28 Registry Hive Files 29 The registry has a subtle but important role in Microsoft Windows XP and Microsoft Windows Server 2003 (both... great in Windows More importantly, it enables you to customize Windows in ways that you can’t through the user interface Windows and every application that runs on Microsoft s latest desktop operating systems do absolutely nothing without consulting the registry first When you doubleclick a file, Windows consults the registry to figure out what to do with that file When you install a device, Windows. .. 13, “Mapping Windows Installer.” Windows Installer is a relatively new service that provides a better way to install applications This chapter describes how Windows Installer interacts with the registry It will also help you clean up the registry when things go wrong with Windows Installer–based applications ■ This chapter shows you how to script a Windows installation and how to add registry settings... Regarding the registry itself, there are a few changes that struck me right away First, Microsoft got rid of the dueling registry editors Windows 2000 had two editors: Regedit and Regedt32 Both had strengths and weakness, and you had no choice but to flip back and forth between the two Windows XP and Windows Server 2003 combine both editors into a single registry editor Another new feature is Console Registry. .. other book about the Windows registry You’ll learn how to find the places where Windows and other programs store settings in the registry You’ll learn how to write scripts to edit the registry You’ll discover registry hacks that are both unique and useful And you’ll read about my personal experiences with the registry and what I consider best practices For example, in Chapter 2, “Using Registry Editor,”... 524 Microsoft\ Active Setup 525 Microsoft\ Command Processor 525 Microsoft\ Driver Signing 527 Microsoft\ DrWatson 527 Microsoft\ Internet Explorer 530 Microsoft\ Sysprep 530 Microsoft\ Windows. .. policies, scripting, and much more For example, you will learn how to deploy registry settings during Windows and Microsoft Office 2003 Editions installations Some deployment problems can be solved only by using the registry, so I describe the most common IT workarounds, too For example, I show you how to prevent Windows from creating the Microsoft Outlook Express icon on the desktop when a user logs on to... Press provides a way for customers who purchase Microsoft Windows Registry Guide, Second Edition to report any problems with the software and to receive feedback for such issues To report any issues or problems, send an e-mail message to rkinput @microsoft. com www.it-ebooks.info A07IX1106983.fm Page xxix Friday, July 15, 2005 11:35 AM Introduction xxix Microsoft Press also provides corrections for books . 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. 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 rkinput @microsoft. com. Microsoft, Active. . . . . . . . . . . . . . . . . . . . . . 530 Microsoft Windows NTCurrentVersion . . . . . . . . . . . . . . . . . . . . . . . . . 530 Microsoft Windows NTCurrentVersionWinlogon. . . . . .

Ngày đăng: 24/04/2014, 15:34

Từ khóa liên quan

Mục lục

  • Cover

    • Copyright Page

    • Dedication

    • Contents at a Glance

    • Contents

    • Acknowledgments

    • Introduction

      • This Book Is Different--Really

      • Power Users First, and Then IT Professionals

      • Some Terminology

      • Why I Love Windows XP

      • Sample Files and Scripts

      • Resource Kit Support Policy

      • Final Note

      • System Requirements

      • Part I: Registry Overview

        • Chapter 1: Learning the Basics

          • Heart and Soul of Windows

            • For Power Users

            • For IT Professionals

            • Registry Warnings and Myths

            • Must-Know Concepts

              • Security Identifiers

              • Globally Unique Identifiers

              • Hexadecimal Notation

              • Bits and Bit Masks

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan