Skip to main content
added 54 characters in body
Source Link
DavidPostill
  • 158.5k
  • 77
  • 365
  • 408

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.

And (thanks to Bob; Didn't know this before aswell) it is even possible to do this elevated.

Source from Bob's comment.

[...]While we are here we can also add the required keys to open an elevated prompt of every drive letter attached to the system. This can easily be accomplished by adding an entry in the registry. So copy/paste the text below into a text file and give it a name of something like “admin.reg” and double-click it.

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\""

Now if you shift-right click on any folder you will see both options.

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.

And (thanks to Bob; Didn't know this before aswell) it is even possible to do this elevated.

Source from Bob's comment.

[...]While we are here we can also add the required keys to open an elevated prompt of every drive letter attached to the system. This can easily be accomplished by adding an entry in the registry. So copy/paste the text below into a text file and give it a name of something like “admin.reg” and double-click it.

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\""

Now if you shift-right click on any folder you will see both options.

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.

And (thanks to Bob; Didn't know this before aswell) it is even possible to do this elevated.

Source from Bob's comment.

[...]While we are here we can also add the required keys to open an elevated prompt of every drive letter attached to the system. This can easily be accomplished by adding an entry in the registry. So copy/paste the text below into a text file and give it a name of something like “admin.reg” and double-click it.

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\""

Now if you shift-right click on any folder you will see both options.

added 1396 characters in body
Source Link
Zaibis
  • 143
  • 10

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.

And (thanks to Bob; Didn't know this before aswell) it is even possible to do this elevated.

Source from Bob's comment.

[...]While we are here we can also add the required keys to open an elevated prompt of every drive letter attached to the system. This can easily be accomplished by adding an entry in the registry. So copy/paste the text below into a text file and give it a name of something like “admin.reg” and double-click it.

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\""

Now if you shift-right click on any folder you will see both options.

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.

And (thanks to Bob; Didn't know this before aswell) it is even possible to do this elevated.

Source from Bob's comment.

[...]While we are here we can also add the required keys to open an elevated prompt of every drive letter attached to the system. This can easily be accomplished by adding an entry in the registry. So copy/paste the text below into a text file and give it a name of something like “admin.reg” and double-click it.

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\""

Now if you shift-right click on any folder you will see both options.

Source Link
Zaibis
  • 143
  • 10

This is actually not what you are asking for, but when I understand you right this will achieve what you try to work around. try to shift + rightclick on the specific folder and select open command window here. In case thats not your problem, just let me know and I'll remove this.