Skip the navigation

QuickStudy: The Windows Registry

By Carol Sliwa
April 29, 2002 12:00 PM ET

Computerworld - Mention "the registry" to PC users, and they'll probably think of standing in line for license plates, not the set of configuration files built into Microsoft Corp.'s operating systems.

And Microsoft thinks that's the way it should be. The Windows registry stores important information about a computer's configuration. Users who modify the registry improperly could cause the operating system to become unstable or even unusable, according to Mike Coleman, a Microsoft product manager.

Trained IT administrators, on the other hand, may benefit from editing the registry to manage and configure a user's desktop. For example, they can lock down the operating system by hiding certain menu items or adjust security settings to ensure that users adhere to company policies.

In the Beginning

Microsoft introduced the Windows registry in 1995. Prior to Windows 95, the operating system used text files to track configuration information, but those files didn't have a common structure, and they were limited in the types of information they could store.

If a user deleted one of the initialization files, there was no easy way to deal with the problem, says Coleman. "We wanted to have a system that was less prone to error," he says.

The registry can back up and restore configuration settings both automatically and manually, and Microsoft has worked to make the registry more stable, self-maintaining and self-repairing, Coleman says. To gain greater flexibility in the types of data that can be stored, Microsoft switched from text configuration files to a binary architecture, he notes.

Users can make some changes to the Windows registry indirectly, via the control panel. An advanced user may opt for TweakUI, a tool introduced as a free download with Windows 98, to adjust the user interface settings, says Coleman.

A user also can make changes to the registry indirectly via software applications. For instance, Microsoft Office maintains a list of recently used documents, and a user who doesn't want to keep that list can change the configuration parameter within the application to turn off the feature, Coleman says.

As critical as it is, the Windows registry can also be edited directly by a user or by software applications and installation programs. To edit the registry directly, a user can utilize the Regedit or Regedt32 tools that come with Windows.

Different Strokes

When viewed through an editing tool, the registry on a Windows 9x operating system looks identical to the registry of Windows NT-, 2000- and XP-based systems. But Coleman says they're represented differently on disk.

The Windows 9x registry comprises two files: system.dat and user.dat. Windows Me adds a classes.dat file. Both system.dat and user.dat are stored in the windows directory, unless the system is set up for individual user profiles; then the user.dat file is stored in windowsprofiles username, Coleman says.



Additional Resources
Forrester Consulting - Optimizing Users and Applications in a Mobile World
WHITE PAPER
Solving application issues over the WAN requires careful consideration. Based on their independent research, Forrester Consulting offers recommendations on how to tackle application performance issues, insufficient bandwidth and the inability to quickly restore users in a disaster.

Read now.

Security KnowledgeVault
WHITE PAPER
Security is not an option. This KnowledgeVault Series offers professional advice how to be proactive in the fight against cybercrimes and multi-layered security threats; how to adopt a holistic approach to protecting and managing data; and how to hire a qualified security assessor. Make security your Number 1 priority.

Read now.

Cut Communications Costs Once and for All
WHITE PAPER
New IP-based communications systems are being deployed by small and midsized businesses at a rapid rate. Learn how these organizations are enabling faster responsiveness, creating better customer experiences, speeding office or mobile interactions, and dramatically reducing existing communications costs.

Read now.

Windows White Papers
VMware View Optimization Guide for Windows 7
This document provides guidelines for configuring a standard Windows 7 image to be used within a VMware View™ environment, providing administrators with the...
Microsoft Volume Licensing Comparison - Small/Med. Business
This quick-reference document lets small and medium organizations (i.e. those with five or more devices) to easily compare the available Microsoft Volume Licensing...
Microsoft Volume Licensing Comparison - Enterprise
With this quick-reference document, you can easily compare the available Microsoft Volume Licensing programs for enterprise organizations with 250+ devices, and tailor a...
Microsoft Open Value Program Guide
In this overview, see how Microsoft Open Value provides a flexible, affordable way for small to midsize organizations (i.e. those with five or...
HP Software Licensing & Management Solutions for Microsoft
See how HP Software Licensing & Management Solutions (SLMS) can help you identify the best Microsoft licensing program for your needs, get the...
All Windows White Papers
Windows Webcasts
Optimizing Networks for the Cloud
Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and...
Customer Spotlight: How IPC The Hospitalist Company Implemented Oracle on VMware
Have you been looking to hear about customer's experiences with the new VMware vCenter Site Recovery Manager product? View this webcast to learn...
Virtualize Business-Critical Applications with Confidence
Virtualizing business-critical applications has become a key focus for organizations as they move along their virtualization journey. With the launch of VMware vSphere®...
All Windows Webcasts
Newsletter Sign-Up

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all newsletters | Privacy Policy
IT Jobs