Government // Mobile & Wireless
News
4/9/2010
02:42 PM
50%
50%

How To Tweak The Windows 7 Registry

In his new book, "Microsoft Windows 7 Your Way: Speed Up and Customize Windows," Michael Miller shares no-hassle steps for making the OS run faster, more reliably, and hassle free.

The following excerpt from Michael Miller's book "Microsoft Windows 7 Your Way: Speed Up and Customize Windows," is presented by InformationWeek SMB courtesy of Que Publishing.


Don't Miss:
Michael Miller discusses the support needs of new Windows 7 users


Windows7YourWay

BOOK EXCERPT

Microsoft Windows 7 Your Way
Chapter 27: Tweaking the Windows Registry

How the Registry Works

Every time you make a configuration change, that information is automatically written to the Registry. Change the system time, and the Registry is updated; change your desktop wallpaper, the Registry is updated; change the home page in Internet Explorer, the Registry is updated. The Registry is also updated whenever you install a new software program or hardware device. And it all happens automatically, in the background.

When Windows needs to do just about anything, it accesses the Registry to obtain the proper configuration information. In this sense, the Registry functions like a control center for your entire computer system; it defines how every part of your system looks and works.

Organizing the Registry

The Registry is organized into five major sections, called hives. Each hive is stored in its own system file on your PC’s hard disk.

These hives include the following:

  • HKEY_CLASSES_ROOT. Contains information about registered applications, including file associations and OLE object classes. (This hive displays the same settings as the HKEY_LOCAL_MACHINE\Software\Classes key.)
  • HKEY_CURRENT_USER. This hive is a subset of the HKEY_USERS hive, pertaining to the current user of the PC. It contains all attributes for the desktop environment and network connections.
  • HKEY_LOCAL_MACHINE. Contains most of the settings for your PC’s hardware, system software, and individual applications.
  • HKEY_USERS. Contains subkeys corresponding to the HKEY_CURRENT_USER hives for all users of the PC, not just the current user.
  • HKEY_CURRENT_CONFIG. Contains information gathered when Windows first launches, such as settings pertaining to your PC’s display and printers. The data stored in this hive is not permanently stored on disk, but rather is regenerated each time your PC boots.

Each hive is further organized into a variety of keys and subkeys that can be represented by a series of folders and subfolders. For example, if you want to find configuration information for which programs Windows loads at launch, you would look in the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run.

The settings or data for each individual key or subkey is called the value. Each value in the Registry is defined by a value name (often called just the value), the type of data used for that entry, and the value of that data.


Don't Miss:


Previous
1 of 3
Next
Comment  | 
Print  | 
More Insights
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest, Dec. 9, 2014
Apps will make or break the tablet as a work device, but don't shortchange critical factors related to hardware, security, peripherals, and integration.
Video
Slideshows
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Join us for a roundup of the top stories on InformationWeek.com for the week of December 14, 2014. Be here for the show and for the incredible Friday Afternoon Conversation that runs beside the program.
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.