{"id":4421,"date":"2018-05-28T06:52:28","date_gmt":"2018-05-28T11:52:28","guid":{"rendered":"http:\/\/blog.zoha-islands.com\/?p=4421"},"modified":"2018-05-28T06:52:28","modified_gmt":"2018-05-28T11:52:28","slug":"what-is-the-windows-registry","status":"publish","type":"post","link":"https:\/\/zoha-islands.com\/blog\/what-is-the-windows-registry\/","title":{"rendered":"What is the Windows Registry?"},"content":{"rendered":"<p>In many tech troubleshooting articles, you\u2019ll find a way to fix a problem that involves \u201cediting the Windows registry.\u201d There\u2019s always a dire warning attached, along with the lines of, \u201cDo not attempt to edit the registry unless you know what you\u2019re doing! One wrong registry edit can render your machine unusable!\u201d That&#8217;s true, but with a bit of caution, you can safely edit the registry. Here&#8217;s what you need to know&#8230;<\/p>\n<h1><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-4441\" src=\"https:\/\/zoha-islands.com\/blog\/wp-content\/uploads\/2018\/05\/Windows-Registry.png\" alt=\"\" width=\"256\" height=\"256\" srcset=\"https:\/\/zoha-islands.com\/blog\/wp-content\/uploads\/2018\/05\/Windows-Registry.png 256w, https:\/\/zoha-islands.com\/blog\/wp-content\/uploads\/2018\/05\/Windows-Registry-150x150.png 150w\" sizes=\"(max-width: 256px) 100vw, 256px\" \/>Slow Computer? It might be the Windows Registry\u2026<\/h1>\n<h2>What is the Windows Registry?<\/h2>\n<p>It&#8217;s always good to start with a definition. I like to call the Windows registry &#8220;a hideously complex ball of string, rubber bands, duct tape and bailing wire that&#8217;s supposed to keep track of Windows system settings, your hardware configuration, user preferences, file associations, system policies, and installed software.&#8221; It was intended to be an improvement on the simple text-based INI files that stored in Windows configuration settings, but apparently, too many pocket protectors were involved in the design.<\/p>\n<p>One advantage of the registry is that it enables each user of a machine to maintain his\/her own settings; each user can have a unique theme, speaker volume setting, set of apps, and so on. But the registry can also apply settings to all users, or a group of users specified by the system administrator (e. g., \u201cadults\u201d and \u201ckids\u201d). The registry is one of the most important files on your hard drive.<span id=\"ezoic-pub-ad-placeholder-111\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-askbobrankin_com-medrectangle-4-0\" class=\"ezoic-ad ezfound\" data-google-query-id=\"CPWwyfykqNsCFXjH4wcdF6oJug\"><\/span><\/p>\n<div id=\"google_ads_iframe_\/1254144\/askbobrankin_com-medrectangle-4_0__container__\">\n<p>It may be necessary to edit the registry to correct an error or corruption; to add a setting that is not part of the original design, or to prevent some system activity that is undesired. The registry is a very powerful tool, and if it\u2019s used incorrectly, YES, it can wreak havoc on your system. But with a basic understanding of how it works, and some simple precautions, you need not fear.<\/p>\n<p>The first rule of editing the registry is, \u201cbackup your registry!\u201d You can make a backup of your registry by creating a System Restore point. To do so, click Start, type <b>restore point<\/b>, press Enter, and follow the prompts. Another method is to use the Export function in the Regedit utility. (See below)<\/p>\n<p>Even if your Windows installation becomes unbootable, you can recover your old, working registry using the tools on the System Recovery USB drive that you created. If you have not created one yet, <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/4026852\/windows-create-a-recovery-drive\" target=\"_blank\" rel=\"noopener\">here is a link<\/a> to how to do it. <span id=\"ezoic-pub-ad-placeholder-117\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<p>Regedit.exe is an app included with Windows to help you edit the registry, Find regedit using the Windows Start search box, then run it to open the registry file. The open regedit window will look something like the screenshot below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/askbobrankin.com\/windows-registry-editor-regedit.jpg\" alt=\"Windows Registry Editor\" \/><\/p>\n<p>A few paragraphs earlier, I mentioned that you can make a backup of the registry by using the registry editor. Let&#8217;s do that now. Click File, then Export. In the lower left corner of the new window that opens, select &#8220;All&#8221; under Export Range. Enter a filename, and click the Save button. It will take a minute or so to create the backup. Don&#8217;t be surprised if the lights flicker, or if you hear a deep, guttural moan emanating from your computer.<\/p>\n<p>Returning to the registry editor window, at the top left corner we see the link containing the word \u201cComputer\u201d &#8212; think of that word as the trunk of a tree. Beneath it, in the left-hand window pane, we see the names of five branches: HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, etc. Click on any of these branch names (called \u201ckeys\u201d) to see what further branches lie below it. Keys can be nested up to 512 levels deep. We won\u2019t be going that far!<\/p>\n<p>The prefix \u201cHKEY\u201d indicates a registry \u201chive,\u201d the top level of this hierarchical database. \u201cCLASSES_ROOT,\u201d \u201cCURRENT_USER,\u201d etc., are names for hives, each of which contains more levels of data that are all logically connected to the hive\u2019s subject. \u201cHKEY_CURRENT_USER\u201d is a hive that contains settings which apply to whoever is currently logged in to the computer. If you click on that hive name to expand the tree below it, you will see familiar names like \u201cControl Panel,\u201d \u201cPrinters,\u201d etc., along with mysterious labels of system resources that most users don\u2019t need to know about.<\/p>\n<p>What you do need to know is that it is critically important to make edits in the correct hive and the correct sub-branch of that hive. A change to HKEY_USERS instead of HKEY_CURRENT_USER may have unintended consequences for all users of a machine, not just you. Navigating the tree structure of the registry must be done with the utmost care.<\/p>\n<p>Fortunately, there are lots of helpful geeks who provide exactly the right paths to take you where you need to be in the registry. Many articles, online you will find instructions such as \u201cnavigate to \\HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\u2026\u201d Just highlight the path name, copy it, and paste it into the address bar at the top of the regedit window.<\/p>\n<p>Once you are in the right place, most registry tweaks involve enabling or disabling something. The \u201csomething\u201d may have a key at the end of a registry path like the one above, or you may need to create one for it. The instructions provided by your friendly geek should tell you what to do, step by step. For example, here is how to make OneDrive disappear from File Explorer\u2019s sidebar in Windows 10:<\/p>\n<p>Copy the following line, press Ctrl+F, paste it into the search box, then hit Enter:<br \/>\n<b>HKEY_CLASSES_ROOT\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}<\/b><\/p>\n<p>In the right-hand window, you will see a DWORD named, \u201cSystem.IsPinnedToNameSpaceTree\u201d (you may need to expand the \u201cName\u201d column to read the whole name). Its value is set to 1 by default, meaning OneDrive in the sidebar is \u201con.\u201d Double-click on that DWORD name and change the \u201cValue data\u201d to zero (0), then click OK. Close regedit, reboot, and OneDrive will be gone. If you ever want it back, repeat this procedure and change the zero back to a one.<\/p>\n<p>It&#8217;s also possible to make changes to the registry with a REG file that someone else has coded for a specific task. For example, you can add a new option &#8220;Open with Notepad&#8221; to the context menu that appears when you right-click on a filename. This is handy when you want to quickly edit a file that doesn&#8217;t end with the. TXT extension.<\/p>\n<p>Download this <a href=\"https:\/\/askbobrankin.com\/Open-With-Notepad.zip\">ZIP file<\/a>, click to open it, and then double-click on the Open-With-Notepad.reg file. Click your way through a few &#8220;Do you really want to do this?&#8221; prompts, and it will add a key to your registry. Now you can open any file (regardless of the extension) with the Notepad editor, using the context (right-click) menu.<\/p>\n<p>So now you (sort of) know what you are doing in the registry. Just make sure you always start by backing up your existing registry, even if you don\u2019t plan to change anything but are \u201cjust looking around.\u201d<\/p>\n<p>Have a great week<\/p>\n<p>ZI Staff<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In many tech troubleshooting articles, you\u2019ll find a way to fix a problem that involves \u201cediting the Windows registry.\u201d There\u2019s always a dire warning attached, along with the lines of, \u201cDo not attempt to edit the registry unless you know what you\u2019re doing! One wrong registry edit can render your machine unusable!\u201d That&#8217;s true, but &hellip; <a href=\"https:\/\/zoha-islands.com\/blog\/what-is-the-windows-registry\/\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":4440,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts\/4421"}],"collection":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/comments?post=4421"}],"version-history":[{"count":0,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts\/4421\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/media\/4440"}],"wp:attachment":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/media?parent=4421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/categories?post=4421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/tags?post=4421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}