{"id":1632,"date":"2016-02-14T08:57:45","date_gmt":"2016-02-14T03:27:45","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=1632"},"modified":"2022-09-21T08:43:22","modified_gmt":"2022-09-21T03:13:22","slug":"run-as-administrator-does-not-work-windows","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/run-as-administrator-does-not-work-windows\/","title":{"rendered":"Run as Administrator Option Missing or Does Nothing; File Association Error"},"content":{"rendered":"<h2>Symptoms<\/h2>\n<p><strong>Case 1:\u00a0<\/strong>When you right-click on an executable file or a shortcut, the Run as Administrator may be missing. From Windows 10 or 11 Start menu, if you right-click a program, click <strong>More,<\/strong> and select <strong>Run as administrator<\/strong>, nothing may happen.<!--more--><\/p>\n<p>Right-clicking Start and clicking Command Prompt (Admin) or PowerShell (Admin) may launch some another application or causes the file association error below, with the shortcut name &#8220;WinX\\Group3\\01 &#8211; Command Prompt.lnk&#8221; in the title.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28541\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/runasadmin-legacydisable-error-1.png\" alt=\"runasadmin legacydisable error\" width=\"558\" height=\"133\" \/><\/p>\n<pre class=\"err\">This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page.<\/pre>\n<p>Also, <kbd>Ctrl<\/kbd>+<kbd>Shift<\/kbd>+<kbd>Enter<\/kbd> may not run an executable elevated or does nothing.<\/p>\n<p>If you create a shortcut to an executable and configure the shortcut properties to run as administrator, the program may still launch unelevated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6338 alignleft\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/07\/icotip.gif\" alt=\"tips bulb icon\" width=\"34\" height=\"34\" \/>Despite this issue, you can start a program elevated using <a href=\"https:\/\/www.winhelponline.com\/blog\/run-command-elevated-administrator-ctrl-shift-enter-windows-10\/\">Ctrl + Shift + Enter method<\/a> in the Run dialog. You should also be able to start a program elevated via Task Manager (File Menu \u2192 &#8220;Run New task&#8221;.) Additionally, programs that require elevation by default will show the UAC consent dialog and can start elevated.<\/p>\n<p><strong>Case 2:<\/strong> In some cases, the &#8220;Run as Administrator&#8221; option would be present in the right-click menu. But, when you attempt to run a program elevated by right-clicking on it and clicking Run as administrator, <strong>nothing may happen<\/strong>. However, programs that run elevated by default (without needing to launch elevated manually) show the User Account Control (UAC) dialog and start correctly.<\/p>\n<p>The same issue may happen when you access items in the <a href=\"https:\/\/www.winhelponline.com\/blog\/win-x-shortcuts-not-working-windows-8-or-10\/\">Win + X menu<\/a>. Some or all of the\u00a0<kbd>Win<\/kbd>\u00a0+\u00a0<kbd>X<\/kbd>\u00a0shortcuts may fail to work.<\/p>\n<p>This problem has nothing to do with the User Account Control slider level settings.<\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/remove-open-powershell-window-here-rightclick-windows-10\/\">Restore Command Prompt and Command Prompt (Admin) to the Win X Menu<\/a><\/div>\n<h2>Cause<\/h2>\n<p><strong>Case 1:<\/strong> These symptoms can occur if the <code>LegacyDisable<\/code> registry value has been set for the <code><strong>runas<\/strong><\/code> verb for .exe files. The <code>LegacyDisable<\/code> value disables the action\/verb where it&#8217;s implemented, thus preventing the user from launching programs in elevated mode.<\/p>\n<p>Despite these issues, programs that run elevated by default (as defined in the manifest), show the UAC prompt and work fine. For example, the Registry Editor always runs elevated when you&#8217;re logged on as an administrator.<\/p>\n<p><strong>Case 2:<\/strong> If the \u201cRun as administrator\u201d command in the right-click menu doesn\u2019t work, a buggy context menu handler shell extension added by a third-party program is most likely the root cause. Many programs \u2014 e.g., SVN, Airdroid, WinZip, and Notepad++ add context menu handlers.<\/p>\n<h2>Solution<\/h2>\n<h4>Solution for Case 1:<\/h4>\n<p>To fix the &#8220;Run as administrator&#8221; issue and restore the missing context menu option, follow these steps:<\/p>\n<ol>\n<li>Launch the Registry Editor (<code>regedit.exe<\/code>)<\/li>\n<li>Go to the following registry key:\n<pre>HKEY_CLASSES_ROOT\\exefile\\shell\\runas<\/pre>\n<\/li>\n<li>In the right pane, right-click <b>LegacyDisable<\/b> and choose Delete.<\/li>\n<li>Exit the Registry Editor.<\/li>\n<\/ol>\n<p><em><strong>Note:<\/strong> If the &#8220;<code>runas<\/code>&#8221; key is missing in the above registry location, download and run <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/exe-runas-key.zip\">exe-runas-key.reg<\/a> (zipped) to restore it. The registry fix applies to all versions of Windows, including Windows 11.<\/em><\/p>\n<p>If, for some reason, you&#8217;re unable to launch <code>Regedit.exe<\/code> from Start, try launching it via Task Manager.<\/p>\n<ol>\n<li>Open Task Manager (<kbd>Ctrl<\/kbd>+<kbd>Shift<\/kbd>+<kbd>Esc<\/kbd>)<\/li>\n<li>Click File, Run new task<\/li>\n<li>Type <code>regedit.exe<\/code><\/li>\n<li>Tick <strong>Create this task with administrative privileges<\/strong><\/li>\n<li>Click OK.<\/li>\n<\/ol>\n<p>That should do it!<\/p>\n<hr \/>\n<h4>Solution for Case 2:<\/h4>\n<p><em>This solution applies if the &#8220;Run as Administrator&#8221; option exists in the right-click menu, but does nothing when clicked. This is caused by a buggy context menu handler shell extension.<\/em><\/p>\n<p>Many programs \u2014 e.g., SVN, Airdroid, WinZip, and Notepad++ add context menu handlers.\u00a0But how to know which particular context menu handler is the culprit?<\/p>\n<p>We\u2019ve seen many shell extension issues in Windows and fixed the problems using the excellent\u00a0<a href=\"https:\/\/www.winhelponline.com\/blog\/fix-slow-right-click-crashes-shell-extensions\/\">ShellExView<\/a> utility. Using ShellExView from Nirsoft.net, you can disable a group of 3rd party context menu handlers at a time, restart explorer, and test. By this procedure, you can easily narrow down the context menu handler shell extension that\u2019s blocking the <strong>Run as administrator<\/strong>\u00a0command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9693\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/right-click-problems-shellexview-2.png\" alt=\"troubleshoot right click Issues Caused by Shell Extensions - shellexview\" width=\"626\" height=\"379\" \/><\/p>\n<p><em>(For <strong>full <\/strong>instructions, see the article\u00a0<a href=\"https:\/\/www.winhelponline.com\/blog\/fix-slow-right-click-crashes-shell-extensions\/\">Slow Right Click and Explorer Crashes Caused by Shell Extensions<\/a>.)<\/em><\/p>\n<h3>Feedback from Readers<\/h3>\n<p>Here are some comments from users who were facing this problem:<\/p>\n<blockquote><p>I found Airdroid to be the one here which disturbed the context menu. However, uninstalling Airdroid didn\u2019t work because the only thing not removed was C:\\Program Files (x86)\\AirDroid\\Plugins\\AirContextMenu.dll so I changed the extension (AirContextMenu.dll.whatever).<\/p>\n<p>Tried so many things\u2026 Quick SFV was the culprit.<\/p>\n<p>The more I read about similar problems, it sounded like it had something to do with programs that put items in the context menus. I have a few programs that did that, including 7zip. I also had a program called QuickSFV which put a couple options in the context menu. Once I removed that, my Run as Administrator and Manage options worked again. 7zip context menus are fine, it was the very old QuickSFV program that seemed to screw things up!<\/p>\n<p>I had the same problem with QuickSFV and it caused the issue.<\/p>\n<p>Having run ShellExView and finding the only thing installed at that time other than windows stuff was Avast Antivirus. Disabling the 2 extensions of this plus a reboot fixed the issue.<\/p>\n<p>I suspected a program \u201cMemeo LifeAgent\u201d backup software (which came with Seagate USB drive) and found the context menu handler in the registry, exported it for backup, and deleted the key.<\/p>\n<p>\u201crinse and repeat\u201d cutting down the list by half each time swapping the selection until finding the culprit. In my case it was \u201cExpress Zip File Compression \u2013 Context Menu\u201d, left this one disabled (to be uninstalled) and all now works.<\/p>\n<p>i uninstalled Express Zip File Compression and resolved the issue<\/p><\/blockquote>\n<p>Going by the users\u2019 feedback, QuickSFV and Express Zip File Compression software seem to be the culprit in most cases.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Symptoms Case 1:\u00a0When you right-click on an executable file or a shortcut, the Run as Administrator may be missing. From Windows 10 or 11 Start menu, if you right-click a program, click More, and select Run as administrator, nothing may happen.<\/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":[8,869,10],"tags":[114,191,441,761],"class_list":["post-1632","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","category-windows-8","tag-context-menu","tag-error-messages","tag-registry","tag-shellexview"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2059,"url":"https:\/\/www.winhelponline.com\/blog\/winx-menu-does-not-open-power-user\/","url_meta":{"origin":1632,"position":0},"title":"Win+X Menu Does Not Open in Windows 10 or 11","author":"Ramesh","date":"March 13, 2016","format":false,"excerpt":"Right-clicking Start, or pressing the Win+X key combination opens the power-user menu as in the following image: If this menu doesn't open or nothing happens when you use the Win+X key combination, it could be possible that the IsShortcut registry value has been removed for shortcuts (.lnk) file association. Follow\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":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/winxmenu-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1538,"url":"https:\/\/www.winhelponline.com\/blog\/restore-missing-compressed-zipped-folder-option-to-the-send-to-menu\/","url_meta":{"origin":1632,"position":1},"title":"Fix: &#8220;Compressed (zipped) Folder&#8221; Missing in Send To Menu","author":"Ramesh","date":"February 26, 2006","format":false,"excerpt":"This article tells you how to restore the missing \"Compressed (Zipped) Folder\" item to your \"Send to\" menu in all versions of Windows, including Windows 10 and 11. Cause If the Compressed (Zipped) folder doesn't appear in the Send To menu, it can be due to one of the reasons:\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"zip missing sendto menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2006\/02\/zip-sendto-fix-cmd.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2006\/02\/zip-sendto-fix-cmd.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2006\/02\/zip-sendto-fix-cmd.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":80535,"url":"https:\/\/www.winhelponline.com\/blog\/explorer-exe-error-open-file-location\/","url_meta":{"origin":1632,"position":2},"title":"Explorer.exe error when selecting Open File Location","author":"Ramesh","date":"March 21, 2026","format":false,"excerpt":"When you right-click on a shortcut on the desktop or Start menu and choose Open file location, the following error may occur: Explorer.EXE This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association\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":"explorer.exe open file location","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/explorer-exe-error-open-file-location.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/explorer-exe-error-open-file-location.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/explorer-exe-error-open-file-location.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1078,"url":"https:\/\/www.winhelponline.com\/blog\/fix-file-association-error-explorer-in-windows\/","url_meta":{"origin":1632,"position":3},"title":"[Fix] Explorer.exe Error &#8220;This file does not have an app associated&#8221;","author":"Ramesh","date":"September 2, 2010","format":false,"excerpt":"When you click the Windows Explorer or File Explorer shortcut Pinned to the Taskbar, or when running explorer.exe directly, the following error message may be displayed: This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed,\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"file explorer shortcut association error","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1113,"url":"https:\/\/www.winhelponline.com\/blog\/exe-files-open-notepad-fix-association\/","url_meta":{"origin":1632,"position":4},"title":"[Fix] .EXE Files Open in Notepad or Other App when Double-clicked","author":"Ramesh","date":"March 9, 2007","format":false,"excerpt":"Summary: Double-clicking an .exe file may open Notepad or any other application, displaying junk characters. On some systems, the Open with dialog may appear when double-clicking .exe files. This article explains how to fix the .exe file association in Windows 10 and 11. Did you accidentally use the Default Programs\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"exe files open in notepad","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/03\/exe_open_notepad.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/03\/exe_open_notepad.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/03\/exe_open_notepad.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":26798,"url":"https:\/\/www.winhelponline.com\/blog\/repair-jar-file-association-windows\/","url_meta":{"origin":1632,"position":5},"title":"How to Fix .JAR (Executable Jar File) File Association in Windows","author":"Ramesh","date":"July 1, 2022","format":false,"excerpt":"Jar (Java ARchive) or \"executable Jar file\" is executed by Java Runtime Environment (javaw.exe) program. On Windows, the Java Runtime Environment's setup will register a default association for Jar files so that double-clicking a Jar file on the desktop will automatically run it with \"javaw.exe -jar\" command-line argument. A third-party\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"repair .jar file association settings using ftype and assoc commands","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/07\/jar-asso-fix-commands.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/07\/jar-asso-fix-commands.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/07\/jar-asso-fix-commands.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/07\/jar-asso-fix-commands.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1632","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=1632"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1632\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=1632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=1632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=1632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}