Flux rss
Bookmark Bookmark & Share
Microsoft Windows - La base del registro Microsoft Windows - Registros do sistema Microsoft Windows - Inhaltsverzeichnis Microsoft Windows - La base de registres Microsoft Windows - El registro

What is the registry?

In version 3.1 of Microsoft Windows, applications that had been installed were configured in Windows with configuration files (which had the extension .ini). There were also two configuration files for Windows itself:

  • win.ini: for defining user settings (like language, colours, and wallpaper)
  • system.ini: for configuring Windows' use of the machine itself (like the sound card and screen resolution)
Finally, one file (reg.dat) was used for associating files with programs (defining which program would be used to open a file with a given extension).

Since then, Microsoft has decided to gather all information into two files (called the "registry"). The files are:

  • "user.dat" - containing user settings
  • "system.dat" - containing system settings
Microsoft kept the "system.ini" and "win.ini" files to ensure compatibility with programs that worked in Windows 3.1.

Advantages and disadvantages

This registry is meant to group all configuration information together, in order to both give it a semblance of organisation and limit the number of configuration files on the hard drive.
The registry is a file containing a tree structure in which settings are grouped by criteria. Each criterion corresponds to a branch which may then be subdivided into other branches (hence, a "tree"). Each configuration element is located at the very end of a branch in what is called "a key".

The biggest problem with this registry is that, after a program is installed, it creates several keys in various places in the registry, and when it is uninstalled, the keys are erased (in a best-case scenario) but the branches of the tree remain. When you install program after program and later erase them, little by little the system slows down. Eventually, you may have to reinstall Windows.

Editing the registry

This colossal edifice can be edited, but it must be done with caution (the registry is the heart of Windows — no registry, no Windows).

  • The first thing that must be done is making a copy of the registry. This will let you restore your initial settings if a problem arises.
  • Then, you must disable the attributes of the files system.dat and user.dat
  • Finally, run the program "c:\windows\regedit.exe"
All that's left is modifying the keys that you want to edit.

Description of the branches

In the registry editor (regedit.exe) you will see six main branches:

  • HKEY_CLASSES_ROOT (called HKCR): Contains all file associations; the names of the first keys listed within it correspond to the file extensions in question.
    Shown lower down on the tree are keys which correspond to the names of file types, and their attributes:
    • The default icon (DefaultIcon)
    • The associated action (shell): open, run, etc.
  • HKEY_CURRENT_USER (called HKCU): Defines settings for the current user, and is divided into six sub-categories:
    • control panel: for the control panel
    • software: for software that has been installed
    • AppEvents: for system sounds (the beep or boop when you click on something)
    • keyboard layout: for keyboard settings
    • Remote Access: for remote access over a network
    • Network: Network configuration
  • HKEY_LOCAL_MACHINE (called HKLM): Contains all information related to your machine:
    • hardware: for the processor and motherboard
    • enum: for hardware (peripheral devices, etc.)
    • network: for networking and the Internet
    • software: for software configurations shared by all users
  • HKEY_USERS (called HKU): Contains separate settings for each user
  • HKEY_CURRENT_CONFIG (called HKCC): This is a shortcut to the configuration currently being used in HKLM\Config. It contains settings for the current configuration of the computer.
  • HKEY_DYN_DATA (called HKDD): This is a shortcut to the components currently being used only in RAM in HKLM\Config (volatile information: exists only temporarily, until the system is reinitialised).


Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « Microsoft Windows - The registry » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Download Registry Mechanic Description It was designed by PC Tools Software Groups. The application allows you to repair your problems of Windows Registry. Mostly all problems linked with Windows registries are the main causes of the system crash, performance degradation and... en.kioskea.net/telecharger/telecharger-1953-registry-mechanic
How to open Registry How to open Registry For windows XP: For Windows Vista The registry is a directory path that stores option and settings for windows operating system. The registry allows you to access difficult file to track in the background. All... en.kioskea.net/faq/sujet-589-how-to-open-registry
Download Abexo Free Registry Cleaner Recording under Windows has many inadmissible entries which cause system complications and slow down significantly your computer. With Abexo Free Registry Cleaner, your system will work faster. The software includes a recording defragmenter which... en.kioskea.net/telecharger/telecharger-2146-abexo-free-registry-cleaner
The main registry keysThe main registry keys Intro Accessing the Registry Note Intro The Windows Registry is a database which stores settings and options for Microsoft OS It contains information and settings for hardware, operating system software,... en.kioskea.net/faq/sujet-1460-the-main-registry-keys
Making a backup of your registryMaking a backup of your registry Export/ Import Making a backup and restoring your registry using the Windows Recovery Console Here below you should two simple methods on how to make a backup and to restore your registry. Export/... en.kioskea.net/faq/sujet-519-making-a-backup-of-your-registry
Error Codes in WindowsError Codes in Windows The list below details the error codes displayed in the dialog boxes in Windows: Code Description _________________________________________________________________________ 1 Incorrect function.... en.kioskea.net/faq/sujet-2347-error-codes-in-windows
Cd ROM Icon not showing in windowsHello, I am using windows XP sevice pack 2.Now whts happening cd rom icon is not showing in windows.I checked tht IDE cable, power cable & cdrom is working properly.When I boot system with windows XP cd its boot with cd, now clear cd rom is ok. but... en.kioskea.net/forum/affich-31288-cd-rom-icon-not-showing-in-windows
Taskmanager & registry editing disabledHello, this is my problem I searched alot but never found a solution it started with the worm that disables the taskmanager and the registry editing i tried to remove them in several ways but couldnt the pc had no anti-virus at that time. i bought a... en.kioskea.net/forum/affich-38044-taskmanager-registry-editing-disabled
Task manager/registry editor disaabled by admHello, i am not able to open task manager & registry editor. getting error it is disabled by your administrator. i have reinstalled xp more than 10 times by different cd's. still nothing happens. i tried all the steps found on google, still nogo.... en.kioskea.net/forum/affich-87838-task-manager-registry-editor-disaabled-by-adm
Download Wise Registry Cleaner 3.72Wise Registry Cleaner scans the Windows registry for invalid or obsolete information and presents you with a list of potential problems. To help you decide which items to delete, the program classifies them as `Safe to fix` or `Not fully safe to fix`.... en.kioskea.net/telecharger/telecharger-925-wise-registry-cleaner-3-72
Download Fix My RegistryThe Windows registry is an important component of Windows operating system. It is necessary to maintain it as frequently as possible, in order to keep your system stable and fast. The regular use of the computer does not only fragment the disk, but... en.kioskea.net/telecharger/telecharger-3539-fix-my-registry
Download Windows Worms Doors CleanerThe most part of the firewall, particularly the most renowned, use vulnerabilities known in the services of Windows which are allowed by default and that cannot often be made disabled via the configuration of the OS.Even with these services the... en.kioskea.net/telecharger/telecharger-291-windows-worms-doors-cleaner
Stompsoft Registry RepairSafely clean your Windows registry without removing vital pieces of information Make your computer faster by cleaning and optimizing your Windows registry Help improve your Windows PC’s overall performance and stability ... en.kioskea.net/guide/630414014-stompsoft-registry-repair
Microsoft OEM Licence Microsoft OEM Windows Server 2003 Enterprise Edition Inc. Service Pack 2 25 CLInc ., Designed for mission-critical server workloads, Windows Server 2003, Enterprise Edition, is the recommended operating system for servers that run applications such as networking, messaging, inventory, and customer service systems; databases;... en.kioskea.net/guide/641746359-microsoft-oem-licence-microsoft-oem-windows-server-2003-enterprise-edition-inc-service-pack-2-25-clt-r2-1-pack
User management in Windows NTThe notion of a user Windows NT is an operating system which manages sessions, meaning that when the system is started, it is necessary to log in with a user name and password. When Windows NT is installed, the administrator account is created by... en.kioskea.net/contents/winnt/ntusers.php3
File sharing in Windows XPAdvantages File sharing involves making the content of one or more directories available through the network. All Windows systems have standard devices making it easy to share the content of a directory. However, file sharing may lead to security... en.kioskea.net/contents/configuration-reseau/partage-fichiers.php3
Windows networkingNetworking in Windows 2000/XP To configure each computer, simply go to the control panel, then double-click "network connections" and right-click "local area connection", then choose properties! The local area connection window displays the... en.kioskea.net/contents/configuration-reseau/configurer-reseau-windows-xp.php3