{"id":412903,"date":"2022-03-06T21:00:15","date_gmt":"2022-03-06T18:00:15","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-log-in-as-administrator-on-windows-10-or-11\/"},"modified":"2022-03-06T21:00:15","modified_gmt":"2022-03-06T18:00:15","slug":"how-to-log-in-as-administrator-on-windows-10-or-11","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/","title":{"rendered":"#How to Log In as Administrator on Windows 10 or 11"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a34ba14c1423\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a34ba14c1423\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/#%E2%80%9CHow_to_Log_In_as_Administrator_on_Windows_10_or_11%E2%80%9D\" >&#8220;How to Log In as Administrator on Windows 10 or 11&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/#What_Is_the_Administrator_Account\" >What Is the Administrator Account?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/#How_to_Enable_the_Administrator_Account_With_Command_Prompt\" >How to Enable the Administrator Account With Command Prompt<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/#How_to_Enable_the_Administrator_Account_with_PowerShell\" >How to Enable the Administrator Account with PowerShell<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/#How_to_Add_a_Password_to_the_Administrator_Account\" >How to Add a Password to the Administrator Account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-log-in-as-administrator-on-windows-10-or-11\/#How_to_Disable_the_Administrator_Account\" >How to Disable the Administrator Account<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CHow_to_Log_In_as_Administrator_on_Windows_10_or_11%E2%80%9D\"><\/span>&#8220;How to Log In as Administrator on Windows 10 or 11&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage  alignnone wp-image-751196 size-full\" data-pagespeed-lazy-srcset=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/08\/windows-11-and-10.png?width=398&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 400w, https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/08\/windows-11-and-10.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 1200w\" sizes=\"auto, 400w, 1200w\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/08\/windows-11-and-10.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Windows 10 and 11 backgrounds.\" width=\"1200\" height=\"675\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>It is sometimes useful to run programs as administrator \u2014 but what if you want to run everything as administrator? Windows 10 and Windows 11 include an administrator account, but it is disabled by default \u2014 for good reasons. Find out how to activate it here.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Is_the_Administrator_Account\"><\/span>What Is the Administrator Account?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Windows 10 and 11 restrict access to certain files and commands behind administrative privileges. These files are essential to the operating system, and the commands tend to be the type that, if misused, could cause problems.<\/p>\n<p>Windows normally prompts you each time you attempt to do something that requires administrative access, but it is possible to bypass those prompts by enabling and logging into the administrator account.<\/p>\n<blockquote class=\"admonishment_warning\"><p><strong>Warning:<\/strong> Activating and using the administrator account can save you time if you have a lot to do, but it also means that there is nothing between you and a catastrophic error. You can easily delete something you didn\u2019t mean to delete.<br \/>\nYou should never leave the administrator account active if you\u2019re not using it. By default, the administrator account doesn\u2019t have a password \u2014 that means if<em> anyone<\/em> gains physical access to your PC, they\u2019ll have total control over your system and complete access to all of your files.<\/p>\n<p>In <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/general\/\" data-internallinksmanager029f6b8e52c=\"3\" title=\"General\" target=\"_blank\" rel=\"noopener\">general<\/a>, it is much safer to <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/709060\/what-does-run-as-administrator-mean-in-windows-10\/\">use administrative privileges on a case-by-case basis.<\/p>\n<\/blockquote>\n<p>If you\u2019d like to use the administrator account however, you can enable it with Command Prompt or PowerShell and sign into it from the normal Windows login screen.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Enable_the_Administrator_Account_With_Command_Prompt\"><\/span>How to Enable the Administrator Account With Command Prompt<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To enable the administrator account with Command Prompt, click Start, type \u201ccommand prompt\u201d in the search bar, and then click \u201cRun as administrator.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-786968\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/02\/2022-02-17_10h10_53.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Click &quot;Run as administrator.&quot;\" width=\"650\" height=\"450\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Type <code>net user administrator \/active:yes<\/code> into the window. If it worked, you should see \u201cThe command completed successfully.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-786974\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/02\/command-prompt-success.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Command prompt showing administrator account enabled\" width=\"641\" height=\"348\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Once the account has been enabled, all you have to do is <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/775807\/ways-to-switch-user-accounts-on-windows-11\/\">switch users to access it. It will also be available any time you restart your PC.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Enable_the_Administrator_Account_with_PowerShell\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_2\">How to Enable the Administrator Account with PowerShell<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The process for enabling the administrator account with PowerShell is identical to Command Prompt.<\/p>\n<p>To enable the administrator account with PowerShell, click Start, type \u201cpowershell\u201d in the search bar, and then click \u201cRun as administrator.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-786980\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/02\/Launch_PowerShell.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Click &quot;Run as administrator.&quot;\" width=\"650\" height=\"450\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Type <code>net user administrator \/active:yes<\/code> in PowerShell, then hit Enter. If the account was activated, you\u2019ll see \u201cThe command completed successfully.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-786979\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/02\/PowerShell-Success-1.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"PowerShell showing administrator account enabled\" width=\"638\" height=\"332\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If it completed successfully, you can log out or switch users to log in to the administrator account.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Add_a_Password_to_the_Administrator_Account\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_3\">How to Add a Password to the Administrator Account<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you\u2019re going to use the administrator account regularly you should set a password, especially if you don\u2019t plan to disable the account.<\/p>\n<p>To set a password, launch Command Prompt or PowerShell as administrator like was shown in the previous steps. Then type\u00a0 <code>net user administrator ExamplePassword<\/code> in either Command Prompt or PowerShell, but replace <code>ExamplePassword<\/code> with whatever password you want.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-787618\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/02\/AddPassword.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"command prompt with administrator account password set\" width=\"649\" height=\"292\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Disable_the_Administrator_Account\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_4\">How to Disable the Administrator Account<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Disabling the administrator account uses the same command as enabling it\u2014with one small tweak.<\/p>\n<p>Just like before, launch Command Prompt or PowerShell as administrator.<\/p>\n<p>Type <code>net user administrator \/active:no<\/code> in and hit Enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-787064\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/02\/deacivate.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Command prompt with successful deactivation\" width=\"634\" height=\"312\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You should see \u201cThe command completed successfully\u201d again. Log out or switch users to verify that the account has been disabled.<\/p>\n<p>The administrator account adds convenience, but is definitely not something you should use daily. Be sure to double check any commands that you run, and any files you move, modify, or delete. Also remember that leaving the administrator account enabled is a serious security vulnerability.<\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong>\n<\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/786907\/how-to-log-in-as-administrator-on-windows-10-or-11\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How to Log In as Administrator on Windows 10 or 11&#8221; It is sometimes useful to run programs as administrator \u2014 but what if you want to run everything as administrator? Windows 10 and Windows 11 include an administrator account, but it is disabled by default \u2014 for good reasons. Find out how to activate&#8230;<\/p>\n","protected":false},"author":1,"featured_media":412904,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/08\/windows-11-and-10.png?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-412903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/412903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=412903"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/412903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/412904"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=412903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=412903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=412903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}