Microsoft Windows Registry Guide, 2nd Edition (2005).pdf

(5597 KB) Pobierz
Microsoft Windows Registry Guide, Second Edition eBook
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
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
Zgłoś jeśli naruszono regulamin