rheostat2718 / conemu-maximus5

Automatically exported from code.google.com/p/conemu-maximus5
7 stars 1 forks source link

Administrator privilege not persisting to child windows #1840

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
OS version: Win8.1 x64
ConEmu version: 141208 [64]
Far version (if you are using Far Manager): None

*Bug description*
When working in an administrator conemu window (cmd.exe or Powershell.exe, 
doesn't matter) and launching another shell from that window, the second shell 
will be launched without administrator privilege.

*Steps to reproduction*
To show expected behavior...
1. Open a cmd.exe window as admin, without conemu, default OS console host
2. Run this command: "start cmd.exe" (without quotes)
3. Result: A second cmd.exe window will open and be running as admin

That's the expected behavior.  What happens with Conemu as the host is this:

1. Open an admin conemu cmd.exe window
2. Run the same command: "start cmd.exe" (without quotes)
3. Result: A second conemu tab will open running cmd.exe without admin privilege

The consequence of this is that it breaks a lot of scripts that expect child 
processes to have the same permission as the parent.  Notably I cannot reliably 
run any Chocolatey install scripts from within Conemu because of this.

Attached my ConEmu.xml in case it helps.

Original issue reported on code.google.com by rdawson...@gmail.com on 14 Dec 2014 at 1:10

Attachments:

GoogleCodeExporter commented 9 years ago
141216

Original comment by ConEmu.Maximus5 on 16 Dec 2014 at 10:50