Configure ConEmu to run shells as different user in tabs

16 Mar

To run a new shell in a ConEmu tab using a different ActiveDirectory user account than the one currently logged on to the system, use the following settings:

cmd (the regular Windows shell):

cmd.exe /k "%ConEmuBaseDir%\CmdInit.cmd" -cur_console:n:u:DOMAINNAME\username:t:"cmd ^(adm^)"



PowerShell:

powershell.exe -cur_console:t:"PS ^(adm^)" -cur_console:n:u:DOMAINNAME\username