On The Insider: Robert Pattinson Leaves Indie Film Role

What's all the buzz about registry hives?

Tags: Guest Contributor

  • Save
  • Print
  • Recommend
  • 76

Takeaway: If you're still in the dark about the Windows Registry, it's time to come into the light. Here's a quick overview of the registry, along with a specific tip on how two small registry entries can speed up Internet Explorer.


To many support pros, the Windows Registry is a mysterious forbidden zone, a place they dare not tread. The registry, however, can be a powerful tool for customizing Windows. If you’ve avoided the registry in the past, it may be time to put your fears behind you and find out what the registry can do for you.

This article is a basic tutorial on what the registry is and how it functions. To show you how to put this information to good use, we’ve also included a great tip for using your registry to speed up your Internet Explorer.

Warning
The following article involves editing your system registry. Using the Windows Registry Editor incorrectly can cause serious problems requiring the reinstallation of your operating system and possible loss of data. TechRepublic does not and will not support problems that arise from editing your registry. Use the Registry Editor and the following directions at your own risk.

So what is the registry?
In a nutshell, the Windows Registry is the “engine” that holds all the settings Windows needs to function. Normally, you don't interact directly with the registry; instead, you use Windows utilities (such as those found in the Control Panel) or INI, SYS, BAT files, and so forth. These tools allow you to customize the registry without actually working directly with it. There are, however, features that can only be set by editing the registry directly.

Registry structure
The registry is a hierarchical database, like Windows Explorer, where folders are nested within folders. Depending on your Windows version, the Registry comprises four to six subtrees of keys called hives.

Accessing the registry
Currently, there are two registry-editing programs, Regedit (16-bit) and Regedt32 (32-bit). Windows 95/98/Me use the 16-bit version, while Windows NT and 2000 use both versions. The 16-bit version offers faster searches, while the 32-bit version allows you to prevent automatic saving. To start either program, click Start | Run and enter the command regedit or regedt32, depending on which one you want to use.

Backing up the registry
Backing up the registry is tricky since many of its parts are constantly in use by Windows. Trying to back up the registry while Windows is accessing the registry can cause a sharing violation. To solve this issue, Windows NT and Windows 2000 Resource Kits offer two programs: RegBack.exe to back up the registry and RegRest.exe to restore the registry. A Windows Emergency Repair Disk can also be used as a registry backup, if it was updated recently using the RDISK utility.

The hives
To get a better understanding of the inner workings of the registry, let’s take a stroll through the hives (or keys). Figure A shows the various registry hives in Regedit.

Figure A


HKEY_CLASSES_ROOT
This key contains file extension associations. For instance, Windows can recognize a .doc file as a Microsoft Word document because of the settings in this key. Use the Folder Options command from the Tools menu in Windows Explorer instead of adding new extensions to this key.

HKEY_CURRENT_USER
This key holds profile information for the user that is currently logged on. Each time a user logs on, the user’s profile is copied from the HKEY_USERS key to the HKEY_CURRENT_USER key. This key cannot be edited.

HKEY_LOCAL_MACHINE
This key holds hardware and software information within its five subkeys, which are the following:
  • Hardware
  • Security accounts manager (SAM)
  • Security
  • Software
  • System

The first three (Hardware, SAM, and Security) cannot be modified.

The Hardware subkey stores settings for device drivers, IRQ hooks, and so forth. It is re-created each time your computer boots. The SAM subkey stores information on security settings, user accounts, and group memberships. The Security subkey holds information on local security policies such as password policy, user rights, account lockout, and so forth. The Software subkey, which applies to all local users, stores data about installed software. The System subkey stores information needed to boot Windows.

HKEY_USERS
This key contains the default profile as well as profiles for all users who have logged on to the computer. This key can be edited, but exercise care when doing so.

HKEY_CURRENT_CONFIG
This key holds hardware information that is currently in use and allows for backwards compatibility with older applications and device drivers. The information stored here cannot be edited.

Speed up Internet Explorer
Now that you’ve had a crash course on registry basics, it’s time to get a little more hands on. This means that it’s time to try to add some zip to your Internet Explorer.

Whether you can make Internet Explorer a lot faster or not depends mostly on your current Internet connection, but this handy tip is an excellent example of putting the registry to work for you. I used a cable modem and was able to see an improvement. Before doing anything else, back up the registry.

What we are going to do is increase the number of streams that your browser can draw from. Since Internet Explorer complies with HyperText Protocol v1.1, browsers usually only draw two streams or less from a Web server. We are going to increase that from two streams to six. This should enable you to browse much faster. To begin:
  1. Click Start | Run.
  2. Type regedit and click OK.
  3. Expand HKEY_CURRENT_USER, then Software, Microsoft, Windows, CurrentVersion.
  4. Click on Internet Settings to view its contents.
  5. Check Regedit's right-hand column for the following two lines (values):
    MaxConnectionsPerServer
    MaxConnectionsPerl_OServer
  6. If these values are present, right-click on the first value (MaxConnectionsPerServer), select Modify from the drop-down menu, click Decimal, and set the Value data field to 6. Repeat this process for the second value (MaxConnectionsPerl_OServer).
  7. If these lines (values) are not listed, right-click on the white region of Regedit's right-hand column, click New, and then click DWORD Value, as shown in Figure B.

Figure B
From this menu you can create a new Key, String Value, Binary Value, or DWORD Value.

  1. Enter MaxConnectionsPerServer for the name of the new DWORD Value and press Enter. The new value should now appear in Regedit's right-hand column as shown in Figure C.

Figure C

  1. Right-click the new value and click Modify.
  2. As in step six and as shown in Figure D, click Decimal and set the Value Data field to 6, then click OK.

Figure D

  1. Repeat steps seven through 10 using MaxConnectionsPerl_OServer as the new DWORD Value name instead of MaxConnectionsPerServer.
  2. You are done. Close Regedit and test Internet Explorer.

Are you a Windows Registry guru?
If you work with the registry the way others work with Windows Explorer, we want to hear from you. What are your favorite registry tips and tricks? Post a comment to this article and share your registry secrets.

 
  • Save
  • Print
  • Recommend
  • 76

Print/View all Posts Comments on this article

Reg editing crazypenguin | 12/10/01
Backing up the Registry Vega3001 | 12/11/01
Use REGEDIT Anthropic Al | 12/16/01
THANK YOU!! pdm2@... | 12/17/01
Good Joke I made up Derrellb | 04/15/02
user.da0/system.da0 Anthropic Al | 12/16/01
There are multiple backups solyom@... | 12/17/01
W95 Registry Backup dhsindy | 12/16/01
scanregw itreader | 12/16/01
W95 Registry Backup & Restore johncoyne3@... | 12/17/01
CORRECTION!!! - and apology johncoyne3@... | 12/17/01
Batch files.... cbiltcliffe@... | 04/30/02
RegClean freeware cricket4b | 12/17/01
regclean rsaker | 12/17/01
What Version of Windows ewbj@... | 01/08/02
RegClean not Supported Gerry Bourke | 01/30/02
Information is still missing solyom@... | 12/17/01
Good source of Registry information... jbarchitect | 12/17/01
Updated Version for Win98 dirtylaundry | 12/18/01
Speed Up Windows scott@... | 12/17/01
reg editing nickelsilver | 12/18/01
Tip from another admin gary1218@... | 10/03/02
Registry Hives phone_man@... | 12/18/01
Firefox too? obtennisking9317@... | 09/25/05
Automate the IE Speed Up Tweak John Q. Public | 12/11/01
Slightly Incorrect ShadowCat | 12/19/01
oops forgot something ShadowCat | 12/19/01
Small Error SCrow | 03/13/02
Automate the IE Tweak macandannbowl@... | 06/08/04
? ls@... | 12/16/01
Key is the key word jwood | 12/17/01
The Registry abuse<_Lodosswar_>@... | 12/16/01
Registry Guide Tips & Tricks Download dirtylaundry | 12/18/01
KISS and use RegClean HHarrelson | 12/16/01
RegClean no longer supported by MS becurry@... | 12/16/01
regclean for Win2000? bob.h@... | 12/17/01
Regclean.exe, just do it.... h_p_hayes@... | 12/17/01
RegClean still available at ZDNet cjon_hinkle@... | 12/18/01
null RipVan | 03/25/05
Value name? (l_O vs. 1_0) vgianascio@... | 12/16/01
lower case of letter "L" jermila@... | 12/19/01
I stand corrected jermila@... | 12/19/01
Thanks and another object lesson San Diego Jay | 03/07/02
So it is DEFINITELY "...Per1 ("one")_0("zero")Server?" WorldBFree | 06/10/04
Superb yansu@... | 12/16/01
something you should know ... Gnadenlos | 12/16/01
How to control startup progs? TMiles | 12/17/01
To TMiles mikestad | 12/17/01
Windows Profiles omahabob@... | 12/17/01
HKLM-Run & HKCU-Run nickelsilver | 12/18/01
msconfig BlazNT2 | 12/19/01
Backing up the registry sbern227@... | 12/17/01
Backup with ScanRegW.exe Data Ninja | 12/17/01
Comment paolorav@... | 12/17/01
Don't worry kirm | 10/03/02
Registry hives BetsySal | 12/17/01
MRU Lists scg-guy | 12/17/01
Need more... robmm | 12/17/01
MRU Lists Explanation tAz666 | 12/17/01
How To robmm | 12/27/01
Removing MRU Lists How To tAz666 | 01/13/02
MRU for Outlook 2000? MMalt | 04/16/02
So what now.....? mgosselin | 04/12/04
"Speed up Internet Explorer" mikestad | 12/17/01
"Speed up Internet Explorer" mikestad | 12/17/01
Registry Buzz rgbraze@... | 12/17/01
Registry Hacks dbuchanan@... | 12/17/01
more essential reg hacks tAz666 | 12/17/01
Registry Misdirection? amiele@... | 12/17/01
Re: Registry Misdirection? ecoleman | 12/17/01
Incomplete step 3. calvin.m.behrens@... | 12/17/01
XP Pro defaults to 8 jwood | 12/17/01
XP Home non-existent mbehrens@... | 12/20/01
Does the value have to be in decimal? kipbrown@... | 08/05/02
No kirm | 10/03/02
Seemingly incorrect instructions birk@... | 12/17/01
my guess brendon.raw@... | 12/17/01
HKey_Users vs. HKey_CurrentUser bkinsey@... | 12/17/01
It depends NickNielsen | 12/17/01
Jon P | 12/17/01
W98SE and IE6? Bobby D | 12/17/01
No detected problems patrickeusullivan@... | 12/17/01
Most servers as HTTP v1.1 kwolking@... | 12/18/01
Blimey!! Payney | 02/04/02
??? jimcarney6@... | 07/07/03
Why does it make a difference? bugsalive | 12/17/01
MaxConnections setting bkinsey@... | 12/17/01
Tell me more about registery backup glit podunkfluzy@... | 12/17/01
Dumping AOL NickNielsen | 12/17/01
Max Per i o or MaxPerL_O bgcarter@... | 12/17/01
I_O or L_O - neither! Data Ninja | 12/17/01
Not to nit-pick pmdracer | 12/17/01
1 vs l from microsoft Raymond W. | 12/17/01
undeterminable character iklaikk | 12/20/01
undetrminable character dlammens@... | 06/17/03
And the cat came back... phreaq | 12/17/01
Tab key function in Windows like Linux satishmarathe2@... | 12/17/01
Replace Motherboard w/o re-install Bobby D | 12/18/01
Re: Replace Motherboard w/o re-install acrawford | 12/18/01
HKEY_LOCAL_MACHINES revisited dragononedon@... | 12/18/01
Per1_0Server not Perl_0Server jsims@... | 12/18/01
Question jcm996 | 12/18/01
which is it?? dcave@... | 12/18/01
HKEY_CURRENT_USER rkeller@... | 12/18/01
RUN theo.wolfs@... | 12/18/01
Registry Information kgsoft@... | 12/18/01
Watch your computer jcm996 | 12/21/01
Clarify value ctdak | 12/19/01
Value clarified ctdak | 12/19/01
Disable/Enable regedit ROM2001 | 12/19/01
An idea jcm996 | 12/21/01
Standalone ROM2001 | 12/27/01
DELETE IT NO PROB tAz666 | 01/16/02
** Warning - Read the board! ** coyote_CA@... | 01/18/02
Please clarify Ramon.Tan@... | 01/24/02
They are numerals aroyb | 10/03/02
No Desktop Icons martin@... | 01/25/02
Would like more like that ! Jacques.Gerard@... | 01/28/02
Regedit- confusing harri.lehtinen@... | 01/29/02
HKEY_CURRENT_USER rgpdof | 01/30/02
Clarification of Dword name jaggz01@... | 01/31/02
They are numerals aroyb | 10/03/02
Side effects of adding this to registry? MetalDragon | 02/14/02
I try to backup Registery-System Crashes SteveU | 06/16/03
how to do this for all users of a WS jimcarney6@... | 07/08/03
Excellent! May We Have More? finkey@... | 06/08/08

What do you think?

Storage Virtualization

advertisement
Click Here