How To Apply a Registry Key

The Windows Registry is where the Microsoft Operating Systems stores its system information. This is where all the configuration of the computer is filed. These configuration and settings stored in the registry include but is not limited to hardware devices, software program installations and the preferences of the computer user.

The keys on the Windows Registry contain values that have detailed instructions of how your system should run. If you modify the values of they key on your registry, your system’s performance will change. 

1. Produce a Registry script.

You can easily create a registry script using Notepad where you can input the syntax that you want to apply unto your computer. The following is how a registry script should look:
(The version of the registry editor)
(Black Space)
(; Comments)
(Body of the registry file)

The version of the registry editor varies for new and old Microsoft Windows Operating Systems. Windows Server 2003, XP and Vista use the registry editor “Windows Registry Editor Version 5.00” while Windows 95, 98&NT 4.0 uses “REGEDIT4”.

On your notepad, depending on your Windows version, input the name of your registry editor without the parenthesis and then press the “Enter” key on your keyboard to produce a blank space after the registry editor. Next, you can input comments on the registry file, especially if the registry is created purely by you. Precede the comment by a semi colon and a space before the actual text. After which, press the “Enter” key again on your keyboard and prepare to type the body of your registry file. As a sample, this is how your registry script should look like if you want to enable “Show Hidden Files and Folders” after a virus attack.

Windows Registry Editor Version 5.00

; Registry modification made possible by Mr. John Smith


2. Save the registry script you created in Notepad.

On Notepad’s Menu bar, hit “File” and then click on “Save As”. Input the file name and key in “.reg”, the file extension for registry files, at the end. After which, you will need to make sure that the Save as type selected is “All files” and not “Text Documents (*.txt)”. After you are done, save it either by hitting the “Save” button or pressing the “Enter” key on your keyboard. Your registry script is now saved on your computer.

3. Apply the Registry Key you created.

There are actually two ways on how to go about this step.

  • Through the Registry Editor.

Hit the “Start” button and then select “Run”. In the Run dialogue box, input “regedit” on the text field provided and hit the “OK” button. This will populate the Registry Editor pane. On the Menu bar of the Registry Editor, hit “File” and then “Import”. Look for the registry file you created, highlight it and press “Open”. Doing this, the editor will automatically enter the information you saved on that specific registry file unto your Windows Registry. Press the “OK” button and close the Registry editor.

  • Manually applying the registry key.

Go to the folder where you saved the registry key you created. Highlight the file and using your mouse, right click on its icon. If you have older version of Windows, select “Run” and if you have the latter version of Windows, select “Merge”. Hit the “Yes” and then “OK” button to apply the registry key unto the Windows registry.

After applying or modifying registry keys in the editor, it is advised that you restart your system so that the alterations will commence after the system reboots.


Share this article!

Follow us!

Find more helpful articles: