Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


November 01, 1998

Managing the Windows NT Registry


RSS
Subscribe to Windows IT Pro | See More Registry Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A helpful addition to any NT administrator's bookshelf

The list of books available about the Windows NT Registry continues to grow. O'Reilly & Associates' latest addition to this list is Paul Robichaux's Managing the Windows NT Registry. The book describes Registry editing tools and how to write programs to access the Registry.

In Chapter 1, "A Gentle Introduction to the NT Registry," Robichaux provides a brief history of the Registry and discusses its advantages. He also describes Registry hives, which are part of the Registry key structure. Chapter 2, "NT Registry Nuts and Bolts," describes the Registry's structure and the information you can store in and retrieve from the Registry.

Backing up the Registry is the area that systems administrators probably have the most trouble with. Chapter 3, "In Case of Emergency," discusses how to back up Registry data. This chapter also introduces Registry editing tools and the utilities available in the Microsoft Windows NT Server 4.0 Resource Kit.

Chapter 4, "Using RegEdit," and Chapter 5, "Using RegEdt32," explain how to add keys and values to the Registry and create .reg files. These chapters are brief, but the author thoroughly covers the basics about these tools and explains how you can use .reg files to change the Registry on remote computers. Chapter 5 also explains how to secure the Registry.

Chapter 6, "Using the Policy Editor," is actually about NT policies. Policies are groups of related settings that control what users can do. These policies are typically Registry key settings. However, most users prefer to use the System Policy Editor interface than to edit the Registry directly. Editing the Registry manually is dangerous, and if done incorrectly, can damage the system. Changes you make with the System Policy Editor interface are actually Registry updates. Using the System Policy Editor lets you create policies and control them centrally. The four tables in Chapter 6 list the .adm file policy template settings and the Registry keys they affect.

If you are a programmer, you probably need to read from, write to, and query the Registry. Chapter 7, "Programming with the Registry," covers the Registry API and explains how you can manipulate the Registry from within a program. Robichaux also provides C language and Visual Basic (VB) example source code to explain how to write a program that accesses the Registry. He also covers the little known RegNotifyChangeKeyValue API, which notifies you when a specific key changes.

Chapter 8, "Administering the NT Registry," might interest advanced NT administrators because it explains how to set defaults for new user accounts, limit remote Registry access, and encrypt the Security Accounts Manager (SAM) database. The chapter also discusses Regmon for Windows NT, a third-party utility. (In the book, the author refers to the utility as NTREGMON.) You can use Regmon to find out if any unauthorized users have tried to access the Registry.

Chapter 9, "Registry Tweaks," describes how to make changes to the Registry to modify the NT user interface, file systems, security, system performance, the network, and printing. Using a utility (e.g., Control Panel or System Policy Editor) to implement system changes is ideal; however, sometimes the only way to make a change is to manually edit the Registry. I learned how to prevent users from customizing the My Computer icon. A policy setting that prevents users from changing this icon exists on the desktop. Robichaux explains how to change the HKLM\Software\Classes\CLSID\20D04FE0-3AEA-1069-08002B30309D permissions from full control to read-only, which disables the users' ability to modify the icon.

Chapter 10, "The Registry Documented," describes the documented Registry keys (i.e., what you can use them for). However, the list provided isn't complete because it includes keys only from the core NT 4.x operating system (OS). Chapter 10 also provides information about Registry layout.

Robichaux provides information (e.g., about securing the Registry and using .reg files to update the Registry) that I haven't seen documented anywhere else, at least not together in one source. This book would be a helpful addition to any NT administrator's bookshelf.

Windows NT Registry
Managing the Windows NT Registry
Author: Paul Robichaux
Publisher: O'Reilly & Associates
Sebastapol, 1998
ISBN 1-56592-378-2
Price: $34.95; 341 pages

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement