[Windows 10] How to execute CUI (command prompt) in the shortest time with administrator privileges!Let's start it by making full use of search and shortcut keys

Tips / Knowledge

Hello!This time, I would like to introduce how to open CUI (command prompt and PowerShell console) with less effort.

This site often recommends using commands to set, but most of them require administrator privileges.Administrator privileges are determined by the procedure for starting the console.

However, you may not understand the operation of executing with administrator privileges.
Normally, it doesn't say "start with administrator privileges" visibly.

This time, I would like to introduce the shortest (close to?) Method to start the command prompt and PowerShell console with administrator privileges.

Common to Windows

Right-click on the command prompt and run as administrator.The storage location is slightly different for each OS, so I think the current situation is that it is a little difficult to understand. I think that the above method is common by searching with cmd.exe.

For those who use it often, I think it is better to create a shortcut to cmd.exe on the desktop, right-click it → "Run as administrator".

How to use Run (Win7, Win10)

If you are using Windows 10 or XNUMX, you can start the command prompt with administrator privileges by following the steps below.

XNUMX. XNUMX. Press "Windows key" + "R"

XNUMX. XNUMX. Enter "cmd"
* It means to search for cmd.

XNUMX. XNUMX. Press "Shift" + "Ctrl" + "Enter"
* Administrator execution shortcut

In this state, press the "Shift" + "Ctrl" + "Enter" keys.

Ex.A User Account Control pop-up will appear, so click "Yes" or press "Alt" + "Y".

I wonder if this method is the easiest and fastest.

How to use advanced menu (Win8, Win10)

The advanced menu appears when you right-click on the start menu.You can also open it with "Windows key" + "X", and then press the "A" key to launch the prompt with administrator privileges.

XNUMX. XNUMX. Press "Windows key" + "X"

XNUMX. XNUMX. Press the "A" key

XNUMX. XNUMX.Prompt launched with administrator privileges

You can also right-click the "Start Button" and start CUI as an administrator.

Starting with Windows 10 1703, running the command prompt with administrator privileges has become a hassle.

Open the menu with the Windows key + "X" key and press "A" to start PowerShell with administrator privileges.
You can then switch the Powershell console to command prompt mode by typing "cmd" and pressing Enter.

* When operating in command prompt mode, the letters "PS" will be removed.


Afterword

This time I tried to summarize how to start the console with administrator privileges that I often use.
When only testing commands, the startup method using the advanced menu is often used.

If you have created a script, you will be promoted to an administrator in the process, so it is hard to come into play, but I think that administrator execution is essential to introduce commands, so just in case I thought I'd write an article.

If its helpful then im happy.


Comment

  1. […] […]

Translate »
I copied the title and URL