TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

PowerShell Run as Administrator

PowerShell Run as Administrator with What is PowerShell, History of PowerShell, Features of PowerShell, PowerShell vs CMD, PowerShell Scripting, PowerShell Versions, PowerShell Commands, PowerShell Looping, PowerShell Conditions, PowerShell Array, PowerShell Brackets etc.

<< Back to POWERSHELL

PowerShell run as Administrator

There are five easy methods to run a PowerShell as an administrator in Windows Operating system:

  1. Run PowerShell as an Administrator using the run window (for all versions of Windows).
  2. Run PowerShell as an Administrator using Cortana Search bar (for Windows 10).
  3. Run PowerShell as an Administrator from the command prompt.
  4. Run PowerShell as an Administrator from task manager.
  5. Run PowerShell as an Administrator from the Start menu.

1. Run PowerShell as an Administrator using the run window

Step 1: Press the Windows + R keys together to bring up the Run dialog box.

PowerShell run as Administrator

Step 2: Type the PowerShell in the box and click OK button. A normal Window PowerShell will launch as a current user.

PowerShell run as Administrator

Step 3: Type the command start-process PowerShell -verb runas and press "enter" key.

PowerShell run as Administrator

Step 4: The above command will bring up an elevated Windows PowerShell as an administrator.

PowerShell run as Administrator

2. Run PowerShell as an Administrator using Cortana Search bar (for Windows 10)

Step 1: Windows 10 comes with a Cortana search field in the taskbar. Type the PowerShell in the search field.

PowerShell run as Administrator

Step 2: Right-click on the Windows PowerShell and then select the run as administrator. It will open a Windows PowerShell which will run as an administrator.

PowerShell run as Administrator

3. Run PowerShell as an Administrator from Command prompt

Step 1: Open the Command Prompt, and type the PowerShell as a command, then press Enter key.

PowerShell run as Administrator

Step 2: Now, the command prompt will turn to Windows PowerShell.

PowerShell run as Administrator

Step 3: Type the command start-process PowerShell -verb runas and press "enter" key.

PowerShell run as Administrator

Step 4: It will bring up an elevated Windows PowerShell as an administrator.

PowerShell run as Administrator

4. Run PowerShell as an Administrator from Task Manager

Step 1: Press the ctrl + shift + Esc buttons together in windows 10 or 8 to open the task manager. By default, it shows fewer details, click on the more details.

PowerShell run as Administrator

Step 2: Now, click on the File option in the menu bar, and selects the Run new task.

PowerShell run as Administrator

Step 3: Type the PowerShell in a box and select the "Create this task with administrative privileges" checkbox.

PowerShell run as Administrator

Step 4: Then, click on the OK button. After that, a PowerShell window will appear, which will run as an administrator.

PowerShell run as Administrator

5. Run PowerShell as an Administrator from Start Menu

Step 1: In windows 10, click on the 'Start' button to open the Start menu.

PowerShell run as Administrator

Step 2: Now scroll to the Windows PowerShell shortcut folder then, right-click on the Windows PowerShell option and select the run as administrator option.

PowerShell run as Administrator

Step 3: After clicking, a PowerShell Window will appear, which will run as an administrator.

PowerShell run as Administrator




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf