-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Cmder ceases to be compatible with program Admin by Request #2935
Comments
As part of debugging this issue I would like to ask to perform two tests to see what we can do about compatibility with this "Admin by Request" program. Note This will help us determine the relevant component that imay be affected by this issue. Test 1
Now open an elevated Command Prompt window and run Test 2Please do the following items:
Then, run an elevated ConEmu terminal and use the cmd.exe shell (this is the default task in it) and report back how it works. |
Interestingly today whilst having a fiddle to prepare this bug report, I've found that if I right click the tab and choose "Restart or Duplicate" and choose any of the first 3 options then the new split, or the new tab will accept keystrokes, but the original half will still not accept any keystrokes |
There is an additional repro step:
Step 0 makes it unrealistic for me to try to reproduce the issue. And it sounds like it would likely interfere with running a debugger. What shell are you using? CMD.exe? If so, then it's also running Clink is what shows the prompt and accepts input at the command line in Cmder. I'm the maintainer of Clink. Is it possible for you to download .zip files with older versions of Clink and extract to replace the file in vendor\clink\ and narrow down a specific version of Clink that's the first version that doesn't work? I.e. find both the last version of Clink that works, and the first version that doesn't? If you can narrow that down, then there's a slim chance that maybe Clink is doing something that could be changed to make Admin by Request happy. But I suspect it's more likely that either Admin by Request has changed, or even more likely that an anti-malware suite is really what's interfering (i.e. maybe Admin by Request isn't actually relevant). Have you tried checking your anti-malware suite to see recent block or quarantine actions it's performed? |
@chrisant996 Quick note, Cmder can display the λ in the prompt if Clink fails, I added it back as a fallback or in case Clink is explicitly disabled by the user using a switch: Line 224 in a2e4884
Moreover it can also be displayed on other shells as well, for example Powershell. In any case I asked the two tests above to see if this issue is even related to Cmder (and/or Clink), it might be an issue with ConEmu, and we don't know if it also happens in any of the other shells. |
@DRSDavidSoft are you also handling this on the newer performance optimized Cmder run once |
@daxgames Excellent question; I should review the code, I haven't really had time yet to review the |
@DRSDavidSoft I also need to look at VSCode and see if they have released a version that has our feature request in it so we can update the WIndows Terminal Releases. |
@daxgames Exactly, v1.4 of Cmder going to include some exciting changes! (BTW If we drop ConEmu at some point, we can confidently release an ARM64 version of Cmder since currently it's the only dependency of Cmder that doesn't support ARM64 officially) |
Added CMDER_ROOT environment variable mintty as Admin works OK (font is strangely small however) system bash, freeze and failure ("conemu-cyg-64.exe --wsl -cur_console:pm:/mnt") : Downloaded latest version from ConEmu's download page Ran the elevated ConEmu terminal and use the cmd.exe shell and it froze When running an admin prompt we get the following from Admin by Request |
That confirms it is NOT a Clink issue. |
Version Information
Cmder Edition
Cmder Full (with Git)
Description of the issue
A while back our company installed a Program called "Admin by Request", where the standard UAC is replaced by a requirement to have a Domain account, and then the only way to do things like install programs, update environmental variables, run programs elevated etc is to trigger it through "Admin By Request", running an Elevated Cmd prompt automatically triggers "Admin by Request.", but other things like launching the Environmental Variable editor have to be launched directly by the tool.
When it was first installed I could run both normal or elevated prompts, and by the time the Cmder tab had finished loading you would be able to type.
However a couple of months ago I found that if I run an elevated prompt in Cmder it does indeed trigger "Admin by Request", and you OK the elevation and the typical Cmder tab loading happens, however when it stops running other programs such as where, findstr, locale and git.exe we then see the Lamda λ symbol and a flashing I cursor, at that point when you start typing nothing ever appears.
How to reproduce
Expected: whatever typed at step 4 appears, Actual, Insertion point cursor flashes but no text appears
Additional context
Admin by Request: Workstation Edition 8.1.6 (Build 28284)
Checklist
The text was updated successfully, but these errors were encountered: