{"id":10029,"date":"2019-06-28T16:03:23","date_gmt":"2019-06-28T10:33:23","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=10029"},"modified":"2023-08-02T20:38:12","modified_gmt":"2023-08-02T15:08:12","slug":"cant-delete-avast-software-registry-key-in-windows","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/cant-delete-avast-software-registry-key-in-windows\/","title":{"rendered":"Fix: Can&#8217;t delete Avast Software Registry Key in Windows"},"content":{"rendered":"<p>Last week when I installed CCleaner on my system, it also installed Avast antivirus software stealthily, in the background. After I uninstalled Avast, a registry key named <strong>AVAST Software<\/strong> still remained in the registry, but it couldn&#8217;t be opened. When the AVAST Software branch was selected, it threw the following error:<\/p>\n<pre class=\"err\"><strong>Error Opening Key<\/strong>\r\nAVAST Software cannot be opened.\r\nAn error is preventing this key from being opened.\r\nDetails: The system cannot find the file specified.\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10032\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/avast-avreglink-delete-key-0.png\" alt=\"delete avast software registry key\" width=\"667\" height=\"320\" \/><\/p>\n<p>When I opened the Properties of the <strong>AVAST Software<\/strong> key, the Security tab was blank, showing the message: <em><strong>The requested security information is either unavailable or can&#8217;t be displayed<\/strong><\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10030\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/avast-avreglink-delete-key-2.png\" alt=\"delete avast software registry key\" width=\"363\" height=\"132\" \/><\/p>\n<p>I tried running Sysinternals RegDelNull to nuke the keys, but that didn&#8217;t help.<\/p>\n<p>The same error can occur for AVG antivirus users.<\/p>\n<pre class=\"err\"><strong>Error Opening Key<\/strong>\r\nAVG cannot be opened.\r\nAn error is preventing this key from being opened.\r\nDetails: The system cannot find the file specified.\r\n<\/pre>\n<h4>Registry Reparse Point<\/h4>\n<p>Later I realized that the <code>HKEY_LOCAL_MACHINE\\Software\\AVAST Software<\/code> is a reparse point or registry link that links to the following key on Windows 64-bit systems:<\/p>\n<pre>HKEY_LOCAL_MACHINE\\Software\\WOW6432Node\\AVAST Software<\/pre>\n<p>But, since the Avast uninstaller had wiped out the above key, the reparse point still remains but is orphaned.<\/p>\n<p><em>On Windows 32-bit systems, the reparse point and the target key paths are reversed.<\/em><\/p>\n<p>However, once I knew it&#8217;s only a reparse point, the fix turned out to be very simple; you don&#8217;t need to tinker with the registry key <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-take-ownership-of-registry-keys-and-assign-full-permissions\/\">permissions<\/a> or <a href=\"https:\/\/www.winhelponline.com\/blog\/take-ownership-registry-key-permissions-command-line-acl\/\">ownership<\/a>.<!--more--><\/p>\n<h2>Fix: Can&#8217;t delete Avast Software Registry Key<\/h2>\n<h3>Method 1: Create AVAST Software key under WOW6432Node manually<\/h3>\n<p>To successfully remove the <code>AVAST Software<\/code> reparse point, first, manually create the missing <strong>target<\/strong> key. Follow these steps:<\/p>\n<ol>\n<li>Start the Registry Editor (<code>regedit.exe<\/code>)<\/li>\n<li>Create the <code>AVAST Software<\/code> key under the <code>WOW6432Node<\/code> key below.\n<pre>HKEY_LOCAL_MACHINE\\Software\\WOW6432Node\\<\/pre>\n<p><em>Alternately, run the following command from an admin Command Prompt window to create the key manually on a Windows 64-bit system:<\/em><\/p>\n<pre>reg add \"HKLM\\Software\\AVAST Software\" \/reg:32<\/pre>\n<\/li>\n<li>Then, go to the following key in the Registry Editor and delete it:\n<pre>HKEY_LOCAL_MACHINE\\Software\\AVAST Software<\/pre>\n<\/li>\n<\/ol>\n<p>This deletes the linked key as well as the reparse point in one go.<\/p>\n<p><em><strong>Important Note:<\/strong> If, the <code>WOW6432Node\\AVAST Software<\/code> key is the reparse point itself (32bit vs 64-bit Windows) which can&#8217;t be opened, and points to the key <code>Software\\AVAST Software<\/code>, then you&#8217;ll need to create the target key (<code>HKLM\\Software\\AVAST Software<\/code>) key manually before deleting the reparse point.<\/em><\/p>\n<h3>Method 2: Use AvRegLink.exe from Avast Software<\/h3>\n<p>Avast software has a tool named <code>AvRegLink.exe<\/code> which can create, query or delete reparse points in the registry. This tool can be downloaded from the following URL:<\/p>\n<pre>http:\/\/public.avast.com\/~hnanicek\/AvRegLink.exe<\/pre>\n<p>Once downloaded, open <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">admin Command Prompt<\/a> and run the following command:<\/p>\n<pre>AvRegLink.exe delete \"SOFTWARE\\AVAST Software\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10031\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/avast-avreglink-delete-key-1.png\" alt=\"delete avast software registry key\" width=\"699\" height=\"161\" \/><\/p>\n<p>If, the <code>WOW6432Node\\AVAST Software<\/code> key is the reparse point itself (32bit vs 64-bit Windows), which points to the key <code>Software\\AVAST Software<\/code>, then you&#8217;ll need to run this command instead:<\/p>\n<pre>AvRegLink.exe delete \"SOFTWARE\\WOW6432Node\\AVAST Software\"<\/pre>\n<h4>Additional Tips:<\/h4>\n<p>Before <strong>deleting<\/strong> the reparse point, if you want to query the reparse point to know where it&#8217;s pointing to, use this command-line:<\/p>\n<pre>AvRegLink.exe query \"SOFTWARE\\AVAST Software\"\r\nAvRegLink.exe query \"SOFTWARE\\WOW6432Node\\AVAST Software\"<\/pre>\n<p>To <strong>create<\/strong> a reparse point manually, use this command-line syntax:<\/p>\n<pre>AvRegLink.exe create LinkKey TargetKey<\/pre>\n<h3>Method 3: Using the regln tool<\/h3>\n<p>The <a href=\"https:\/\/github.com\/tenox7\/regln\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">regln: Windows Registry Linking Utility<\/a> can create or delete reparse points in the registry.\u00a0<a href=\"https:\/\/github.com\/tenox7\/regln\/releases\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Download<\/a> regln.<\/p>\n<pre>Usage: regln [-v] &lt;link_key&gt; &lt;target_key&gt;\r\nregln -d &lt;link_key&gt;\r\n\r\n&lt;link_key&gt; is the new registry link key\r\n&lt;target_key&gt; is an existing registry key being linked to\r\n-v = volatile, exist in memory only\r\n-d = delete link<\/pre>\n<p>&nbsp;<\/p>\n<pre>regln -d \"HKLM\\Software\\WOW6432Node\\AVAST Software\"\r\n\r\n-and-\r\n\r\nregln -d \"HKLM\\Software\\AVAST Software\"<\/pre>\n<p>This deletes the AVAST Software registry key and also the link from the <code>HKEY_LOCAL_MACHINE\\Software<\/code> and <code>HKEY_LOCAL_MACHINE\\WOW6432Node\\Software<\/code> registry locations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week when I installed CCleaner on my system, it also installed Avast antivirus software stealthily, in the background. After I uninstalled Avast, a registry key named AVAST Software still remained in the registry, but it couldn&#8217;t be opened. When the AVAST Software branch was selected, it threw the following error: Error Opening Key AVAST &#8230; <a title=\"Fix: Can&#8217;t delete Avast Software Registry Key in Windows\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/cant-delete-avast-software-registry-key-in-windows\/\" aria-label=\"Read more about Fix: Can&#8217;t delete Avast Software Registry Key in Windows\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6,7],"tags":[441],"class_list":["post-10029","post","type-post","status-publish","format-standard","hentry","category-utilities","category-windows","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":10668,"url":"https:\/\/www.winhelponline.com\/blog\/windows-10-error-0x80070005-when-installing-a-feature-update\/","url_meta":{"origin":10029,"position":0},"title":"Windows 10 Error 0x80070005 When Installing a Feature Update","author":"Ramesh","date":"August 10, 2019","format":false,"excerpt":"Your Windows 10 computer may show the error 0x80070005 when installing a feature update.\u00a0The exact error message verbatim is below: There were problems installing some updates, but we'll try again later. Feature update to Windows 10, version 1903 - Error 0x80070005 The standard Windows Update troubleshooting steps, such as renaming\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"Windows 10 Error 0x80070005 When Installing Feature Update 1903 - kaspersky","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/kaspersky-self-defense.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/kaspersky-self-defense.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/kaspersky-self-defense.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/kaspersky-self-defense.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":18415,"url":"https:\/\/www.winhelponline.com\/blog\/windows-cant-find-winword-excel-exe-cant-open-avast-avg\/","url_meta":{"origin":10029,"position":1},"title":"[Fix] Windows cannot find Winword.exe or Excel.exe &#8212; Can&#8217;t open Any Program","author":"Ramesh","date":"September 8, 2020","format":false,"excerpt":"When you open Office programs such as Word, Excel, PowerPoint, Outlook, etc, nothing may happen (except for the screen flash) if you double-click the program shortcut. If you open the Office program's folder and double-click the executable (e.g., winword.exe, excel.exe, powerpnt.exe, outlook.exe) directly, the following error(s) occur: Windows cannot find\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"avast avg debugger cannot open office apps","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/office-apps-avast-debugger-5.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/office-apps-avast-debugger-5.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/office-apps-avast-debugger-5.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/office-apps-avast-debugger-5.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5973,"url":"https:\/\/www.winhelponline.com\/blog\/defender-service-error-577-disableantivirus-registry\/","url_meta":{"origin":10029,"position":2},"title":"Fix: Windows Defender Error 577 | Service Fails to Start","author":"Ramesh","date":"November 23, 2017","format":false,"excerpt":"The \"Security and Maintenance\" Control Panel applet or the Action Center in Windows 10 may warn you that Windows Defender is disabled and no anti-virus is protecting your system. If you open the Windows Defender interface, it offers to Turn On protection, but the button doesn't work. In the Services\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"windows defender error 577","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/windows-defender-577-error.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/windows-defender-577-error.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/windows-defender-577-error.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/windows-defender-577-error.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":6425,"url":"https:\/\/www.winhelponline.com\/blog\/windows-backup-failed-exclusive-lock-efi-partition-avast\/","url_meta":{"origin":10029,"position":3},"title":"[Fix] &#8220;Windows Backup Failed to Get an Exclusive Lock on the EFI System Partition&#8221; Error","author":"Ramesh","date":"August 6, 2018","format":false,"excerpt":"When you try to create a system image using Windows Backup on your computer, the following error occurs and backup procedure stalls. Windows Backup failed to get an exclusive lock on the EFI system partition (ESP). This may happen if another application is using files on the ESP. Please retry\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"0x8078011E avast efi system partition lock windows backup","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/efi-lock-0x8078011E.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/efi-lock-0x8078011E.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/efi-lock-0x8078011E.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":31190,"url":"https:\/\/www.winhelponline.com\/blog\/apps-dont-open-unless-run-as-administrator\/","url_meta":{"origin":10029,"position":4},"title":"Apps Don&#8217;t Open Unless Run as Administrator","author":"Ramesh","date":"December 23, 2022","format":false,"excerpt":"You may notice that some programs don't run when you double-click on the icon of the program. However, they run if you right-click on the icon and then click \"Run as Administrator\"; whereas the same programs used to run just fine even without elevation. Also, going to the \"Compatibility\" tab\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"ccleaner professional debugger registry value","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/ccleaner-debugger-registry-value.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/ccleaner-debugger-registry-value.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/ccleaner-debugger-registry-value.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/ccleaner-debugger-registry-value.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":24055,"url":"https:\/\/www.winhelponline.com\/blog\/startup-programs-not-auto-starting-windows\/","url_meta":{"origin":10029,"position":5},"title":"[Fix] Startup Programs don&#8217;t auto-launch at logon","author":"Ramesh","date":"May 15, 2021","format":false,"excerpt":"Windows supports many auto-start launch points from where you can launch programs at the startup. There are many registry startup locations in addition to the Startup and Common Startup folders. On some computers, when you place a program shortcut in the Startup folder or the Run registry keys, one or\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"programs in startup folder not starting automatically","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/startup-programs-not-launching-msconfig.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/startup-programs-not-launching-msconfig.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/startup-programs-not-launching-msconfig.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/10029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=10029"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/10029\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=10029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=10029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=10029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}