{"id":6234,"date":"2016-03-02T13:49:12","date_gmt":"2016-03-02T13:49:12","guid":{"rendered":"http:\/\/www.top-password.com\/blog\/?p=6234"},"modified":"2017-11-07T06:59:11","modified_gmt":"2017-11-07T06:59:11","slug":"5-ways-to-run-powershell-as-administrator-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/5-ways-to-run-powershell-as-administrator-in-windows-10\/","title":{"rendered":"5 Ways to Run Powershell as Administrator in Windows 10"},"content":{"rendered":"<p>Is there a way to run a PowerShell Prompt with elevated privileges from a command line? In this tutorial we&#8217;ll show you 5 simple ways to open PowerShell as Administrator in Windows 10.<\/p>\n<p><strong>Method 1: Run PowerShell as Administrator Using Cortana Search Bar<\/strong><\/p>\n<p>Windows 10 comes with a Cortana search box in the taskbar. Just type <strong>powershell<\/strong> in the search box.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6235\" alt=\"cortana\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/cortana.png\" width=\"400\" height=\"247\" \/><\/p>\n<p>Right click on <strong>Windows PowerShell<\/strong> on the results and select <strong>Run as administrator<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6236\" alt=\"run-powershell-from-cortana\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/run-powershell-from-cortana.png\" width=\"400\" height=\"587\" \/><\/p>\n<p>The UAC prompt will ask you for your consent. Click Yes, and the elevated PowerShell prompt will open.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6237\" alt=\"run-powershell-as-admin\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/run-powershell-as-admin.png\" width=\"600\" height=\"138\" \/><\/p>\n<p><strong>Method 2: Run PowerShell as Administrator Using the Run Window<\/strong><\/p>\n<p>Press Windows + R keys together on the keyboard to open the Run box. Type <strong>powershell<\/strong> and hit Enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6238\" alt=\"run\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/run.png\" width=\"399\" height=\"206\" \/><\/p>\n<p>Windows PowerShell will launch with the rights of the current user.<\/p>\n<p>If you want to switch from normal mode to administrator mode, type the following PowerShell command and press Enter.<br \/>\n<code>Start-Process powershell -Verb runAs<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6239\" alt=\"switch-to-admin-mode\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/switch-to-admin-mode.png\" width=\"600\" height=\"124\" \/><\/p>\n<p><strong>Method 3: Run PowerShell as Administrator from Command Prompt or WinX Menu<\/strong><\/p>\n<p><a href=\"https:\/\/www.top-password.com\/blog\/open-command-prompt-in-windows-10\/\" rel=\"noopener\" target=\"_blank\">Open the Command Prompt as administrator<\/a>, type <strong>powershell<\/strong> and press Enter.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/02\/powershell.png\" width=\"528\" height=\"184\" \/><\/p>\n<p>Since Windows 10 Creators Update, you can also access PowerShell from the WinX menu. Press Windows + X keys together on the keyboard to open the WinX menu. Click on &#8220;<strong>Windows PowerShell (Admin)<\/strong>&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2017\/06\/windows-powershell-admin.png\" alt=\"\" width=\"271\" height=\"613\" class=\"alignnone size-full wp-image-9511\" \/><\/p>\n<p><strong>Method 4: Run PowerShell as Administrator from Task Manager<\/strong><\/p>\n<p>First of all you need to access the Task Manager. This can be done by pressing Ctrl + Shift + Esc in Windows 10 \/ 8. By default Task Manager shows fewer details, and you need to click <strong>More Details<\/strong>.<\/p>\n<p>Click on <strong>File<\/strong> menu and select <strong>New Task<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6240\" alt=\"task-manager\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/task-manager.png\" width=\"541\" height=\"347\" \/><\/p>\n<p>Type <strong>powershell<\/strong> and select the &#8220;<strong>Create this task with administrative privileges<\/strong>&#8221; check box and click OK to open an elevated PowerShell prompt.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6241\" alt=\"create-new-task\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/create-new-task.png\" width=\"413\" height=\"229\" \/><\/p>\n<p><strong>Method 5: Run PowerShell as Administrator from Start Menu<\/strong><\/p>\n<p>Click on the Start button to open the Start menu. Next click on <strong>All apps<\/strong> button at the bottom to expand the list of apps.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6242\" alt=\"start-menu\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/start-menu.png\" width=\"392\" height=\"622\" \/><\/p>\n<p>Scroll to the Windows PowerShell folder. Expand the folder and then right-click on Windows PowerShell shortcut. Select &#8220;<strong>Run as administrator<\/strong>&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6243\" alt=\"run-powershell-from-start-menu\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/03\/run-powershell-from-start-menu.png\" width=\"564\" height=\"582\" \/><\/p>\n<p>If you&#8217;re running Windows 7, Vista or XP, in order to start Windows PowerShell with administrator privileges, you need to click <strong>Start<\/strong> -&gt; <strong>All Programs<\/strong> -&gt; <strong>Accessories<\/strong>, point to Windows PowerShell, right-click Windows PowerShell, and select Run As Administrator.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Is there a way to run a PowerShell Prompt with elevated privileges from a command line? In this tutorial we&#8217;ll show you 5 simple ways to open PowerShell as Administrator in Windows 10. Method 1: Run PowerShell as Administrator Using Cortana Search Bar Windows 10 comes with a Cortana search box in the taskbar. Just [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,1894],"tags":[2568,2570,2571,2566,2567,2569],"class_list":["post-6234","post","type-post","status-publish","format-standard","hentry","category-tips-tricks","category-windows-10","tag-access-windows-powershell-in-windows-10","tag-open-windows-powershell-as-administrator","tag-open-windows-powershell-from-command-prompt","tag-open-windows-powershell-in-windows-10","tag-run-powershell-in-windows-10","tag-run-windows-powershell-as-admin"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/6234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=6234"}],"version-history":[{"count":7,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/6234\/revisions"}],"predecessor-version":[{"id":10476,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/6234\/revisions\/10476"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=6234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=6234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=6234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}