RegistryBooster 2010 - You no longer need to guess! This free stability scan will help you clean, repair and optimize your system in an easy way.
How to Open, Create, and Close Registry Keys?
Before an application can add data to the registry, it must create or open a key.
Note: Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on your computer including your registry (See,
How to backup Registry?).
To create or open a key, an application always refers to the key as a subkey of a currently open key (See,
How to Fix application path problems?). The following predefined keys are always open: HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT, HKEY_USERS, and HKEY_CURRENT_USER.
Opening, Creating, and Closing Keys

An application uses the
RegOpenKeyEx function to open a key and the
RegCreateKeyEx function to create a key. A registry tree can be 512 levels deep. You can create up to 32 levels at a time through a single registry API call.
An application can use the
RegCloseKey function to close a key and write the data it contains into the registry. RegCloseKey does not necessarily write the data to the registry before returning; it can take as much as several seconds for the cache to be flushed to the
hard disk. If an application must explicitly write registry data to the
hard disk, it can use the RegFlushKey function.
RegFlushKey, however, uses many
system resources and should be called only when absolutely necessary.
RegOpenKeyEx Function - Opens the specified registry key. Note that key names are not case sensitive.
RegCreateKeyEx Function - Creates the specified registry key. If the key already exists, the function opens it. Note that key names are not case sensitive.
RegCloseKey Function - Closes a handle to the specified registry key.
RegFlushKey Function - Writes all the
attributes of the specified open registry key into the registry.
-
How to restrict users from changing desktop wallpaper?
Restrict users from desktop wallpaper through registry. You can do this just by setting different value of the certain registry...
Add Time:06.26, 2008 Hits:10,838
-
How to unlock registry keys?
In Microsoft Windows, registry keys are used to store configuration information: the value of a relevant key is changed every time a program is installed...
Add Time:07.14, 2008 Hits:7,923
-
How to change the name of My Computer
Here shows you how to change the name of My Computer through registry. (See: Windows Registry Structure )You can do this just by setting...
Add Time:06.25, 2008 Hits:6,305
-
How to clear Internet Explorer address bar auto-complete entries
Clear Internet Explorer address bar auto-complete entries through registry.
The following are the detailed steps.
Note...
Add Time:06.26, 2008 Hits:6,135
-
How do I Auto-Hide the Taskbar Using the Registry
If you are interested in modifying the look of your Windows desktop one way to accomplish this is to auto- hide the taskbar. The...
Add Time:07.08, 2008 Hits:5,067
-
Using Windows Scripting Host to Modify the Registry
First introduced as an add-on in NT 4.0, WSH is now an integral part of Win2K. The idea was to take the scripting container available in...
Add Time:07.11, 2008 Hits:4,468
-
How to edit registry key in Windows XP?
Editing registry key can be very complicated and highly risky. Please do NOT try this unless you are absolutely positive that you might mess up the...
Add Time:07.14, 2008 Hits:4,341
-
How to uninstall Norton or Symantec Anti-Virus Program?
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might...
Add Time:07.27, 2008 Hits:3,996
-
You do not have access to logon to this session
Error message when you try to use the Remote Assistance feature on a computer that is running Windows XP or...
Add Time:09.04, 2008 Hits:3,612
-
How to Remove an ActiveX Control in Windows?
Remove an ActiveX control from your computer, error messages that may occur when you attempt to remove an ActiveX control, and the use of multiple...
Add Time:08.21, 2008 Hits:3,251