What Is The Windows Registry Editor & How Do I Use It? [MakeUseOf Explains]
Whatsapp Pinterest

what is the windows registryThe Windows registry can be scary at first glance. It’s a place where power users can change a wide variety of settings that aren’t exposed elsewhere. If you’re searching for how to change something in Windows, you’ll occasionally find articles telling you to edit the registry and change certain settings. These changes are often referred to as registry hacks or registry tweaks.

If you need to edit the registry, don’t worry – making a few quick changes is easy as long as you know what setting you’re modifying. However, you do need to be careful when editing the registry.

What Is The Windows Registry?

The Windows registry is a database that stores a wide variety of configuration settings. Nearly all configuration settings included with Windows are stored here. Third-party programs can also use the registry to store their settings, although they can also store settings in configuration files – the choice is up to each program.

Many of the options exposed in the registry are not accessible elsewhere in Windows. A wide variety of advanced settings can only be changed by directly editing the registry. Some other settings may be accessible through Group Policy – but the Group Policy editor is only included on Professional editions of Windows Which Windows 8 Version Is For You? Which Windows 8 Version Is For You? If you’re interested in upgrading, you’ll also need to know which edition of Windows 8 is right for you. The good news is that Microsoft has simplified the different editions of Windows in Windows 8... Read More . The registry allows you to change most settings that can be accessed through Group Policy.

The Registry Editor is a graphical application that allows you to view and edit the Windows registry.

what is the windows registry

Using The Registry Editor

Warning: Be careful when editing the registry. Don’t go into the registry editor and delete anything or change a setting unless you know exactly what you’re doing. If you do know what you’re doing and are careful to modify only the correct values, you shouldn’t have any problems. However, if you start deleting folders (known as “registry keys”) or modifying other values, you could seriously damage your Windows installation. When using the registry editor, always bear this warning in mind.

To open the registry editor, press the Windows key, type regedit, and press Enter. (On Windows XP, click Run in the Start menu and run the regedit command.)

what is the windows registry used for

If you know a certain value you want to change, you can navigate through the registry to find it by clicking the + sign next to each registry key. For example, if you wanted to change the LastActiveClick setting located in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, you’d click the plus sign next to HKEY_CURRENT_USER, click the plus sign next to Software, and continue clicking the plus signs next to each key until you reach the Advanced key. Click the Advanced key in the left pane and you’ll see the values inside it in the right pane. Double-click a value’s name and change it.

what is the windows registry used for

You may sometimes have to create new values if a registry setting doesn’t exist by default. To do so, navigate to the correct folder, right-click inside the right pane, point to the New menu, and select the specific type of value you require. Type the name of the value and press Enter.

If a key, or folder, you need doesn’t exist, create the correct folder structure by creating new subkeys in each folder. For example, If you need to change a value in Foo\Bar, create the Foo key if it doesn’t exist, then create the Bar key inside it.

what is the windows registry used for

Examples Of Cool Registry Hacks

There are a lot of useful things you can do with the registry. Here are a few examples:

  • Prevent Windows Update from automatically restarting your computer: Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU key, creating the subkeys if they don’t exist. Right-click in the right pane and create a new 32-bit DWORD value named NoAutoRebootWithLoggedOnUsers. Set its value to 1.
  • Single-click to activate the last active window for a program on Windows 7’s taskbar: Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced key, create a new DWORD value, name it LastActiveClick, and change its value to 1.
  • Disable the Aero Shake How To Enable & Troubleshoot Aero Effects In Windows 7 How To Enable & Troubleshoot Aero Effects In Windows 7 Read More  feature that automatically minimizes other windows when you shake a window: Navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer, create a new DWORD value, name it NoWindowMinimizingShortcuts, and set its value to 1.
  • Disable system tray notification balloon pop-ups 7 Windows Frustrations You Can Quickly Fix 7 Windows Frustrations You Can Quickly Fix Windows might be popular, but it isn’t perfect. There are a number of frustrating things that can occur while using a Windows desktop – from windows disappearing off your screen to annoying pop-ups and notification... Read More : Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, create a new DWORD value, name it EnableBalloonTips, and set its value to 0.

You can even modify the text on the Windows logon screen How to Change the Windows Login Screen Message and Font How to Change the Windows Login Screen Message and Font Bit tired of the same Windows login screen? Here's how to configure the Windows 10 login screen to look just how you want. Read More from the registry editor.

You’ll find many more examples like these ones online. These are the kind of options that are only available in the registry. People have made third-party programs to configure many of these settings, but these programs just change the values in the registry for you.

Exporting & Importing .Reg Files

The Registry Editor also supports .reg files. You can create your own .reg files to back up certain registry keys, which can be a good idea if you’re about to edit them. To back up a key, right-click it and select Export. The contents of the key will be saved to a .reg file on your computer.

how to use windows registry

You can import the contents of a .reg file into your registry by double-clicking it. You’ll often find .reg files online – they can simplify the process of performing registry hacks. Instead of creating or editing each value by hand, you can double-click the .reg file and the values described in it will be instantly placed into your registry. Note that, for many registry hacks, you may have to restart Windows or the associated program before the change takes effect.

how to use windows registry

However, you shouldn’t just run any .reg file you download online without inspecting it first. To inspect a .reg file, right-click it and select Edit. You’ll see the contents of the file in a text editor, such as Notepad. Make sure the .reg file is modifying the values it should be modifying, and not anything else – a malicious individual could create a .reg file that trashes your system settings, causing serious problems.

what is the windows registry

The next time you see a registry hack, you should be able to follow it easily – or download a .reg file and double-check it to make sure it’s trustworthy and won’t mess up your computer. While we’re on the topic, don’t fall for registry cleaners Using Registry Cleaner: Does Is It Really Make a Difference? Using Registry Cleaner: Does Is It Really Make a Difference? Advertisements for registry cleaners are all over the Web. There’s an entire industry out there bent on convincing inexperienced computer users that their registry needs fixing, and that, for ten easy payments of $29.95, their... Read More – they don’t really make Windows go faster.

Do you have any favorite Windows registry hacks? Leave a comment and share them!

Image Credit: Data cube with a giant wrench via Shutterstock

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. daviti
    November 28, 2017 at 9:59 am

    very good

  2. harley bellwood
    February 28, 2013 at 6:42 pm

    Simple question...if you uninstall a program or software via a good uninstaller & find crap entries still in the registry, is it safe to delete them?

    • Chris Hoffman
      February 28, 2013 at 6:52 pm

      Technically, it's probably safe as long as they're entries related to the program itself.

      However, you shouldn't bother. You could potentially break something (even I could potentially break something if I tried) and there's no actual benefit to deleting such entries. It just wastes time and could potentially cause problems -- and for no real benefit.

      • harley bellwood
        February 28, 2013 at 6:53 pm

        Good to know, thanks.

  3. Dmitriy Haralson
    January 22, 2013 at 12:24 pm

    the registry maybe a powerful tool, but in inexperienced hands a PC killer

  4. John Schmitt
    January 18, 2013 at 4:31 pm

    Yes, for XP:

    My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress...something..

    I delete that key everytime!

  5. Eric Brewer
    January 17, 2013 at 9:18 pm

    Had to use the registry many times on home version computers when someone got a virus that changed some of the group policy settings to make them harder to remove.

  6. Victor Ong
    January 17, 2013 at 8:55 pm

    Very good for beginners. Everything you really need to know!

  7. Patrick Jackson
    January 17, 2013 at 4:25 pm

    I just backup at times!

  8. Noman Fayez
    January 17, 2013 at 1:23 pm

    registry editor some times save us from big problems. Thanks to Microsoft that they provide user to access it. Otherwise OHH I can not think without it.

  9. Junil Maharjan
    January 17, 2013 at 9:13 am

    you should have an article for cool and really useful registry hacks only.

  10. dragonmouth
    January 16, 2013 at 11:04 pm

    "While we’re on the topic, don’t fall for registry cleaners – they don’t really make Windows go faster."

    They may not make Windows run any faster but they do get rid of a lot of crap left by incompletely uninstalled programs. That is the problem with Windows - the uninstall process leaves a lot files and Registry entries behind.

    • James Johnston
      January 17, 2013 at 1:08 am

      That's a good point to make, I worked with clients thinking that those cleaners will fix everything but, since they no nothing about the registry they can sometimes makes this worse.

      As for uninstall programs leaving junk files and registry entries behind. I've had a few issues with that in the past and had use several different third party uninstaller programs and file/registry tools to successfully remove all files left behind or least most of the files.

    • Alan Wade
      January 17, 2013 at 7:43 am

      I use a third party uninstaller which clears out most of the junk, whats left amounts to just a couple of bytes and dosnt harm anything.

  11. Alan Wade
    January 16, 2013 at 10:19 pm

    Great tutorial Chris!
    The registry has been my playground for a few years now so I am well aware that backing up the registry before editing is very important too..

    • Lisa Santika Onggrid
      January 17, 2013 at 4:35 pm

      When I learnt how powerful the registry editor is, I played with every trick I came across. I once pranked my friend by removing his start button and shutdown menu, popping up bogus notifications and some more edits, plus messing up some settings in Group Policy to finish.
      He's savvy enough to undo everything, but he's baffled as to why that could happen and blamed it to virus slipping under his security. What's so funny about it, you ask? I did it right beside him when he was talking to me.

  12. Rigoberto Garcia
    January 16, 2013 at 10:08 pm

    Excellent article Chris, decoding each of the parts of the Registry. It will be helpful to my staff the support area, who will share. Thank you very much ...