{"id":5961,"date":"2020-07-06T06:34:42","date_gmt":"2020-07-06T11:34:42","guid":{"rendered":"http:\/\/blog.zoha-islands.com\/?p=5961"},"modified":"2020-07-06T06:34:42","modified_gmt":"2020-07-06T11:34:42","slug":"afraid-to-edit-your-registry-dont-be","status":"publish","type":"post","link":"https:\/\/zoha-islands.com\/blog\/afraid-to-edit-your-registry-dont-be\/","title":{"rendered":"Afraid To Edit Your Registry? Don\u2019t Be.."},"content":{"rendered":"<table border=\"0\" width=\"100%\">\n<tbody>\n<tr>\n<td valign=\"top\">\n<div class=\"intro\">\n<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 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. (Just beware of the hives.) Here&#8217;s what you need to know&#8230;<\/p>\n<\/div>\n<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div id=\"adsense-new\">\n<div id=\"ezoic-pub-ad-placeholder-104\">\n<div>\u00a0<\/div>\n<\/div>\n<div id=\"ezoic-pub-ad-placeholder-105\">\n<div id=\"adsense-topright\">\u00a0<\/div>\n<\/div>\n<\/div>\n<div id=\"a005778more\">\n<div id=\"more\">\n<div class=\"KonaBody\">\n<h2>What is the Windows Registry?<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-5967\" src=\"http:\/\/blog.zoha-islands.com\/wp-content\/uploads\/2020\/07\/reg-300x168.png\" alt=\"\" width=\"495\" height=\"277\" srcset=\"https:\/\/zoha-islands.com\/blog\/wp-content\/uploads\/2020\/07\/reg-300x168.png 300w, https:\/\/zoha-islands.com\/blog\/wp-content\/uploads\/2020\/07\/reg.png 750w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/p>\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 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.<\/p>\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>create a 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:\/\/goo.gl\/sNnNK7\" target=\"_blank\" rel=\"noopener noreferrer\">here is a link<\/a> for how to do it on Windows 7, 8, or 10.<\/p>\n<p>Regedit.exe is an app included with Windows to help you edit the registry. Type <b>regedit<\/b> in Windows start\/search box, then press Enter. You may see a popup that says &#8220;Do you want to allow this app to make changes to your device?&#8221; Click YES, no changes will be made at this point. The open Regedit window will look something like the screen shot 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, followed by a hissing sound emanating from your computer.<\/p>\n<p>Returning to the registry editor window, at the top left corner we see 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 brahch 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><b>You may recall that I mentioned hives in the opening paragraph of this article. A weird thing happened as I was typing this up. I opened the registry editor, and a wasp flew into my office and stung me on my finger! I&#8217;m not saying it came from a registry hive, but it&#8217;s 2020, and stranger things have happened.<\/b><\/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. In my articles, you may 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, to change the border width of your windows, navigate to <b>HKEY_CURRENT_USER\\Control Panel\\Desktop\\WindowMetrics<\/b>. Set the values of Border Width and Padded Border Width to 0 to eliminate the borders. Or increase the numbers to make the borders fatter. Valid values for Border Width are 0 to -750, but any number larger than 100 will be produce unusable results. Valid values for Padded Border Width are 0 to -1600. Padded Border Width should be larger than Border Width. For some reason, both of these numbers must be negative. The more negative, the fatter the borders. A reboot is required for the changes to take effect.<\/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\" target=\"_blank\" rel=\"noopener noreferrer\">ZIP file<\/a> file, 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 And watch out for wasps.<\/p>\n<p>Have A Great Week From ALL of us at Zoha Islands and Fruit Islands.<\/p>\n<\/div>\n<\/div>\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 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 &hellip; <a href=\"https:\/\/zoha-islands.com\/blog\/afraid-to-edit-your-registry-dont-be\/\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":5966,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,3,4,5,6],"tags":[],"_links":{"self":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts\/5961"}],"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=5961"}],"version-history":[{"count":0,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/posts\/5961\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/media\/5966"}],"wp:attachment":[{"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/media?parent=5961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/categories?post=5961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zoha-islands.com\/blog\/wp-json\/wp\/v2\/tags?post=5961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}