Cmder: Context Menu "Cmder Here" Run as admin - Is this possible?

Created on 4 Jul 2015  路  5Comments  路  Source: cmderdev/cmder

I've been trying to get the right click context menu "Cmder Here" to open at the current path with administrator privileges. Is this possible?

I've edited the cmd startup task by adding a * as follows:

*cmd /k "%ConEmuDir%..\init.bat" -new_console:d:%USERPROFILE%

However this opens the cmd menu in my home directory rather than at the current path. Any ideas?

wontfix

Most helpful comment

You can either:

  • Change the Cmder.exe file privilege level in Properties > Compatibility > Run as administrator; or
  • Prepend * to the default {cmd} task in Settings > Startup > Task. So it will be *cmd /k "%ConEmuDir%\..\init.bat" . . . after.

All 5 comments

My context menu works as administrator. I don't remember if running /REGISTER ALL after changing the startup task did anything, but try that. What I also did was adjust the properties->compatibility in Cmder.exe to 'run as administrator'. If you don't care too much about running as a standard user, that might fix it.

Could someone share a working example (screenshot or code) of running cmder from context menu please?
I cant get it to work. :cry:

You can either:

  • Change the Cmder.exe file privilege level in Properties > Compatibility > Run as administrator; or
  • Prepend * to the default {cmd} task in Settings > Startup > Task. So it will be *cmd /k "%ConEmuDir%\..\init.bat" . . . after.

Click green plus btn > check checkbox "run as administrator" on the bottom.

Won't fix. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunowego picture brunowego  路  3Comments

AaronKaa picture AaronKaa  路  3Comments

spooky picture spooky  路  3Comments

sathishsoundharajan picture sathishsoundharajan  路  3Comments

bmeverett picture bmeverett  路  3Comments