WebTechGeek.com

Tech News, Pc Fix How To & Free Software Downloads

Home WTG

Pc Fix Support list

Clean Hard Drive Steps

Mp3 File Sharing

Dual Boot Windows

Format Hard Drive

How To Support

Welcome to WebTechGeek.com ~ Windows Registry Guide | Windows Registry Guide | Windows Registry Guide Free download here!

Welcome To WebTechGeek.com ~ Windows Registry Guide Review Page!

Menu

Home Page WTG
WTG Latest News
All Pc Help/How To's
Computer Game News
Computer Fix/Help Pg1
Computer Fix/Help Pg2
Computer Fix/Help Pg3
Computer Fix/Help Pg4
Mp3's Music News
Mp3 Music File/Sharing
Mp3 Music Car Players
Mp3 Music Media Players
Web News Page
Old WTG News Pages
Computer Fix Support
Computer Hardware List
Computer Virus Info
Software Dn list 1 A-C
Software Dn list 2 D-E
Software Dn list 3 G-L
Software Dn list 4 M-P
Software Dn list 5 Q-S
Software Dn list 6 T-Z
Spyware-Adware info
Tech Toys & Gadgets 1
Windows 98 Tip Pg1
Windows 2000 Tip Pg1
Windows Me Tip Pg1
Win Copy All to New Pc
Link Share Page

About Us WebTechGeek site

Windows 7 & Vista

Win 7 Hidden Themes
Win 7 & XP Dual Boot
Vista Format Video
Win7 Vs Win Vista Video
Vista Transfer Files & Apps
Vista Video Card Upgarde
Vista Auto Login
Vista New Start Menu
Visat Remove/Add Programs
Vista Change Power Button
Vista Change logon Background
Vista Restart Explorer Shell
Vista USB Flash Dri Boost
Vista Transfer Files/Settings
Install Pc Memory How To
Install Sound Card How To
Install a Pc Hard Drive
Install Internal CD/DVD Drive
Vista Disable Icon Arrows
Shut Down a Frozen/Crashed
Vista Run on Sony PS3 Video
Vista Compatibility Wizard
Vista News Tips Page
Win Copy all To New Drive

Windows XP Pages

Dual Boot Windows XP/7
How To Hack Proof Your PW
Make XP Shutdown Button
Win XP Troubleshoot
10 Tips U need about XP
5 Must Have System Tools
Clean Hard Drive H-T
Clean Pc Keyboard H-T
Keep Drive Running Safe
Enable Auto logon Xp
Find Lost Win Product Key
Format a Hard Drive H-T
Install CD/DVD Drive H-T
Locking Down XP 10 Steps
Safely Store your CD/DVD's
How Pick a Good Password
Backup Outlook eMail Tips
Task Scheduler Auto Cleanup
Recovery Console to Fix XP
XP Keyboard Shortcut Keys
Remove Win XP SP2 Steps
Clean Install of XP Reinstall
Recovering XP Password/Bkup
Optimize XP Disk Drive H- to
Win XP Install CD - On Drive
Transfer XP to Another Drive
Install a Sound Card H-T
XP Install Pc Memory How To
XP Installing a DVD/CD Drive
Shut down a Crashed/Frozen Pc
Keep XP Pc Running Fast Tips
Partition a XP Hard Drive
One Click Shutdown Button
XPAntivirus Removal Guide
Fast XP Clean-up How To
XP Install a Sound Card Tips
Resolve IRQ Conflict How To
Change Win Start-up Graphic
XP Make your Folders Private
Computer Fix & Help Tip Page
Stop Unwanted email How To
Computer Virus XP Help Page
Computer Trojan Horse Help
Windows XP Tips Pg1

Video & Other How To's

Video Format in Vista
Video UBCD Recover Software
Video Win 7 Vs Win Vista
Video USB Battery How To
Video Windows 7 CES Demo
Video Win 7 Official Demo
Video Windows 7 Taskbar
Video Win 7 Touch Map Demo
Video Win Vista on PS3
Video HowTo Repair CD Disc
Video Open a XBOX 360
Video Format Install Win XP
Video XBOX 360 Laser
Video PSP TV Hack

Fast Software Links
evidence eliminator Vista

eBlaster Software

Web Links
VideoChew.com

WinXpFix.com
GardenerTube.com
evidence-eliminator.us
MyExerciseTube.com

 

webtechgeek
WebTechGeek.com ©2011
Raymond Garcia
Owner & Webmaster
Web Tech Geek

 

video chew button
Funny Video Site

winxpfix.com logo
Windows Tips Site

My Exercise Tube

 

Gardener Tube

 

Today's News
Web Tech Geek.com logo

WebTechGeek on Twitter

HOT Software Picks!
Giganews is the industry leading Usenet service provider - Giganews Usenet Free Trial

Todays How To Tip - Windows 7 How To Fine-Tuning Visual Effects in Windows 7 Tip How To Tip
Todays Tech News - My new iPad 2 has finally arrived: See it here with some home pictures of the iPad an iPad 2
Todays Software Review - Tweet Adder 3 Software Review: Easily get more followers on Twitter

News Feed - New RSS Feet List - WTG RSS News Feed Here! - RSS How to info


Windows Registry Guide | Windows Registry Guide Software | Windows Registry Guide Reviews Click here!
WebTechGeek

Note: You will see the new WebTechGeek web page format with -
older WTG web page format. I hope you like the new!

Windows Registry Guide!

 

 

 

More software downloads

Windows Registry Guide:
by Raymond Garcia
WebTechGeek.com

What Is Windows Registry?

The registry is a simple, hierarchical database of information that Windows operating systems (and some applications) use to define the configuration of the system. Originally, in the early, simple days of Windows (16-bit Windows versions especially), the same information that is now stored in the registry was stored in text files. Though these text files were simple, theirorganization made access to the information they contained too slow to keep up with increasingly speedy technology.

Many applications use the registry the same way, though some applications are now movingto separate storage locations for their data—a technique that allows the applications to easilyback up and restore their configuration data.

 

The development of the registry, like Windows, has been evolutionary. The registry was preceded by a pair of flat-text files, called win.ini and system.ini. While the performance with these files left something to be desired, they formed the basis for today's registry.

In fact, these two files live on today in Windows XP, though they are virtually unchanged from Windows NT version 4. The first registry to appear in Windows was created to solve anumber of problems: poor performance (retrieving information from the original flat-text .inifiles was cumbersome), size limitations (the .ini files could be only so large), and maintenance problems (the .ini files were organizationally impaired!).

Today, the Windows XP system .ini files contain only a few entries used by a few applications. (Most are legacy 16-bit applications, though a few new programs are also placing some items in the win.ini file, too!)

These system .ini files are of no importance to us, and we may safely ignore them. ForWindows XP, it's the registry that is most important to the system, because it contains the heart and soul of Windows XP. Without the registry, Windows XP would be nothing morethan a collection of programs, unable to perform even the basic tasks that we expect from an operating system. Every bit of configuration information that Windows XP has is crammed into the registry. Information about the system's hardware, preferences, security, and users—everything that can be set is set in there.

However, times are a-changing. Microsoft now realizes that if every application storesapplication-specific information in the system registry, then the system registry can grow toan enormous size. That isn't quite what Microsoft had in mind when they created the registrystructure. Microsoft's policy now states that applications may (and should) use standalone .ini files as needed.

Some advantages to using application-specific .ini files include these:

• Individual applications sometimes need to be restored from backup. With an application-specific .ini file, it is not necessary to back up and restore the entireregistry to reinstall any single application. (This eliminates the attendant problem ofrestoring one part of the registry only to lose another part during the restoration!)

• The system registry has a practical limited size. Granted, the size is large, but someapplications have lately been adding substantial content to the registry without regardto the fact (sad as it is) that the registry is a shared resource that everyone, includingthe system, must use! Once the registry gets too large, some registry operations maytake an excessive amount of time.

Note Microsoft limits the size of any object that is stored in a registry data key to 1MB. This limit is basically only meaningful for REG_BINARY objects, because strings and such are unlikely to become this large. If you must store more than 1MB in a registry object,then store the information in a file and store a pointer to the file in the registry. Withoutthis limitation, the registry could easily grow to be the largest file on your system.

For Windows before Windows XP:

Windows 2000 and earlier versions set restrictions on registry size. If you approach your registry limit, you'll get a message stating that you are low on registry quota. This indicates that the registry has grown too large for the current size allocation. Unless you change it, the registry size is set to 25 percent of the paged pool size; for most computers, the paged pool size is approximately equal to the amount of installed RAM, up to a maximum of 192MB.

The registry can be set to 80 percent of the paged pool size (80 percent of 192MB is justunder 154MB, though good sense says to round down to 150MB).

Earlier versions of Windows adjust the registry size based on the currently installed RAM. Several registry entries affect registry size, though most users will find that the defaults are acceptable for their use. To create a very large registry, ensure that the amount of RAM installed is sufficient and set the RegistrySizeLimit and PagedPoolSize entries.

 

Organization

The registry is organized into five major sections. These sections are called hives, which are analogous to root directories on your hard drive. Each hive, by definition, has its own storage location (a file) and log file. If necessary, a given hive can be restored without affecting the other hives in the registry. Inside a hive you find both keys (and subkeys, analogous to directories and subdirectories on your hard disk) and values. The term value (or data value, as it is sometimes called) refers to the information, or data, assigned to a key, making the key analogous to a file on your hard drive as well.

A key or subkey may have zero, one, or more value entries, a default value, and from zero to many subkeys. Each value entry has a name, data type, and a value:

• The entry's name is stored as a Unicode character string.
• The entry's type is stored as an integer index. The type is returned to the querying application, which must then map this type to the type that the application knows.
• The entry's value is stored as necessary to allow efficient retrieval of the data when needed.

Both the Windows XP operating system and applications store data in the Windows XP registry. This is both good and bad. It is good because the registry makes an efficient, common storage location. Here's the bad part: as I mentioned earlier, as more and more applications and systems store information in the registry, it grows larger, and larger, and larger.

It is most unusual for the registry to get smaller—I'm unaware of any application that does a really complete job of cleaning up all of its own registry entries when the application is uninstalled. Many applications leave tons of stuff in the registry when they are uninstalled, and not many applications clean up unused entries as a routine process. The end result is that the registry will grow, like Jack's magic beanstalk, as time goes on.
Note From time to time in this book I'll refer to hives, keys, subkeys, and values using thegeneric term object. When the term object is used, assume that the item could be any valid item in the registry!

Hives and Their Aliases:

There are five main, or top level, hives in the Windows XP registry, and accepted
abbreviations _for each:

• HKEY_CLASSES_ROOT, a.k.a. HKCR
• HKEY_CURRENT_USER, a.k.a. HKCU
• HKEY_LOCAL_MACHINE, a.k.a. HKLM
• HKEY_USERS, a.k.a. HKU
• HKEY_CURRENT_CONFIG, a.k.a. HKCC

Note The Windows 98 and Windows Me (Millennium Edition) HKEY_DYN_DATA hive, which has no abbreviation, does not exist in Windows XP, though Microsoft had.

originally intended to include information about Plug and Play in this hive. So where is PnP data saved if the HKEY_DYN_DATA hive is gone? Windows XP supports PnP, and Microsoft decided to integrate PnP data with the main registry rather than use a separate hive.

Each hive begins with HKEY_. HKEY is an abbreviation for "hive key," though thesignificance of this is not terribly important in understanding the registry. The H also signifies that the name is a "handle" for a program to interface with the registry. These handles are defined in the file winreg.h, included with the Windows XP SDK (Software Development Kit).

 

 


Windows Registry Guide | Windows Registry Guide Software | Windows Registry Guide Reviews Click here!
WebTechGeek

 


Windows Registry Guide | Windows Registry Guide Software | Windows Registry Guide Reviews Click here!
WebTechGeek


 


Windows Registry Guide | Windows Registry Guide Software | Windows Registry Guide Reviews Click here!
WebTechGeek

HOT Software Downloads!

Top

 

If you have a PC Fix, Windows Tip or Comment!

 

Copyright © 2001-2011 WebTechGeek.com Inc. all rights reserved. Reproduction without written permission from WebTechGeek.com Inc. is prohibited. Privacy Policy Other company/product names mentioned herein may be trademarks of their respective owners. This site is NOT responsible for any damage that the information or software on this site may cause to your system. You are responsible for any damage you cause to your system! About Us