At Winaero, I often write a number of articles which require you to open an elevated command prompt. A few examples are How to open elevated command prompt in Windows 10, Open elevated command prompt from non-elevated instance and A hidden way to open the command prompt in Windows 10. Today, I would like to share how you can open an elevated command prompt at the current folder you are browsing in Explorer. This saves your time.
As you might be knowing, by default, the elevated command prompt opens at the C:\Windows\System32 folder. This is not useful. You need to change the folder to another folder on your hard drive. It involves an additional console steps and commands. To speed up this process in Windows 7 and Windows Vista, I created ELE, a freeware app which you can use to open an elevated command prompt at the desired location.
But if you have the Ribbon enabled in File Explorer on Windows 10, Windows 8.1 or Windows 8, you can do this without any third party tool. Just follow these steps:
- Open the desired folder in File Explorer:
- On the Ribbon, click File -> Open Command Prompt -> Open command prompt as administrator:
- Confirm the UAC prompt and you are done!
An even faster way is to add the item "Open command prompt as administrator" directly to the Quick Access toolbar. Right click the mentioned command and pick "Add to Quick Access toolbar". Then you will be able to open it with just one click from any folder you have open in File Explorer. Tip: How to add any ribbon command to the Quick Access toolbar of File Explorer.