{"id":32015,"date":"2023-01-17T11:17:41","date_gmt":"2023-01-17T05:47:41","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=32015"},"modified":"2023-01-17T11:17:41","modified_gmt":"2023-01-17T05:47:41","slug":"make-uac-ask-password-admins","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/make-uac-ask-password-admins\/","title":{"rendered":"How to Make UAC Always ask for Password on Admin Accounts"},"content":{"rendered":"<p>When you&#8217;re login to an admin account and initiate an action that requires administrative rights (elevation of privilege), the UAC will ask for consent (instead of the username and password.) You select either Yes (&#8220;Permit&#8221;) or No (&#8220;Deny&#8221;) in the consent dialog. This operation will happen on the secure desktop. However, Windows binaries will be allowed to perform an operation that requires elevation without consent or credentials. This is the default behavior for admin-approval mode in Windows.<!--more--><\/p>\n<p>You may wonder how to configure UAC to always ask for the username and password when executing an action requiring administrative rights on admin accounts. This article tells you how to do that. The instructions apply to Windows Vista through Windows 11.<\/p>\n<h2>Make UAC Always ask for a Password on Admin Accounts<\/h2>\n<p>You can use the Local Security Policy editor to change the UAC admin approval mode setting for Windows Professional Edition and higher. On Windows Home Editions, follow the registry method.<\/p>\n<h3>Option 1: Using the Security Policy editor<\/h3>\n<ol>\n<li>Right-click Start, and click Run.<\/li>\n<li>Type <code><strong>secpol.msc<\/strong><\/code> and hit Enter. This opens the Local Security Policy editor.<\/li>\n<li>Expand Security Settings \u2192 Local Policies \u2192 Security Options<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9113\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/uac-asks-password-admin-1.png\" alt=\"UAC asks for password even if logged in as an administrator\" width=\"700\" height=\"262\" \/><\/li>\n<li>Double-click User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode<\/li>\n<li>Select one of the following options, and click OK.\n<pre>Prompt for credentials on the secure desktop\r\n(or)\r\nPrompt for credentials<\/pre>\n<\/li>\n<\/ol>\n<p>This ensures that the UAC dialog always asks for admin credentials when executing an action (from an admin account) that requires an elevation of privilege.<\/p>\n<hr \/>\n<h3>Option 2: Using the Registry Editor<\/h3>\n<ol>\n<li>Launch the Registry Editor (<code>regedit.exe<\/code>)<\/li>\n<li>Go to the following key:\n<pre>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System<\/pre>\n<\/li>\n<li>Double-click <code><strong>ConsentPromptBehaviorAdmin<\/strong><\/code> and set its data to 5.\n<div class=\"newline\">Here is the list of possible data for <code><strong>ConsentPromptBehaviorAdmin<\/strong><\/code><\/div>\n<pre>0 \u2192 Elevate without prompting\r\n1 \u2192 Prompt for credentials on the secure desktop\r\n2 \u2192 Prompt for consent on the secure desktop\r\n3 \u2192 Prompt for credentials\r\n4 \u2192 Prompt for consent\r\n5 \u2192 Prompt for consent for non-Windows binaries (Windows default)<\/pre>\n<p>Difference between the settings #1 &amp; #3:<\/p>\n<ul>\n<li><code>0x00000001<\/code>:\u00a0This option prompts the Consent Admin to enter his or her user name and password (or another valid admin) when an operation requires elevation of privilege. This operation occurs on the <strong>secure desktop<\/strong>.<\/li>\n<li><code>0x00000003<\/code>:\u00a0This option prompts the Consent Admin to enter his or her user name and password (or that of another valid admin) when an operation requires elevation of privilege.<\/li>\n<\/ul>\n<p><em>(<strong>Note:<\/strong> To revert to the Windows default setting, set it to <code>0x00000005<\/code>. See also <a title=\"https:\/\/www.winhelponline.com\/blog\/uac-asks-password-even-logged-administrator\/\" href=\"https:\/\/www.winhelponline.com\/blog\/uac-asks-password-even-logged-administrator\/\">UAC asks for password even if logged in as administrator<\/a>, which is the opposite of this article.)<\/em><\/li>\n<li>Exit the Registry Editor.<\/li>\n<\/ol>\n<p>Windows will now ask for the password of your admin account (instead of the consent) when running a program elevated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9112\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/uac-asks-password-admin-3.png\" alt=\"UAC asks for password even if logged in as an administrator\" width=\"456\" height=\"501\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you&#8217;re login to an admin account and initiate an action that requires administrative rights (elevation of privilege), the UAC will ask for consent (instead of the username and password.) You select either Yes (&#8220;Permit&#8221;) or No (&#8220;Deny&#8221;) in the consent dialog. This operation will happen on the secure desktop. However, Windows binaries will be &#8230; <a title=\"How to Make UAC Always ask for Password on Admin Accounts\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/make-uac-ask-password-admins\/\" aria-label=\"Read more about How to Make UAC Always ask for Password on Admin Accounts\">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":[7],"tags":[441,614],"class_list":["post-32015","post","type-post","status-publish","format-standard","hentry","category-windows","tag-registry","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":32015,"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":6033,"url":"https:\/\/www.winhelponline.com\/blog\/fix-yes-button-uac-dialog-grayed-disabled-user-account-control\/","url_meta":{"origin":32015,"position":1},"title":"[Fix] UAC Yes Button is Missing or Grayed Out","author":"Ramesh","date":"December 12, 2017","format":false,"excerpt":"Some users are facing a weird problem wherein the \"Yes\" button in User Account Control (UAC) dialog is disabled or grayed out. As a result, you'll be unable to launch any program under elevated privileges (run as administrator). Cause This problem can occur if your user account group membership is\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\/2017\/12\/regain-admin-rights-7.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-7.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-7.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/regain-admin-rights-7.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3099,"url":"https:\/\/www.winhelponline.com\/blog\/locked-user-account-lost-admin-privileges-rescue\/","url_meta":{"origin":32015,"position":2},"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":277,"url":"https:\/\/www.winhelponline.com\/blog\/mapped-drives-not-seen-elevated-command-prompt-task-scheduler\/","url_meta":{"origin":32015,"position":3},"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":3968,"url":"https:\/\/www.winhelponline.com\/blog\/automatically-elevate-batch-file-run-administrator\/","url_meta":{"origin":32015,"position":4},"title":"How to Automatically Elevate a Batch file to Run it as Administrator?","author":"Ramesh","date":"September 2, 2016","format":false,"excerpt":"To elevate batch files manually, you would right-click on it and choose Run as Administrator. Here is a way to automatically elevate a batch file that requires elevated privileges to run correctly. This is equivalent to choosing \"Run as Administrator\" by right-clicking a batch file. In either case, the UAC\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"bat file default runas elevated","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/bat-elevated-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/bat-elevated-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/bat-elevated-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":730,"url":"https:\/\/www.winhelponline.com\/blog\/capture-screenshot-uac-elevation-dialog\/","url_meta":{"origin":32015,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/32015","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=32015"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/32015\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=32015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=32015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=32015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}