Home » Tips N Tricks

Add Administrator Open here command prompt to Right click

Many a times you need administrator privileged enabled command prompt to be opened at the folder you like. The normal way of doing it is run the command prompt as administrator ( Rick click command prompt ) and then navigate to the directory.

This takes 3-4 steps to achieve it and not so convenient also. However you can add a permanent Open Here command prompt context menu ( with Administrator privileges ) with this small registry hack.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=”Open Command Window Here (Administrator)”

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=”cmd.exe /s /k pushd \”%V\”"

Save this as .reg file in a notepad file with any name you want. Then double click the file you just saved and it will merge the netry to your registry hive. Once done, right click any folder and you would see the option to open command prompt with administrator rights there.

Open here admin command prompt

These steps are hundred percent safe and you need not to worry about it. I am not making this file availble, as reg file, for download to be on the safer side.

Tagged with: | Need more help ? Ask your Questions in our Community | Follow us on Twitter @TSNW or Facebook
Share on Twitter Share on Facebook Subscribe to Feed Print This Post
Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPreložiť do slovenčiny/SlovakTulkot uz latviešu/LatvianTradueix al català/Catalanहिन्दी अनुवाद करने के लिए/HindiÖversätta till Svensk/SwedishOversetter til Norsk/NorwegianПереведите к русскому/RussianVertaal aan het Nederlands/Dutchترجمة الى العربية/ArabicПереклад на українську/UkrainianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese

Author Details

Posted on 28th January 2009 by Ashish Mohta , A Professional Tech blogger, Editor and Writer who talks about solving day to day problems of people who use computer. He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by Ashish Mohta | Connect with me @ Twitter | Linkedin | Facebook | Stumble

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.