{"id":6033,"date":"2017-12-12T12:02:35","date_gmt":"2017-12-12T06:32:35","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=6033"},"modified":"2024-06-29T19:05:37","modified_gmt":"2024-06-29T13:35:37","slug":"fix-yes-button-uac-dialog-grayed-disabled-user-account-control","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/fix-yes-button-uac-dialog-grayed-disabled-user-account-control\/","title":{"rendered":"[Fix] UAC Yes Button is Missing or Grayed Out"},"content":{"rendered":"<p>Some users are facing a weird problem wherein the &#8220;Yes&#8221; button in User Account Control (UAC) dialog is disabled or grayed out. As a result, you&#8217;ll be unable to launch any program under elevated privileges (run as administrator).<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24086\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/uac-yes-button-missing.png\" alt=\"UAC Yes Button Missing\" width=\"497\" height=\"391\" \/><\/p>\n<h2>Cause<\/h2>\n<p>This problem can occur if your user account group membership is messed up and your account no longer has admin rights. This situation occurs when you&#8217;ve inadvertently set your user account as a standard user or Guest, especially if there is no other administrator account in the system. And, with the built-in &#8220;Administrator&#8221; account disabled by default, you may be wondering how to fix the UAC or user account privileges problem.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6032\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/w10-fix-group-membership-admin-1.png\" alt=\"uac dialog yes button grayed out\" width=\"463\" height=\"510\" \/><\/p>\n<p>If you run the <code><strong>net user %username%<\/strong><\/code> command, it may show the following output, indicating that you&#8217;re not a member of the Administrator&#8217;s group.<\/p>\n<pre>Local Group Memberships *Guests\n\n(or)\n\nLocal Group Memberships *Users<\/pre>\n<p>&nbsp;<\/p>\n<p><em><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/uac-asks-password-even-logged-administrator\/\">[Fix] UAC asks for a password even if logged in as an administrator<\/a><\/em><\/p>\n<h2>Resolution<\/h2>\n<p>If your user account has turned into a standard or Guest account (by incorrect group membership change), you&#8217;ll be unable to run any program elevated. The <strong>Yes<\/strong> button in the User Account Control (UAC) dialog will be missing.<\/p>\n<p>To restore administrative rights and privileges for the user account, follow the steps below:<\/p>\n<h3><a id=\"safemode\"><\/a>Method 1: Use Safe mode to log in as built-in Administrator<\/h3>\n<p>Log in to the built-in Administrator account via <a href=\"https:\/\/www.winhelponline.com\/blog\/start-windows-11-or-10-safe-mode\/\">Safe Mode<\/a> and then promote your user account back as administrator. The built-in administrator account has a <strong>blank password<\/strong> by default.<\/p>\n<hr>\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\" \/>The built-in &#8220;Administrator&#8221; account shows up on the login screen while in Safe Mode if <strong>no other<\/strong> administrator account user exists on the computer; it doesn&#8217;t matter whether the &#8220;Administrator&#8221; account enabled or not.<\/p>\n<hr>\n<ol>\n<li>Click Start, click on the Power button, press and hold the <kbd>Shift<\/kbd> key down and click Restart. This starts the <a href=\"https:\/\/www.winhelponline.com\/blog\/access-windows-recovery-environment\/\">Windows Recovery Environment<\/a>.<\/li>\n<li>In Windows RE, click Troubleshoot \u2192 Advanced options \u2192 Startup Settings.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre%20(1).png\" width=\"600\" height=\"464\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre%20(2).png\" width=\"600\" height=\"391\" \/><br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-33363\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/winre_startup_settings.png\" alt=\"windows RE startup settings\" width=\"600\" \/><\/li>\n<li>In Startup Settings, press the <kbd>4<\/kbd> or <kbd>F4<\/kbd> button on your keyboard.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24085\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre-startup-settings.png\" alt=\"windows re startup settings\" width=\"600\" height=\"483\" \/><\/li>\n<li>Windows 10 will now restart in Safe Mode. In Safe Mode, you&#8217;ll see the &#8220;Administrator&#8221; account in the login screen.<\/li>\n<li>Click &#8220;Administrator&#8221; and sign in to the account. It has a blank password by default.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75728\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-1.png\" alt=\"sign-in as built in administrator in safe mode\" width=\"750\" height=\"567\" \/><\/li>\n<li>Press Win + R, type <code><strong>control userpasswords<\/strong><\/code>, and click OK. This opens the classic User Accounts Control Panel.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75729\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-2.png\" alt=\"fix account membership built in administrator in safe mode\" width=\"750\" height=\"373\" \/><\/li>\n<li>In the User Accounts applet, click &#8220;<strong>Manage another account<\/strong>&#8220;.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75730\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-3.png\" alt=\"sign-in as built in administrator in safe mode - fix admin rights for user account\" width=\"747\" height=\"397\" \/><\/li>\n<li>In the &#8220;Manage Accounts&#8221; applet, select the account that has lost its admin privileges.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75731\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-4.png\" alt=\"sign-in as built in administrator in safe mode - fix admin rights for user account\" width=\"752\" height=\"482\" \/><\/li>\n<li>Click &#8220;Change the account type&#8221;.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75732\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-5.png\" alt=\"sign-in as built in administrator in safe mode - fix admin rights for user account\" width=\"751\" height=\"371\" \/><\/li>\n<li>Choose the &#8220;<strong>Administrator<\/strong>&#8221; option, and click the &#8220;<strong>Change Account Type<\/strong>&#8221; button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75733\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-6.png\" alt=\"sign-in as built in administrator in safe mode - fix admin rights for user account\" width=\"752\" height=\"463\" \/><br \/>\nYou&#8217;ve now changed your account type to administrator.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75734\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-7.png\" alt=\"\" width=\"751\" height=\"351\" \/><\/li>\n<li>Restart Windows and login to your account. The UAC Yes button should now be restored.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24087\" style=\"font-size: inherit;\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/uac-yes-button-restored.png\" alt=\"UAC Yes Button Missing\" width=\"491\" height=\"347\" \/><\/li>\n<\/ol>\n<p>That&#8217;s it.\u00a0The above steps restore your user account&#8217;s administrator privileges.<\/p>\n<div class=\"qt\">\n<h4>Alternate method: Using Command-line<\/h4>\n<p>You can also accomplish the above task of fixing your account&#8217;s group membership using Command Prompt while in the Safe mode.<\/p>\n<ul>\n<li>Follow steps 1 to 5 above.<\/li>\n<li>Once logged as the built-in &#8220;Administrator&#8221;, open Command Prompt by running <strong>cmd.exe<\/strong>.<\/li>\n<li>Use the following command-line syntax to add your account to the &#8220;Administrators&#8221; group.\n<pre class=\"cmd\">net localgroup administrators {username} \/add<\/pre>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"cmd\">net localgroup administrators Ramesh \/add<\/pre>\n<p><strong>That&#8217;s it! You now promoted your user account to an administrator (from Standard or Guest privileges) account.<\/strong><\/li>\n<li>Log off from the built-in Administrator account.<\/li>\n<li>Restart Windows.<\/li>\n<li>Log in to your original account now &#8212; e.g., Ramesh<\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<h3>Method 2: Using Windows RE<\/h3>\n<p>If you&#8217;ve previously changed the &#8220;Administrator&#8221; password but don&#8217;t remember it now, then &#8220;Method 1&#8221; won&#8217;t help. In that case, you&#8217;ll need to use the Windows 10 or 11 <a href=\"https:\/\/www.winhelponline.com\/blog\/create-windows-10-usb-setup-disk\/\">USB setup Disk<\/a> and Windows Recovery Environment to reset the forgotten &#8220;Administrator&#8221; account password or fix the group membership of the subject user account &#8212; e.g., Ramesh.<\/p>\n<p>Note that accessing the built-in recovery options may not help as you may be prompted for an admin account password anyway. So, boot the system with the Windows USB Setup disk and access recovery options.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6027\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/w10-winre-recovery-1.png\" alt=\"uac dialog yes button grayed out\" width=\"700\" height=\"511\" \/><\/p>\n<p>Next, follow the instructions listed in the article <a href=\"https:\/\/www.winhelponline.com\/blog\/windows-password-reset-administrator-user-account\/\">Windows 10 Password Reset Methods for Lost Password Scenario<\/a>.<\/p>\n<p>After fixing the group membership, your account should be able to regain administrator rights, as seen in the <code>control userpasswords2<\/code> dialog below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6030\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/w10-fix-group-membership-admin-3.png\" alt=\"uac dialog yes button grayed out\" width=\"463\" height=\"510\" \/><\/p>\n<p>If nothing helps, create a new user account while you&#8217;re logged in as the built-in administrator. Once you regain the admin privileges for your user account (or create a new user account), you can safely disable the built-in administrator account.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some users are facing a weird problem wherein the &#8220;Yes&#8221; button in User Account Control (UAC) dialog is disabled or grayed out. As a result, you&#8217;ll be unable to launch any program under elevated privileges (run as administrator).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,869],"tags":[614],"class_list":["post-6033","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-user-accounts"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":9110,"url":"https:\/\/www.winhelponline.com\/blog\/uac-asks-password-even-logged-administrator\/","url_meta":{"origin":6033,"position":0},"title":"[Fix] UAC asks for password even if logged in as administrator","author":"Ramesh","date":"May 7, 2019","format":false,"excerpt":"Is the UAC dialog asking for the password during elevation even though you're logged in to an administrator account? For non-admin accounts, the UAC elevation asks for admin credentials, but for administrator accounts, the UAC dialog should just ask for consent, not password, when launching non-Windows executables in elevated mode.\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"UAC asks for password even if logged in as an administrator","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/uac-asks-password-admin-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":730,"url":"https:\/\/www.winhelponline.com\/blog\/capture-screenshot-uac-elevation-dialog\/","url_meta":{"origin":6033,"position":1},"title":"Take a Screenshot of UAC Dialog (User Account Control)","author":"Ramesh","date":"October 15, 2008","format":false,"excerpt":"The User Account Control (UAC) elevation dialog is displayed on a secure desktop, and hence the Print Screen button wouldn't capture it. If you're a technical writer who needs to capture the User Account Control dialog to add it to documentation or help file, here are some ways to take\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"user account control settings - slider","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/uac-slider-no-dim-prompt.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/uac-slider-no-dim-prompt.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/uac-slider-no-dim-prompt.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/uac-slider-no-dim-prompt.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":277,"url":"https:\/\/www.winhelponline.com\/blog\/mapped-drives-not-seen-elevated-command-prompt-task-scheduler\/","url_meta":{"origin":6033,"position":2},"title":"Mapped drives not seen from elevated Command Prompt and Task Scheduler","author":"Ramesh","date":"May 12, 2008","format":false,"excerpt":"When you attempt to access a mapped network drive from an elevated or admin Command Prompt or Task Scheduler (with the highest privileges), the mapped drive won't be available. Attempting to use the mapped network drives causes the error The system cannot find the path specified (Error code: 0x80070003). Here\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"mapped network drive not seen from admin command prompt and task scheduler","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/mapped-drives-enablelinkedconnections.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/mapped-drives-enablelinkedconnections.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/mapped-drives-enablelinkedconnections.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3099,"url":"https:\/\/www.winhelponline.com\/blog\/locked-user-account-lost-admin-privileges-rescue\/","url_meta":{"origin":6033,"position":3},"title":"How to Regain Lost Admin Rights in Windows 10 or 11","author":"Ramesh","date":"May 10, 2016","format":false,"excerpt":"Summary: This article tells you how to restore your user account's lost administrator rights and privileges in Windows 10 and 11. If your user account has lost admin rights, you may also have inadvertently set yourself a \"Standard User\" via Account Settings or incorrectly configured the Local Security Policy or\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":"lost administrator rights - standard user","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/user-account-lost-admin-rights-standard.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/user-account-lost-admin-rights-standard.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/user-account-lost-admin-rights-standard.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":335,"url":"https:\/\/www.winhelponline.com\/blog\/run-programs-elevated-without-getting-the-uac-prompt\/","url_meta":{"origin":6033,"position":4},"title":"How to Run Programs as Administrator (Elevated) without UAC Prompt","author":"Ramesh","date":"June 17, 2008","format":false,"excerpt":"Recently, I came across a brilliant tip on how to run programs elevated without getting the User Account Control (UAC) prompt. This can be done without turning off the UAC and hence it does not compromise system security. How to Run Programs elevated without UAC Prompt You can run apps\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/myapps-sched.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5203,"url":"https:\/\/www.winhelponline.com\/blog\/microsoft-fixes-eventvwr-exe-uac-bypass-exploit-windows-10-creators-update\/","url_meta":{"origin":6033,"position":5},"title":"Microsoft fixes Eventvwr.exe UAC Bypass Exploit in Windows 10 Creators Update","author":"Ramesh","date":"January 16, 2017","format":false,"excerpt":"In Windows 10 Creators Update preview build 15007, Microsoft seems to have fixed the UAC bypass method involving eventvwr.exe. First, how does this bypass work? When you're logged in as administrator, Windows binaries that have the execution level set to \"highestavailable\" and \"autoelevate\" property set to \"true\" in the manifest,\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":"uac bypass exploit eventvwr.exe","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/uac-bypass-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/uac-bypass-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/uac-bypass-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/6033","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=6033"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/6033\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=6033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=6033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=6033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}