+5 votes
306 views
How to open Command Prompt CMD or PowerShell as Windows 10 Administrator

in Windows 10 by (552k points)
reopened | 306 views

1 Answer

+3 votes
Best answer

1. Open the command prompt as administrator from the Start context menu
2. Open the command prompt as administrator from Start search options
3. Open the command prompt as administrator from the Execute command
4. Open Windows PowerShell as administrator from the Start context menu
5. Open Windows PowerShell as an administrator from the Start menu
6. Open Windows PowerShell as administrator from the Run command
7. Open Windows PowerShell as an administrator from CMD
8. Open Windows PowerShell as an administrator from Task Manager
9. Open Windows PowerShell as administrator from Start Menu

Many support and control tasks in Windows 10 are performed through the command prompt console or through Windows PowerShell which through commands or cmdlets gives us as Windows 10 users a complete assortment of options to execute tasks , obtain information or carry out administrative tasks. Many of these tasks are requested to be executed as administrators, otherwise we will see a message indicating that this command must be executed with this type of permission..

To avoid this message, it is ideal that we access directly as administrators and TechnoWikis will explain in this tutorial how to open either the command prompt or Windows PowerShell as an administrator in Windows 10. Next we leave you the video tutorial and the different ways to open both windows of commands.

To keep up, remember to subscribe to our YouTube channel! SUBSCRIBE


1. Open the command prompt as administrator from the Start context menu

Step 1

This is one of the most practical options that we have since for this purpose we must right click on the Start menu or use the following key combination and in the drop-down menu select “Command Prompt (Administrator)”:

+ X

image

Step 2

Once we click there, UAC will be displayed and there we must confirm the opening of the command prompt as administrator.

A key point that we must keep in mind is that, when accessing the context menu of the Start menu we do not see the command prompt but PowerShell, we can change it simply by accessing the Configuration utility and in the Personalization / Bar category of tasks we deactivate the switch “Replace the command prompt with Windows PowerShell in the menu by right clicking on the Start menu or pressing the following keys”:

+ X

image

2. Open the command prompt as administrator from Start search options


Thanks to this option we can open the Command Prompt directly from its path in the Start menu, for this we click on the start search box and enter the term “cmd”, once deployed we must right click on it and select “ Execute as an administrator":

image

Note
We can also click on the “Run as administrator” line in the right side panel in the new editions of Windows 10.

3. Open the command prompt as administrator from the Execute command

Step 1

Another useful option to access as administrators is using the following key combination and in the pop-up enter “cmd”:

+ R

image

Step 2

There, instead of pressing Enter or Accept, we must use the following keys to access the Command Prompt as administrators in Windows 10.

+ Shift + Enter Ctrl + Shift + Enter


4. Open Windows PowerShell as administrator from the Start context menu

As at the beginning, the context menu of the Start menu is configured by default with Windows PowerShell for opening, there we can open it as normal or as administrators, for this purpose we will use the following key combination (or right click on the Start menu ) and in the displayed list we select “Windows PowerShell (Administrator”). Then we accept the UAC and we will access with that profile..

+ X

image


5. Open Windows PowerShell as an administrator from the Start menu


For this method, simply enter “powershell” in the Start menu search box and then right click on Windows PowerShell and select “Run as administrator” or click on the “Run as administrator” line on the right side :

image


6. Open Windows PowerShell as administrator from the Run command

Step 1

This is a simple method that consists of using the following keys and then entering the “powershell” command:

+ R

image

Step 2

There we will use the following keys to run PowerShell as administrators.

+ Shift + Enter Ctrl + Shift + Enter

Step 3

Now, it is also possible to execute this command normally and once the Windows PowerShell console is accessed, execute the following. This will open another PowerShell window with these administrative permissions.
 Start-Process powershell -Verb runAs 
image

7. Open Windows PowerShell as an administrator from CMD


It is a method in which we combine the command prompt console to be used as a PowerShell console, for this we access as administrators in the command prompt using one of the methods described and once there we execute the command “powershell”, this It will convert the command prompt to PowerShell: image

8. Open Windows PowerShell as an administrator from Task Manager

Step 1

The Task Manager is a central point from where we configure different aspects of the system and it is possible to access Windows PowerShell as administrators from there by accessing the File / Execute new task menu: image
Step 2

In the pop-up window, enter “powershell” and we must check the “Create this task with administrative privileges” box. Press Enter or Accept to execute the opening of Windows PowerShell.

image


9. Open Windows PowerShell as administrator from Start Menu


This method consists of clicking on the Start menu, going to the Windows PowerShell folder and in its contents, right clicking on Windows PowerShell to select “Run as administrator”:

image

Each of these options is ideal for opening both the command prompt console and Windows PowerShell as administrators in Windows 10.


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Sep 1, 2020 in Windows 10 by backtothefuture (552k points) | 435 views
+3 votes
1 answer
+3 votes
1 answer
+4 votes
2 answers
asked May 23, 2019 in Windows 10 by backtothefuture (552k points) | 543 views
+5 votes
1 answer
asked Jul 7, 2020 in Windows 10 by backtothefuture (552k points) | 258 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users