Here we explain in a simple way how to change the keys and values of the registry of Windowspara that you can put into practice and achieve it successfully.
If you are one of the users who doesn’t have any information, this topic will surely be of interest to you, besides, you can learn how to create backups of the registry and restore them, as well as the most edited keys for applications, users and viruses.
Don’t run out of knowledge – this is your chance to learn, so pay attention and take note!
Have you ever wondered what is the Windows registry and regedit? To begin with, the Windows registry is nothing more than a centralized database that stores the configurations and all the information of the operating system.
It even has data regarding all the hardware, software, user configurations and preferences stored in the equipment. While the registry editor is also known as regedit, it is a tool that includes Windows to manually edit the keys and values that contain the registry.
The record contains two basic elements: keys and values. The registry keys are similar to folders, in addition to the values, each key can contain subkeys, which in turn can contain more subkeys and so on.
Keys are referenced with a syntax similar to Windows path names and use backslashes to indicate different hierarchical levels. In fact, each subkey must have a name.
A string that cannot contain backslashes and is not case-sensitive. It is also possible to create, edit and export keys and values using the rediante Regedit, to create and restore a backup of the entire registry or to save only individual keys.
Open Regedit in the registry editor
If you want to open Regedit or the registry editor you can do them in different ways.
But in this case we do not recommend the medication of the Windows registry, especially if you are not familiar with its handling as the changes made may affect the stability of the operating system.
The best thing is to make a copy of the key to modify beforehand, because the edition of the keys and of the registry is not at all difficult, you only have to have the appropriate precaution and a little common sense.
- Type in the Start box or in the Run: REGEDIT tool and press the Enter key.
- In Windows 8 type on the start screen: Regedit and press Enter.
- Look for direct access in: All programs.
- Create a new shortcut on the desktop, with the path: “regedit.exe”.
Now, if you want to edit the registry keys and values you can also do them in two simple and simple ways: manually using Regedit or editing the REG files with Notepad or another text editor and adding them later.
Regedit opens a window with the structure of a tree, similar to an explorer with two panels. The left panel has the structure and you can navigate through folders and subfolders.
In a similar way to the explorer you can use the context menu to create new keys, delete them, rename them, export them, etc.
In the following example image the key is exported: “Services”, which contains all the values of the services modified manually by the user, through the Services tool.
As you can see in the panel on the right opens the content of the keys and values.
Any value is edited with two clicks on it. The following picture shows how to change the value of: DisablePagingExecutive in the Memory Management key to disable kernel paging in Windows, thus optimizing memory and getting more performance.
How to use REG files?
When we talk about REG files we mean text files that are saved with the extension .REG, instead of the default .TXT.
Best of all, they can be easily edited with any editor, such as Windows Notepad, and when you double-click on them, the information they contain is added to the Registry. You can also create a REG file by exporting a key in Regedit and consist of:
- The header that is always: Windows Registry Editor Version 5.00
- A blank line (essential)
- The key with its corresponding value
Rules for creating scripts or REG files
1. The first line in the XP, Vista and Windows 7 operating systems should be: Windows Registry Editor Version 5.00. A blank line should then be left.
2. In operating systems Win98, ME, or NT 4.0 will be: REGEDIT4 in the same way after leaving a blank line.
3. To create a key a serious example: [HKEY_CURRENT_USERSoftwareMyProgram].
4. A value contained in the previous key: [HKEY_CURRENT_USERSoftwareMyProgram] “my_value”=”how”.
5. To remove a key, place a minus sign first: HKEY_CURRENT_USERSoftwareMyProgram] To delete a value: [HKEY_CURRENT_USERSoftwareMyProgram] “value to be removed”=-.
6. When creating any value, it is assumed to be a string, to create a DWORD value you need to specify it, for example: [HKEY_CURRENT_USERSoftwareMyProgram] “my_value”= dword: 000001.
7. If the semicolon character (;) is in front of any line this will be ignored and considered as a comment, for example: HKEY_CURRENT_USERSoftwareMyProgram]; this line is a comment.
To make changes to your Windows registry, the first thing you need to do is log in as an administrator. In case you don’t have the corresponding permit, try the following option:
- Click on the key to be modified, right-click and select Permissions from the menu.
- Now click Advanced >Owner, select your name, check the Replace owner in sub-containers and objects checkbox, and press OK.
Now in the previous window select your name and check the Allow Full Control box.
– Accept. That’s all there is to it.
You can also create a system icon on the desktop to access the Registry Editor.
This icon is a link to a CLSID (Class Identifier) folder and has the feature that is impossible to remove, which is an advantage so that it cannot be accidentally deleted. The tablet also contains the key needed to delete the icon whenever you want.
What to do before any change in the registry
1. Back up the Windows registry: the easiest way to back up the registry is to export the selected key, the branch, or the entire registry in a REG file.
This is a plain text file with the extension .reg that contains all the data of the exported section. Its size depends on the data it contains, a backup of the entire record usually measures no more than 60MB.
You must take into account that when you click twice on a REG file created, Windows will show a confirmation message and if it is positive it will add the keys it contains to the registry replacing the values that have been modified.
To export a key, branch or the whole record in the Registry Editor or REGEDIT select: File > Export, at the bottom of the window in the Export interval select: All or selected Branch, save the file in the corresponding place.
2. Create a backup of the registry using the command line: in this case Windows for security reasons always keeps a safe copy of the registry, in cases where an inappropriate modification affects configuration files and this makes Windows unable to start, it is possible to use the saved copy.
If you see yourself in that case you must perform the following steps: when turning on the equipment after passing the POST stage, press the F8 key, a menu with several options will be displayed, using the arrow keys, select: “Last known valid configuration” and press the Enter key.