Many times, we need to open the elevated prompt (Command Prompt with administrator rights) to execute specific commands. For instance, one needs to execute the powercfg /hibernate on/off command in an elevated prompt to enable hibernation in Windows 7 and sfc /scannow command to repair Windows system files.
Launching the Command Prompt with administrator rights is fairly simple. In Vista and Windows 7, you can type CMD in Start menu search box and simultaneously press Ctrl + Shift + Enter keys to open the elevated prompt. And in Windows 8, you can switch to the Start screen, type CMD and then press the above-motioned keys to open the elevated Command Prompt.
But at times, we launch the Command Prompt and enter a command only to know that the command needs to be executed in an elevated prompt. Closing the current prompt and then launching the Command Prompt again with admin rights is a tedious task. So, in this guide, we are going to show you a smart way to launch Command Prompt with admin rights from the standard Command Prompt.
Step 1: Download the Ele zip file from here. Ele is a small tool that lets you launch elevated prompt right from the standard Command Prompt.
Step 2: Extract the contents of the zip file to a folder to find e.cmd and ele.exe files. Move these two files (e.cmd and ele.exe) to C:\Windows folder (here, “C” is your Windows operating system drive letter).
Step 3: You are done! From now onwards, you can type ele in the standard Command Prompt to open a new Command Prompt window with admin rights or type ele /x to automatically close the current Command Prompt window and open new Command Prompt with admin privileges.
You might also like to know how to customize the Command Prompt window in Windows 7 and Windows 8.