Home >Common Problem >How to open PowerShell as administrator on Windows 11
Running PowerShell with elevated or administrator-level permissions allows you to run commands that bypass Windows file protection, such as those used for Windows installation files.
You can run PowerShell by opening PowerShell directly or by opening the new Windows Terminal application, which uses PowerShell to run commands by default.
Open PowerShell as administrator on Windows 11:
If you always want PowerShell to run with administrator-level permissions, you can set up Windows Terminal (PowerShell is used by default) to do this.
Always run Terminal as administrator on Windows 11:
Wt -v
Winget install –id Microsoft.WindowsTerminal.Preview
Using the above steps, you will be able to run PowerShell as an administrator on Windows 11. This will allow you to run powerful commands to help change settings or troubleshoot issues with Windows 11.
The above is the detailed content of How to open PowerShell as administrator on Windows 11. For more information, please follow other related articles on the PHP Chinese website!