Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Always run cmd via ConEmu as administrator

Tags:

cmd

admin

conemu

I'm using ConEmu and I want to always have my cmds run as administrator.

I've changed the settings that forces all my cmds to run through ConEmu, so typing 'cmd' in the Windows Run will open ConEmu (Settings -> Integration -> Default term -> Force ConEmu as default terminal)

I've tried changing the (Settings -> Startup -> Command line) to cmd.exe -new_console:a which works for shortcuts but doesn't change the default (running cmd from Run or opening a new tab inside ConEmu)

Thanks

like image 590
AlexD Avatar asked Jun 23 '16 12:06

AlexD


People also ask

How do I stop cmd from running as administrator?

Right click on the cmd shortcut, navigate to properties, select advanced options and uncheck the 'Run as admin' option.


1 Answers

For me it works to change the specified named Tasks in Settings->Startup to {Shells::cmd (Admin)}

like image 179
Mike Avatar answered Oct 13 '22 03:10

Mike