Above is a screenshot depicting the Open cmd here as Administrator/Open command promt and Open elevated command prompt.
All three does exactly what it does.
Following is the code to add the menus. Copy the code, save in as 1.reg and then Double click the .reg file to run and merge the code to Windows Registry:
Open cmd here as Administrator
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Open command window here as Administrator"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@="Open command window here as Administrator"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Drive\shell\runas]
[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="Open command window here as Administrator"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\runas]
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\runas]
"HasLUAShield"=""
@="Open command window here as Administrator"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
For always running Windows CMD as Administrator, you can add the following:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\SysWOW64\\cmd.exe"="~ RUNASADMIN"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\SysWOW64\\cmd.exe"="~ RUNASADMIN"
For the later two Menus, you need to download and install - CmdOpenInstall-2.1.0.exe
Search for the application in Google and Install it.
i never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. team building expert
ReplyDeleteAdding "Open Command Prompt" In Windows Right Click Context Menu >>>>> Download Now
ReplyDelete>>>>> Download Full
Adding "Open Command Prompt" In Windows Right Click Context Menu >>>>> Download LINK
>>>>> Download Now
Adding "Open Command Prompt" In Windows Right Click Context Menu >>>>> Download Full
>>>>> Download LINK