You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to read askpass response from ask-pass-trampoline.bat #2623
Attempting to push commits to my GitHub using the Desktop client results in this message:
The system cannot find the path specified.
error: unable to read askpass response from 'C:\Users\Alca\AppData\Local\GitHubDesktop\app-0.8.0\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Actual behavior: The aforementioned error message pops up.
Reproduces how often: 100% of the time.
Logs
2017-09-06T06:15:40.333Z - error: [ui] `git -c credential.helper= push origin master:master --progress` exited with an unexpected code: 128.
The system cannot find the path specified.
error: unable to read askpass response from 'C:\Users\Alca\AppData\Local\GitHubDesktop\app-0.8.0\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Additional Information
The file at that location most definitely does exist. It has persisted through multiple versions of Desktop.
I've tried commenting out core.askpass=git-gui--askpass from my git config.
This also started happening to me last week. I just used the command prompt to get around it, but now it's getting annoying, I've been using GitHub Desktop for months without problems, I don't know if 0.8.0 started it, since updates happen so transparently. But 0.8.0 what I was running when I noticed the problem, and I've also manually downloaded and reinstalled with 0.8.2 and still have the issue.
GitHub Desktop version: 0.8.0/0.8.2
OS version: Windows 7 (6.1.7601)
Log:
2017-09-12T19:27:06.117Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 5.941s)
2017-09-12T19:27:08.800Z - error: [ui] `git -c credential.helper= push origin master:master --progress` exited with an unexpected code: 128.
The system cannot find the path specified.
error: unable to read askpass response from 'C:\Users\jayt\AppData\Local\GitHubDesktop\app-0.8.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2017-09-12T19:29:00.786Z - error: [ui] `git -c credential.helper= push origin master:master --progress` exited with an unexpected code: 128.
The system cannot find the path specified.
error: unable to read askpass response from 'C:\Users\jayt\AppData\Local\GitHubDesktop\app-0.8.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
I have some fresh theories on this, mostly due to this clue from the malformed characters from a more recent report:
'C:\Users\TiagoMagalhaes' is not recognized as an internal or external command,
operable program or batch file.
error: unable to read askpass response from 'C:\Users\TiagoMagalhães(11506\AppData\Local\GitHubDesktop\app-1.0.2\resources\app\static\ask-pass-trampoline.bat'
The error message The system cannot find the path specified. is self-explanatory, but without more context I'd say we're passing some unicode characters into %DESKTOP_PATH% and cmd can't resolve it due to code pages.
hello i have tried to clone into C:\Dev but it didn't work either , so sure to what degree its some Unicode issue , i have also tried disabling avast but to no avail , to be added that you can still be right .
this is happening on my laptop where i use a college version of W10 so my name and school number is my account name. However on my desktop my name has no Unicode characters and i did not encounter this issue.
For myself. I've solved it, it was not github desktop. Another program had added something stupid to the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\autorun
Reacted by Charlie, Richard Massey, Alexey, Eliezer Mishulovin, Arman Shahinyan, Denis Zwinger, Moyo, PHAN, Tomasz Trela, Mathiew M and 15 more
Reacted by T3rdW, William Shiao, Willi Sontopski, AlvaCap and fdo34fuw44wFW$fspmf
Anyone unable to find "Command Processor" tab under HKEY_CURRENT_USER\Software\Microsoft?
I was also unable to find that key. But i found that in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor . It was there maybe because I installed it conda for all users and not just for me. And after deleting that autorun key my issue was solved.
Forgot to mention, this has disassociated with the SSH protocol not working; it is now singularly focused on askpass.bat, as I am lazy to create a new issue.
Just wanted to comment that a previous installation of Miniconda had created an AutoRun key at HKEY_CURRENT_USER\Software\Microsoft\Command Processor
(Another user has stated Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor was where it was located for them. It may be different depending on how Miniconda was installed.
Deleting the key fixed this problem for me.
Please, I have the same issue which I have been trying to resolve.
I opened Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
but can't find AutoRun Key.
What I have there are:
(Default)
CompletionChar
DefaultColor
EnableExtensions
PathCompletionChar
(I don't know which of them is AutoRun key)
@Onoshe I've been suffering the same problem, have you tried looking through the help document! Hopefully, the help document can be of assistance. If not, try joining our open issue at #10363!
@DLionApps I'm already using the latest version. I tried everything but the problem still persist. Am just 😫 @SuperHarmony910 Alright. I will try and join.
Thanks all of you.
@Onoshe I am also on the latest version (2.5.6). You should try everything that @steveward told me in the comments of #10363
In the meantime, I would recommend you install Git Bash, the official one that GitHub is compatible with, from https://git-scm.com and download the latest version based upon your computer processor. If you have a 32-bit system, the download won't work unless you click "32-bit Git for Windows Setup". After you've installed it, go to your repository folder, right-click anywhere within File Explorer, and click on "Git Bash Here". Now that you have a working copy of Git, you should toy around with the commands git commit -a & git push! They are great first commands to learn, and basically, its committing and pushing the long way using Git!
In the registry editor(pc\HKEY_CURRENT_USER\Software\Microsoft\Command Processor), just remove all the custom string value.
In the case of me, "doskey" command for Linux macro was causing problems.
I currently cannot view that registry entry for some reason, it does not exist on my file system, Command Processor. Although it may be a 'view permissions' thing. Who knows?
For myself. I've solved it, it was not github desktop. Another program had added something stupid to the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\autorun
Thanks, I just removed the Autorun entry that was created by Conda and it is working correctly now
For myself. I've solved it, it was not github desktop. Another program had added something stupid to the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\autorun
Thanks, I just removed the Autorun entry that was created by Conda and it is working correctly now
Geez, I had this issue couple a days now and this actually helped. Also Conda Autorun entry in the registry removed and works like heaven now. Thanks
Activity
niik commentedon Sep 6, 2017
Hey @AlcaDesign,
I don't know what could cause that error but I figure we should start by eliminating some things and take it from there.
Could you please open a command prompt and run
set PATHand copy the output here?Do you have any anti-virus software running on your machine, and if so, could you temporarily disable it and try again?
Have you ever been able to use any older versions of GitHub Desktop to push?
AlcaDesign commentedon Sep 6, 2017
Path
Formatted:
I went through and removed paths that didn't exist any longer from the path.
Anti-virus?
Nope
Old Version of GitHub Desktop?
Yes, before I switched to the "beta" pushing worked.
jbtule commentedon Sep 12, 2017
This also started happening to me last week. I just used the command prompt to get around it, but now it's getting annoying, I've been using GitHub Desktop for months without problems, I don't know if 0.8.0 started it, since updates happen so transparently. But 0.8.0 what I was running when I noticed the problem, and I've also manually downloaded and reinstalled with 0.8.2 and still have the issue.
GitHub Desktop version: 0.8.0/0.8.2
OS version: Windows 7 (6.1.7601)
Log:
shiftkey commentedon Oct 1, 2017
I have some fresh theories on this, mostly due to this clue from the malformed characters from a more recent report:
The error message
The system cannot find the path specified.is self-explanatory, but without more context I'd say we're passing some unicode characters into%DESKTOP_PATH%andcmdcan't resolve it due to code pages.desktop/app/static/win32/ask-pass-trampoline.bat
Lines 1 to 9 in 688303b
This feels a lot like #2624 but in a different location.
Antypurus commentedon Oct 1, 2017
hello i have tried to clone into C:\Dev but it didn't work either , so sure to what degree its some Unicode issue , i have also tried disabling avast but to no avail , to be added that you can still be right .
this is happening on my laptop where i use a college version of W10 so my name and school number is my account name. However on my desktop my name has no Unicode characters and i did not encounter this issue.
jbtule commentedon Oct 4, 2017
For myself. I've solved it, it was not github desktop. Another program had added something stupid to the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\autorun
shiftkey commentedon Oct 5, 2017
@jbtule that's weird - thanks for reporting back!
@tiagojosemagalhaes @AlcaDesign can you check that registry entry too and see if something unexpected is registered there?
AlcaDesign commentedon Oct 5, 2017
@shiftkey There's no "autorun" entry at that location.
shiftkey commentedon Oct 5, 2017
Dropping myself off this while I don't have access to Windows hardware, in case someone else wants to take a swing at this.
Antypurus commentedon Oct 5, 2017
@AlcaDesign @shiftkey i don´t have any autorun entry at that location either.
59 remaining items
elalexel commentedon Apr 22, 2020
Had the same problem! they should fix this on conda's side...
shivanshu-semwal commentedon Jul 5, 2020
I was also unable to find that key. But i found that in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor . It was there maybe because I installed it conda for all users and not just for me. And after deleting that autorun key my issue was solved.
SuperHarmony910 commentedon Aug 9, 2020
I had to reinstall GitHub Desktop to fix this problem; the registry key
Autorunwas absent in both presented locations.SuperHarmony910 commentedon Aug 27, 2020
Forgot to mention, this has disassociated with the SSH protocol not working; it is now singularly focused on askpass.bat, as I am lazy to create a new issue.
Onoshe commentedon Oct 1, 2020
Please, I have the same issue which I have been trying to resolve.

I opened Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
but can't find AutoRun Key.
What I have there are:
(Default)
CompletionChar
DefaultColor
EnableExtensions
PathCompletionChar
(I don't know which of them is AutoRun key)
DLionApps commentedon Oct 1, 2020
@Onoshe same problem here. mine also no any autorun
DLionApps commentedon Oct 1, 2020
I updated the Github desktop to latest version. then error was gone. now i'm able to push the code
SuperHarmony910 commentedon Oct 2, 2020
@Onoshe I've been suffering the same problem, have you tried looking through the help document! Hopefully, the help document can be of assistance. If not, try joining our open issue at #10363!
Onoshe commentedon Oct 2, 2020
@DLionApps I'm already using the latest version. I tried everything but the problem still persist. Am just 😫
@SuperHarmony910 Alright. I will try and join.
Thanks all of you.
SuperHarmony910 commentedon Oct 3, 2020
@Onoshe I am also on the latest version (2.5.6). You should try everything that @steveward told me in the comments of #10363
In the meantime, I would recommend you install Git Bash, the official one that GitHub is compatible with, from https://git-scm.com and download the latest version based upon your computer processor. If you have a 32-bit system, the download won't work unless you click "32-bit Git for Windows Setup". After you've installed it, go to your repository folder, right-click anywhere within File Explorer, and click on "Git Bash Here". Now that you have a working copy of Git, you should toy around with the commands
git commit -a&git push! They are great first commands to learn, and basically, its committing and pushing the long way using Git!DawonChoi commentedon Oct 7, 2020
In the registry editor(pc\HKEY_CURRENT_USER\Software\Microsoft\Command Processor), just remove all the custom string value.
In the case of me, "doskey" command for Linux macro was causing problems.
SuperHarmony910 commentedon Oct 7, 2020
I currently cannot view that registry entry for some reason, it does not exist on my file system,
Command Processor. Although it may be a 'view permissions' thing. Who knows?shahnitav commentedon Nov 1, 2020
Thanks, I just removed the Autorun entry that was created by Conda and it is working correctly now
denisdrga commentedon Dec 8, 2020
Geez, I had this issue couple a days now and this actually helped. Also Conda Autorun entry in the registry removed and works like heaven now. Thanks
Ofa234 commentedon Jan 23, 2024
Delete