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
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
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.