Home Common Problem How to run PowerShell as an administrator in Win10.

How to run PowerShell as an administrator in Win10.

Jul 18, 2023 pm 02:05 PM
powershell win administrator

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 of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Solution to the problem that Win11 system cannot install Chinese language pack Solution to the problem that Win11 system cannot install Chinese language pack Mar 09, 2024 am 09:48 AM

Solution to the problem that Win11 system cannot install Chinese language pack With the launch of Windows 11 system, many users began to upgrade their operating system to experience new functions and interfaces. However, some users found that they were unable to install the Chinese language pack after upgrading, which troubled their experience. In this article, we will discuss the reasons why Win11 system cannot install the Chinese language pack and provide some solutions to help users solve this problem. Cause Analysis First, let us analyze the inability of Win11 system to

Solution to Windows 11 black screen with only mouse pointer Solution to Windows 11 black screen with only mouse pointer Feb 18, 2024 pm 10:50 PM

What should I do if the win11 screen is black and only has mouse arrows? With the continuous development of computer technology, many people are now inseparable from computers. However, sometimes we encounter some problems when using the computer. For example, when using the Win11 system, the screen appears black with only the mouse arrow. This question may be confusing to some non-experts, but don’t worry, we will introduce some solutions below. First, we need to determine whether the problem is temporary or ongoing. If the screen only occasionally goes black, maybe

How to solve the problem that Windows 11 prompts you to enter the administrator username and password to continue? How to solve the problem that Windows 11 prompts you to enter the administrator username and password to continue? Apr 11, 2024 am 09:10 AM

When using Win11 system, sometimes you will encounter a prompt that requires you to enter the administrator username and password. This article will discuss how to deal with this situation. Method 1: 1. Click [Windows Logo], then press [Shift+Restart] to enter safe mode; or enter safe mode this way: click the Start menu and select Settings. Select "Update and Security"; select "Restart Now" in "Recovery"; after restarting and entering the options, select - Troubleshoot - Advanced Options - Startup Settings -&mdash

How to set CPU performance to full in Win11 How to set CPU performance to full in Win11 Feb 19, 2024 pm 07:42 PM

Many users find that the computer is not running smoothly enough when using the Win11 system. They want to improve CPU performance, but they don't know how to do it. The following will introduce in detail how to set the CPU performance to the highest level in Win11 system to make your computer more efficient. Setting method: 1. Right-click "This PC" on the desktop and select "Properties" in the option list. 2. After entering the new interface, click "Advanced System Settings" in "Related Links". 3. In the window that opens, click the "Advanced" tab at the top, then click the & at the bottom of "Performance"

Solution for Win11 unable to install Chinese language pack Solution for Win11 unable to install Chinese language pack Mar 09, 2024 am 09:15 AM

Win11 is the latest operating system launched by Microsoft. Compared with previous versions, Win11 has greatly improved the interface design and user experience. However, some users reported that they encountered the problem of being unable to install the Chinese language pack after installing Win11, which caused trouble for them to use Chinese in the system. This article will provide some solutions to the problem that Win11 cannot install the Chinese language pack to help users use Chinese smoothly. First, we need to understand why the Chinese language pack cannot be installed. Generally speaking, Win11

Strategies to solve Win11's inability to install the Chinese language pack Strategies to solve Win11's inability to install the Chinese language pack Mar 08, 2024 am 11:51 AM

Strategies to deal with Win11’s inability to install the Chinese language pack. With the launch of Windows 11, many users can’t wait to upgrade to this new operating system. However, some users have encountered difficulties when trying to install the Chinese language pack, preventing them from using the Chinese interface properly. In this article, we will discuss the problem that Win11 cannot install the Chinese language pack and propose some countermeasures. First, let’s explore why there are problems installing Chinese language packs on Win11. This may be due to the system's

Summary of methods to obtain administrator rights in Win11 Summary of methods to obtain administrator rights in Win11 Mar 09, 2024 am 08:45 AM

A summary of how to obtain Win11 administrator rights. In the Windows 11 operating system, administrator rights are one of the very important permissions that allow users to perform various operations on the system. Sometimes, we may need to obtain administrator rights to complete some operations, such as installing software, modifying system settings, etc. The following summarizes some methods for obtaining Win11 administrator rights, I hope it can help you. 1. Use shortcut keys. In Windows 11 system, you can quickly open the command prompt through shortcut keys.

How to use shortcut keys to take screenshots in Win8? How to use shortcut keys to take screenshots in Win8? Mar 28, 2024 am 08:33 AM

How to use shortcut keys to take screenshots in Win8? In our daily use of computers, we often need to take screenshots of the content on the screen. For users of Windows 8 system, taking screenshots through shortcut keys is a convenient and efficient operation method. In this article, we will introduce several commonly used shortcut keys to take screenshots in Windows 8 system to help you take screenshots more quickly. The first method is to use the "Win key + PrintScreen key" key combination to perform full