search
HomeCommon ProblemHow to run PowerShell as an administrator in Win10.

WindowsPowerShell is a command line shell designed for system administrators and used in Windows operating systems. Windows PowerShell can be used as an interactive prompt and scripting environment, independently or in combination. However, many PowerShell commands require elevated or administrator rights, and you need to launch a PowerShell prompt to execute them.

How to run PowerShell as an administrator in Win10.

#How to run PowerShell as an administrator in Win10.

Method 1: Use the Windows 10 Start Menu context menu.

When you right-click on the Windows 10 Start menu, a context menu appears, allowing you to quickly launch commonly used management programs.

The context menu contains an option called WindowsPowerShell(Admin) as shown below.

How to run PowerShell as an administrator in Win10.

To launch the upgrade PowerShell prompt, click the Windows PowerShell (Administrator) option.

Windows 10 will now display a UAC prompt asking you if you have permission to grant program improvements. Click Yes at this prompt.

How to run PowerShell as an administrator in Win10.

The PowerShell prompt will now open. Since the starting directory will be C:\Windows\System32, the window title will be Administrator: WindowsPowerShell.

How to run PowerShell as an administrator in Win10.

Once you are done with the prompt, you can click the X or type exit and press Enter to close it.

Method 2: Start PowerShell from an elevated command prompt.

If you have an elevated command prompt open, you can simply enter powershellEnter to start powershell.

How to run PowerShell as an administrator in Win10.

When launched this way, the PowerShell prompt looks a little different because the background is not blue and it runs as a shell in a traditional command prompt.

You can type exit and press Enter to return to an elevated command prompt.

The above is the detailed content of How to run PowerShell as an administrator in Win10.. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Win7之家. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!