By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: How to Run PowerShell or Command Prompt as Administrator in Windows?
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
IT Pro

How to Run PowerShell or Command Prompt as Administrator in Windows?

Published: February 18, 2024
2 Min Read
SHARE

How to Run PowerShell or Command Prompt as Administrator in Windows?

Contents
Solution 1Solution 2Solution 3Solution 4

Solution 1

1. Click on the Start button or Search and enter CMD or PowerShell;

2. On available items, Right Mouse Button click and select Run as administrator.

Solution 2

1. Press Ctrl+Shift+Escape at the same time. Task Manager windows will appear;

Or

1. Right Mouse Button click on the taskbar and select Task Manager;

Or

1. Press Ctrl+Alt+Delete at the same time and click on Task Manager

2. In Task Manager navigate to File\Run new task;

3. In the new window select Create this task with administrative privileges, enter CMD or PowerShell, and click OK;

NOTE: IF you enter powershell ise, then run PowerShell ISE, by default (powershell) runing PowerShell console.

Solution 3

1. Navigate to folder, where stored *.exe files;

Command Prompt (CMD):

C:\WINDOWS\system32\cmd.exe

Windows PowerShell:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

Windows PowerShell ISE:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe

NOTE: There are also powershell.exe.xml and powershell_ise.exe.xml, don’t run them, run files with PowerShell icons.

2. Right Mouse button click at *.exe file and select Run as administrator.

Solution 4

If you use Windows 10 release 1703 and above:

Right Mouse button click on Start button and select Windows PowerShell (Admin);

NOTE: In Windows Server available Command Prompt is like in Windows 1607 and above. Also, you replace Windows PowerShell with Command Prompt in Windows Settings.

If you know other solutions – let me know in the comments.

TAGGED:Command Prompt (CMD)Microsoft Windows ServerPowerShellWindowsWindows 10
Previous Article How to Fix DHCP Client Service Error 5: Access is Denied on Windows
Next Article Microsoft Teams Roundup December 2019
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?