Skip to content
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

GitHub Desktop won't open on Windows 10 #3757

Open
CecileL opened this issue Jan 10, 2018 · 139 comments
Open

GitHub Desktop won't open on Windows 10 #3757

CecileL opened this issue Jan 10, 2018 · 139 comments
Labels
investigation-needed Likely bugs, but haven't been reliably reproduced by a reviewer windows Issues specific Desktop usage on Windows

Comments

@CecileL
Copy link

CecileL commented Jan 10, 2018

Hi all,

Description

GitHub Desktop won't open on Windows 10.
When double clicking on the shortcut nothing happens. GitHub Desktop don't show in the Task Manager > Processes but shows in the Task Manager > Details
I tried opening as an administrator and with Windows 8 compatibility, same problem.

Version

GitHub Desktop version: As I cannot open it, I cannot see the version. I downloaded on the 4th of december 2017.

OS version: Microsoft Windows version 10.0.13299.192

Steps to Reproduce

  1. Install GitHub Desktop on Windows 10
  2. Open GitHub Desktop
  3. Close GitHub Desktop
  4. Reopen GitHub Desktop

Reproduces how often: Always at the moment, but just after installing I could open it and work. Then I closed it and could not open again. I tried rebooting several times but with no luck. I remember at some point it opened again but this week no way, nothing works.

Logs

  • If you are on Windows, attach the most recent log file from:
    %APPDATA%\GitHub Desktop\logs\*.desktop.production.log

I don't have any logs folder in this path.

Additional Information

Thanks in advance for your help

Possible solutions to try

Workaround 1 via @kevlut

This may be helpful if you see it open in the toolbar like I was, it worked for me: vercel/hyper#1682

TL;DR with the github for desktop window "focused" hit Alt + spacebar to open the window context menu on screen and maximize the window. Not sure if this is related, but may be something with electron.

Workaround 2 via @cbw1243

This is my solution after trying many suggested above. Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', and then delete the most recent "app-". I am not an engineer, but my logic is that the reason that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

@shiftkey
Copy link
Member

shiftkey commented Jan 10, 2018

As I cannot open it, I cannot see the version. I downloaded on the 4th of december 2017.

If you go to Settings | Apps from the Start Menu and expand the entry for GitHub Desktop, you should see the version number:

@CecileL
Copy link
Author

CecileL commented Jan 10, 2018 via email

@aaronmaynard
Copy link

I am running Windows 10 on multiple machines and have not come into this issue. Maybe there is a task that is preventing it from opening?

@CecileL
Copy link
Author

CecileL commented Jan 11, 2018 via email

@shiftkey
Copy link
Member

@CecileL I'm not quite sure why Desktop would be silently failing, but a good place to start would be the Event Viewer. Could you open up a PowerShell prompt, run this command and attach the output? There might be a clue in here to assist with troublemaking:

> Get-EventLog -LogName "Application" -EntryType "Error" -Newest 20  | Format-Table  Index, Source, Message

@CecileL
Copy link
Author

CecileL commented Jan 11, 2018 via email

@shiftkey
Copy link
Member

shiftkey commented Jan 11, 2018

Extracting the output because the email replies don't support markdown edits:

Index Source            Message
----- ------            -------
 6492 Application Error Nom de l’application défaillante Explorer.EXE, version : 10.0.16299.192, horodatage : 0x494a...
 6481 Application Hang  Le programme SearchUI.exe version 10.0.16299.98 a cessé d'interagir avec Windows et a été fe...
 6455 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...
 6454 .NET Runtime      Application : esu.exe...
 6377 ATRIL             La description de l'ID d'événement '-1073738803' dans la source 'ATRIL' est introuvable. L'o...
 6366 Application Error Nom de l’application défaillante Taskmgr.exe, version : 10.0.16299.15, horodatage : 0x635d43...
 6291 Application Error Nom de l’application défaillante esu.exe, version :1.0.0.0, horodatage : 0x58dac8d5...
 6290 .NET Runtime      Application : esu.exe...
 6245 Application Error Nom de l’application défaillante DejaVuX3.exe, version : 9.0.0.738, horodatage : 0x57797b0f...
 6244 ATRIL             La description de l'ID d'événement '-1073676281' dans la source 'ATRIL' est introuvable. L'o...
 6243 ATRIL             La description de l'ID d'événement '-1073741733' dans la source 'ATRIL' est introuvable. L'o...
 5954 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...
 5953 .NET Runtime      Application : esu.exe...
 5783 MsiInstaller      Product: Rhino 6 -- Error 1303.  (1)The installer has insufficient privileges to access this...
 5767 MsiInstaller      Product: Rhino 6 -- Error 1303.  (1)The installer has insufficient privileges to access this...
 5751 MsiInstaller      Product: Rhino 6 -- Error 1303.  (1)The installer has insufficient privileges to access this...
 5736 MsiInstaller      Product: Rhino 6 -- Error 1303.  (1)The installer has insufficient privileges to access this...
 5735 MsiInstaller      Product: Rhino 6 -- Error 1303.  (1)The installer has insufficient privileges to access this...
 5699 SideBySide        La création du contexte d’activation a échoué pour « C:\Program Files (x86)\Nuance\Power PDF...
 5690 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...

@CecileL
Copy link
Author

CecileL commented Jan 11, 2018

Hope this will be better

Index Source Message


6492 Application Error Nom de l’application défaillante Explorer.EXE, version : 10.0.16299.192, horodatage : 0x494a...
6481 Application Hang Le programme SearchUI.exe version 10.0.16299.98 a cessé d'interagir avec Windows et a été fe...
6455 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...
6454 .NET Runtime Application : esu.exe...
6377 ATRIL La description de l'ID d'événement '-1073738803' dans la source 'ATRIL' est introuvable. L'o...
6366 Application Error Nom de l’application défaillante Taskmgr.exe, version : 10.0.16299.15, horodatage : 0x635d43...
6291 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...
6290 .NET Runtime Application : esu.exe...
6245 Application Error Nom de l’application défaillante DejaVuX3.exe, version : 9.0.0.738, horodatage : 0x57797b0f...
6244 ATRIL La description de l'ID d'événement '-1073676281' dans la source 'ATRIL' est introuvable. L'o...
6243 ATRIL La description de l'ID d'événement '-1073741733' dans la source 'ATRIL' est introuvable. L'o...
5954 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...
5953 .NET Runtime Application : esu.exe...
5783 MsiInstaller Product: Rhino 6 -- Error 1303. (1)The installer has insufficient privileges to access this...
5767 MsiInstaller Product: Rhino 6 -- Error 1303. (1)The installer has insufficient privileges to access this...
5751 MsiInstaller Product: Rhino 6 -- Error 1303. (1)The installer has insufficient privileges to access this...
5736 MsiInstaller Product: Rhino 6 -- Error 1303. (1)The installer has insufficient privileges to access this...
5735 MsiInstaller Product: Rhino 6 -- Error 1303. (1)The installer has insufficient privileges to access this...
5699 SideBySide La création du contexte d’activation a échoué pour « C:\Program Files (x86)\Nuance\Power PDF...
5690 Application Error Nom de l’application défaillante esu.exe, version : 1.0.0.0, horodatage : 0x58dac8d5...

@shiftkey shiftkey added the more-info-needed The submitter needs to provide more information about the issue label Jan 11, 2018
@shiftkey
Copy link
Member

@CecileL there's no smoking gun in those logs. I'd suggest uninstalling and reinstalling the latest version from desktop.github.com to see if that addresses the issue.

@CecileL
Copy link
Author

CecileL commented Jan 11, 2018

@shiftkey I already tried this several times in december and got no chance. Is the latest version newer from the one I use?

@shiftkey
Copy link
Member

@CecileL yes, 1.0.12 landed earlier this week and you can see the changes in the release notes.

@CecileL
Copy link
Author

CecileL commented Jan 11, 2018

@shiftkey Thanks for the info. I uninstalled my version, deleted all the files in Appdata/local/github then installed the latest version. It opened at the end of installation. Then I closed it and it won't open again. I can't reboot right now and it's late here so I'll see if it opens tomorrow after rebooting.

Thanks again for your help

@PeterBetlem
Copy link

Same issue. It only opens once, and stays hidden after trying to restart it. :/

@CecileL
Copy link
Author

CecileL commented Jan 15, 2018

After installing 1.0.12 GitHub Desktop opened fine. Then I closed it and it would no reopen. After rebooting it opened again but once again, if I close GitHub Desktop it won't open again

@pliniociccio
Copy link

Same issue here.

@mrhitnik
Copy link

My problem is exactly identical except I'm running Windows 7.

@shiftkey
Copy link
Member

Because of the lack of insights into this, I'm kind of stumped as to how to proceed. One theory that requires some additional tracing is that our use of Electron's single-instance API is preventing the app from relaunching. This theory would also explain why a restart makes the problem go away.

Roughly speaking:

  • app launches, marks itself as the single instance
  • because of some external factor, closing the app doesn't clean up the process
  • subsequent launches of the app are routed to the original process, but it doesn't have any UI so it doesn't launch properly

@CecileL @pliniociccio @mrhitnik are you able to see any leftover GitHubDesktop processes after you get into the "unable to launch" steps? This PowerShell command should help find these:

> Get-Process GitHubDesktop

It will error if there are no processes found, but if a process is still around that would fit with this theory.

@CecileL
Copy link
Author

CecileL commented Jan 22, 2018

Hi Brendan

Unfortunately restart does not always solve the problem. Today there is no way for me to open GithubDesktop... not even after restarting.
Here is the result of your request:
image

@shiftkey
Copy link
Member

@CecileL excellent, this seems to fit with that theory. Now to figure out the next steps...

@shiftkey shiftkey self-assigned this Jan 22, 2018
@shiftkey shiftkey added investigation-needed Likely bugs, but haven't been reliably reproduced by a reviewer and removed more-info-needed The submitter needs to provide more information about the issue labels Jan 22, 2018
@dann4566165
Copy link

glad someone is working on this... i have the same issue, tried running as administrator, restarting computer, nothing gets it to open. Only thing that works is uninstalling and reinstall, and that only works until i close the program.

@CecileL
Copy link
Author

CecileL commented Jan 25, 2018 via email

@Marlamin
Copy link

Marlamin commented Jan 28, 2018

Also having this issue, reboot, reinstall etc. doesn't seem to help. It starts 3 processes and then just does nothing. Sometimes it opens an entirely blank window and then does nothing.

image

Logs aren't showing anything useful to my knowledge.

2018-01-28T09:58:52.526Z - info: [main] Received possible protocol arguments: 2
2018-01-28T09:59:48.437Z - info: [main] Received possible protocol arguments: 1

@gizmochief7
Copy link

I too am having this exact problem. I also see the same 3 processes in the Task Manager as @Marlamin pointed out. Everything was fine with mine until today when I allowed windows to update. I ran the WinDbg debugger util on the GitHubDesktop.exe on my Windows 10 Pro machine and these are the results. I dont know if it will help at all.

CommandLine: C:\Users\[redacted]\AppData\Local\GitHubDesktop\GitHubDesktop.exe 
Symbol search path is: srv*
Executable search path is: 
ModLoad: 012a0000 01301000   StubExecutable.exe
ModLoad: 77d40000 77ecd000   ntdll.dll
ModLoad: 771a0000 77270000   C:\WINDOWS\SysWOW64\KERNEL32.DLL
ModLoad: 76ee0000 770b7000   C:\WINDOWS\SysWOW64\KERNELBASE.dll
ModLoad: 732e0000 7337a000   C:\WINDOWS\SysWOW64\apphelp.dll
ModLoad: 711f0000 71471000   C:\WINDOWS\SysWOW64\AcLayers.DLL
ModLoad: 74fa0000 7505d000   C:\WINDOWS\SysWOW64\msvcrt.dll
ModLoad: 758c0000 75a35000   C:\WINDOWS\SysWOW64\USER32.dll
ModLoad: 76e30000 76e46000   C:\WINDOWS\SysWOW64\win32u.dll
ModLoad: 77420000 77442000   C:\WINDOWS\SysWOW64\GDI32.dll
ModLoad: 75490000 755ee000   C:\WINDOWS\SysWOW64\gdi32full.dll
ModLoad: 77390000 7740c000   C:\WINDOWS\SysWOW64\msvcp_win.dll
ModLoad: 75630000 75747000   C:\WINDOWS\SysWOW64\ucrtbase.dll
ModLoad: 75a90000 76dc3000   C:\WINDOWS\SysWOW64\SHELL32.dll
ModLoad: 755f0000 75628000   C:\WINDOWS\SysWOW64\cfgmgr32.dll
ModLoad: 77270000 772f8000   C:\WINDOWS\SysWOW64\shcore.dll
ModLoad: 776b0000 7776e000   C:\WINDOWS\SysWOW64\RPCRT4.dll
ModLoad: 74760000 74780000   C:\WINDOWS\SysWOW64\SspiCli.dll
ModLoad: 74750000 7475a000   C:\WINDOWS\SysWOW64\CRYPTBASE.dll
ModLoad: 74e60000 74eb7000   C:\WINDOWS\SysWOW64\bcryptPrimitives.dll
ModLoad: 74f50000 74f93000   C:\WINDOWS\SysWOW64\sechost.dll
ModLoad: 77450000 77696000   C:\WINDOWS\SysWOW64\combase.dll
ModLoad: 77770000 77d36000   C:\WINDOWS\SysWOW64\windows.storage.dll
ModLoad: 748f0000 74968000   C:\WINDOWS\SysWOW64\advapi32.dll
ModLoad: 75870000 758b5000   C:\WINDOWS\SysWOW64\shlwapi.dll
ModLoad: 757f0000 757fe000   C:\WINDOWS\SysWOW64\kernel.appcore.dll
ModLoad: 76dd0000 76e15000   C:\WINDOWS\SysWOW64\powrprof.dll
ModLoad: 75470000 75484000   C:\WINDOWS\SysWOW64\profapi.dll
ModLoad: 75750000 757e3000   C:\WINDOWS\SysWOW64\OLEAUT32.dll
ModLoad: 74a30000 74e56000   C:\WINDOWS\SysWOW64\SETUPAPI.dll
ModLoad: 73200000 73217000   C:\WINDOWS\SysWOW64\MPR.dll
ModLoad: 006f0000 006f3000   C:\WINDOWS\SysWOW64\sfc.dll
ModLoad: 72810000 7287c000   C:\WINDOWS\SysWOW64\WINSPOOL.DRV
ModLoad: 74190000 741c0000   C:\WINDOWS\SysWOW64\IPHLPAPI.DLL
ModLoad: 73eb0000 73ec9000   C:\WINDOWS\SysWOW64\bcrypt.dll
ModLoad: 006f0000 006f3000   C:\WINDOWS\SysWOW64\sfc.dll
ModLoad: 731e0000 731f1000   C:\WINDOWS\SysWOW64\sfc_os.DLL
ModLoad: 70fa0000 711f0000   C:\WINDOWS\SysWOW64\AcGenral.DLL
ModLoad: 751b0000 752a7000   C:\WINDOWS\SysWOW64\ole32.dll
ModLoad: 72d20000 72d99000   C:\WINDOWS\SysWOW64\UxTheme.dll
ModLoad: 74670000 74694000   C:\WINDOWS\SysWOW64\WINMM.dll
ModLoad: 727f0000 72805000   C:\WINDOWS\SysWOW64\samcli.dll
ModLoad: 727d0000 727e9000   C:\WINDOWS\SysWOW64\MSACM32.dll
ModLoad: 731a0000 731a8000   C:\WINDOWS\SysWOW64\VERSION.dll
ModLoad: 73dd0000 73df2000   C:\WINDOWS\SysWOW64\USERENV.dll
ModLoad: 727a0000 727c3000   C:\WINDOWS\SysWOW64\dwmapi.dll
ModLoad: 73bc0000 73d4c000   C:\WINDOWS\SysWOW64\urlmon.dll
ModLoad: 74f30000 74f49000   C:\WINDOWS\SysWOW64\imagehlp.dll
ModLoad: 74640000 74663000   C:\WINDOWS\SysWOW64\WINMMBASE.dll
ModLoad: 739a0000 73bb9000   C:\WINDOWS\SysWOW64\iertutil.dll
ModLoad: 752b0000 752d5000   C:\WINDOWS\SysWOW64\IMM32.DLL
(dbc.b0c): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000010 ecx=32a50000 edx=00000000 esi=008df000 edi=77d46964
eip=77dedbcf esp=00aff344 ebp=00aff370 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ntdll!LdrpDoDebuggerBreak+0x2b:
77dedbcf cc              int     3

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
0:000> g
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=77e579e0
eip=77daea4c esp=00aff73c ebp=00aff810 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
ntdll!NtTerminateProcess+0xc:
77daea4c c20800          ret     8
0:000> ~0s; .ecxr ; kb
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=77e579e0
eip=77daea4c esp=00aff73c ebp=00aff810 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
ntdll!NtTerminateProcess+0xc:
77daea4c c20800          ret     8
Unable to get exception context, HRESULT 0x8000FFFF
 # ChildEBP RetAddr  Args to Child              
00 00aff738 77da7a04 ffffffff 00000000 00000000 ntdll!NtTerminateProcess+0xc
01 00aff810 771b3bd2 00000000 77e8f3b0 ffffffff ntdll!RtlExitUserProcess+0xc4
02 00aff824 012afae5 00000000 00aff868 012afa7b KERNEL32!ExitProcessImplementation+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
03 00aff830 012afa7b 00000000 86b05c45 00000000 StubExecutable+0xfae5
04 00aff868 012afbdc 00000000 00000000 00000000 StubExecutable+0xfa7b
05 00aff87c 012a8d24 00000000 86b05c91 012a8d85 StubExecutable+0xfbdc
06 00aff8bc 771b8654 008df000 771b8630 f0b8f9a8 StubExecutable+0x8d24
07 00aff8d0 77da4a77 008df000 f079350a 00000000 KERNEL32!BaseThreadInitThunk+0x24
08 00aff918 77da4a47 ffffffff 77dc9f18 00000000 ntdll!__RtlUserThreadStart+0x2f
09 00aff928 00000000 012a8d85 008df000 00000000 ntdll!_RtlUserThreadStart+0x1b
0:000> !dumpstack -EE
No export dumpstack found
0:000> r
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=77e579e0
eip=77daea4c esp=00aff73c ebp=00aff810 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
ntdll!NtTerminateProcess+0xc:
77daea4c c20800          ret     8
0:000> !address eip

                                     
Mapping file section regions...
Mapping module regions...
Mapping PEB regions...
Mapping TEB and stack regions...
Mapping heap regions...
Mapping page heap regions...
Mapping other regions...
Mapping stack trace database regions...
Mapping activation context regions...

Usage:                  Image
Base Address:           77d41000
End Address:            77e55000
Region Size:            00114000 (   1.078 MB)
State:                  00001000          MEM_COMMIT
Protect:                00000020          PAGE_EXECUTE_READ
Type:                   01000000          MEM_IMAGE
Allocation Base:        77d40000
Allocation Protect:     00000080          PAGE_EXECUTE_WRITECOPY
Image Path:             ntdll.dll
Module Name:            ntdll
Loaded Image Name:      C:\WINDOWS\SYSTEM32\ntdll.dll
Mapped Image Name:      
More info:              lmv m ntdll
More info:              !lmi ntdll
More info:              ln 0x77daea4c
More info:              !dh 0x77d40000


Content source: 1 (target), length: a65b4
0:000> ub eip
ntdll!NtReplyWaitReceivePortEx:
77daea30 b82b000000      mov     eax,2Bh
77daea35 ba209ddc77      mov     edx,offset ntdll!Wow64SystemServiceCall (77dc9d20)
77daea3a ffd2            call    edx
77daea3c c21400          ret     14h
77daea3f 90              nop
ntdll!NtTerminateProcess:
77daea40 b82c000700      mov     eax,7002Ch
77daea45 ba209ddc77      mov     edx,offset ntdll!Wow64SystemServiceCall (77dc9d20)
77daea4a ffd2            call    edx

@shiftkey shiftkey removed their assignment Feb 15, 2018
@kevlut
Copy link

kevlut commented Feb 16, 2018

This is happening still today. I tried restarting, that didn't work. Reinstalling didn't work either. Tried Window+Arrow keys to move it and that doesn't work.

If it helps, I can mouse over and see the window preview just fine, but when I click it, nothing happens. When I click it again, I can see the animation of it collapsing into my toolbar. It looks like its flying in off screen from the right.

@kevlut
Copy link

kevlut commented Feb 16, 2018

This may be helpful if you see it open in the toolbar like I was, it worked for me: vercel/hyper#1682

TL;DR with the github for desktop window "focused" hit Alt + spacebar to open the window context menu on screen and maximize the window. Not sure if this is related, but may be something with electron.

@nar3n12
Copy link

nar3n12 commented Mar 18, 2021

Hi all,

Description

GitHub Desktop won't open on Windows 10.
When double clicking on the shortcut nothing happens. GitHub Desktop don't show in the Task Manager > Processes but shows in the Task Manager > Details
I tried opening as an administrator and with Windows 8 compatibility, same problem.

Version

GitHub Desktop version: As I cannot open it, I cannot see the version. I downloaded on the 4th of december 2017.

OS version: Microsoft Windows version 10.0.13299.192

Steps to Reproduce

  1. Install GitHub Desktop on Windows 10
  2. Open GitHub Desktop
  3. Close GitHub Desktop
  4. Reopen GitHub Desktop

Reproduces how often: Always at the moment, but just after installing I could open it and work. Then I closed it and could not open again. I tried rebooting several times but with no luck. I remember at some point it opened again but this week no way, nothing works.

Logs

  • If you are on Windows, attach the most recent log file from:
    %APPDATA%\GitHub Desktop\logs\*.desktop.production.log

I don't have any logs folder in this path.

Additional Information

Thanks in advance for your help

Possible solutions to try

Workaround 1 via @kevlut

This may be helpful if you see it open in the toolbar like I was, it worked for me: vercel/hyper#1682

TL;DR with the github for desktop window "focused" hit Alt + spacebar to open the window context menu on screen and maximize the window. Not sure if this is related, but may be something with electron.

Workaround 2 via @cbw1243

This is my solution after trying many suggested above. Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', and then delete the most recent "app-". I am not an engineer, but my logic is that the reason that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

From the Workaround 2, just open the github desktop exe from "app-" which is one before the latest version did the job for me. Seems the issue was, Github desktop couldn't locate my current project location.

@ccuser44
Copy link

Same issue

@hr4official
Copy link

deleted every single reference for git desk and reinstalled and its worked for me

@OptimusPi
Copy link

same issue and @cbw1243's fix worked for me

@sanjay-gitwork
Copy link

This may be helpful if you see it open in the toolbar like I was, it worked for me: vercel/hyper#1682

Hi, guys. This is my solution after trying many suggested above. Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', and then delete the most recent "app-". I am not an engineer, but my logic is that the reason that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

I had the same problem and this solution worked for me.
Even without appearing GitHub Desktop on the toolbar.

This work for me and have no side effects until now. Thanks.

its working

@emmanuel-contreras
Copy link

Just ran into this today, @cbw1243's fix worked for me as well

@msaad07
Copy link

msaad07 commented May 1, 2021

Workaround 2 via @cbw1243

This is my solution after trying many suggested above. Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', and then delete the most recent "app-". I am not an engineer, but my logic is that the reason that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

The problem started to appear when the GitHub Desktop application was running and the Windows crashed.
The Workaround 2, however, came to rescue. Thanks a lot.

@Pankraz01
Copy link

Just Reinstall App with installer from GitHub, after Deleting the app- Folders in C:/Users/NAME/AppData/Local/GitHubDesktop

@lawrencemuema
Copy link

Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', you will see a few app folders, open each and open the github exe in it. if the app has ever worked before, one of the versions will be suitable and you can use that for the meantime

@OrnellaT
Copy link

Workaround 2 via @cbw1243

This is my solution after trying many suggested above. Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', and then delete the most recent "app-". I am not an engineer, but my logic is that the reason that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

Thanks, that was one fast and easy answer!
I use github desktop basically every day with the same project. I just opened it now, it stated it could not locate my project folder... closed it, and then it was not opening anymore...
Used the Workaround 2 via @cbw1243, deleted just the last app- folder from yesterday, and could open it again, everything works fine now!

@justingolden21
Copy link

justingolden21 commented Oct 11, 2021

Just got this issue in Oct 2021... It won't open. Alt+space works even in another program like my browser. Doesn't show anywhere on task manager. Tried running as admin too. Worked fine last time I opened it and haven't changed a thing.

Downloading from https://desktop.github.com/ on top of my existing one works fine it seems

@dw-andrewsfasteners
Copy link

I found a similar issue with Github Desktop today. My username in c:\Users contains the special character ę and GitHub Desktop refuses to run. Copying full folder from AppData somewhere else on the hard drive and running from them starting app without issue. In other cases program just hangs in Task Manager.

The problem is that during installation it is not possible to specify the installation directory, hence some people will be stuck.

@wahabshah21
Copy link

I cam across the same issue just yesterday. All of a sudden I got certain error and Github Desktop's window closed. I tried opening it but nothing would happen. Even restarted and shutdown may PC but in vain. Today I just downloaded the new setup from the site and executed the setup (did not uninstall my previous one).

It magically worked and it is working properly now. Maybe this helps someone!

@ThomasYouung
Copy link

firstly, uninstall Github Desktop
then, make sure delete "C:\Users\Thomas\AppData\Local\GitHubDesktop" and "C:\Users\Thomas\AppData\Roaming\GitHub Desktop"
then, reinstall Github Desktop

it work`s for me . Maybe this helps someone!

@steveward
Copy link
Member

Another report in #14219. In this case the Windows username contained special characters, and using the --disable-gpu flag was successful in getting the app to launch as a workaround.

@virtualepoch
Copy link

Same issue... all I had to do is reinstall... No need to uninstall because that will happen automatically if you simply reinstall. Note: I had this issue right after pushing an update from a different computer.

@Sappurit
Copy link

Sappurit commented Jun 7, 2022

Deleting the most recent app- folder inside AppData worked for me too

work for me I deleted v3.0.1

@deadlykam
Copy link

deadlykam commented Jul 3, 2022

I had this issue too in windows 10. First I did was check the version of my github desktop in the Apps in the windows 10 Settings which was 3.0.2 . Then I went to C:\Users\ Your User Name \AppData\Local\GitHubDesktop folder. There I saw other versions of the software which were app-3.0.1, app-3.0.2 and app-3.0.3. So I went into the folder that matched my current version which was 3.0.2 and ran the GitHubDesktop.exe executable. This opened the github normally and then there was a message there saying there is newer version which was 3.0.3. Clicked the message that said to Update Github by restarting and everything started to work fine.

My guess on this is somehow the Update got interrupted and the main executable was trying open the latest version which was not properly downloaded and thus didn't open GithubDesktop. Hopefully this will help someone later.

K Out!

@hced
Copy link

hced commented Jul 29, 2022

Same issues... But here's a possible clue:

--> The ONLY way I can launch it (and this works every time) is by going to GitHub and choosing "Download with GitHub Desktop". (I'm using Vivaldi browser, not sure if that matters.)

Win 10 Pro Version 21H2 (OS Build 19044.1826)
GitHub Desktop 3.0.3

Don't think this is useful but here's a debug log from WinDbg (let me know if there's some more log that I should add):

CommandLine: C:\Users\[redacted]\AppData\Local\GitHubDesktop\GitHubDesktop.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
ModLoad: 00a90000 00af2000   StubExecutable.exe
ModLoad: 776b0000 77854000   ntdll.dll
ModLoad: 75f60000 76050000   C:\WINDOWS\SysWOW64\KERNEL32.DLL
ModLoad: 76b60000 76d79000   C:\WINDOWS\SysWOW64\KERNELBASE.dll
ModLoad: 76d80000 76f1c000   C:\WINDOWS\SysWOW64\USER32.dll
ModLoad: 76f80000 76f98000   C:\WINDOWS\SysWOW64\win32u.dll
ModLoad: 76050000 76073000   C:\WINDOWS\SysWOW64\GDI32.dll
ModLoad: 763c0000 7649c000   C:\WINDOWS\SysWOW64\gdi32full.dll
ModLoad: 764f0000 7656b000   C:\WINDOWS\SysWOW64\msvcp_win.dll
ModLoad: 77210000 77330000   C:\WINDOWS\SysWOW64\ucrtbase.dll
(2280.677c): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000000 ecx=ff420000 edx=00000000 esi=776b69ec edi=776b6a68
eip=77761e52 esp=00eff5ac ebp=00eff5d8 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ntdll!LdrpDoDebuggerBreak+0x2b:
77761e52 cc              int     3

@Anteino
Copy link

Anteino commented Aug 25, 2022

that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

Thanks that worked for me

@chu4276
Copy link

chu4276 commented Sep 7, 2022

Hi, guys. This is my solution after trying many suggested above. Go to 'C:\Users\YOUR USER NAMEn\AppData\Local\GitHubDesktop', and then delete the most recent "app-". I am not an engineer, but my logic is that the reason that you suddenly cannot open it is because you did something bad at the last time. If it does not work, you might try to delete others that you created most recently. Once I delete the "app-" folder, the GitHub Desktop can be opened.

Thank you very much, this work for me.

@stratigos
Copy link

stratigos commented Jan 14, 2023

The above solution hasnt worked for me. Im new to windows as a long time linux user, somehow I dont think GitHub desktop or a user "doing something bad" is the problem here ;-)

To make things worse, I can no longer uninstall the application. Clicking the uninstall button on the windows UI does nothing, just like launching the application does nothing. This is exactly what I always imagined working on windows to be like!

@Lil-Timmy
Copy link

Alrighty, so I'm not sure if this has been previously said, and I've seen quite a few workarounds and some solutions. But here's probably the simplest yet that finally worked for me:
Previously I was using a .bat file to open github, but I couldn't put that in the Start menu, and also had to type out the full name, which was rather annoying. I decided recently to change my user name on my computer, and all of a sudden the original Github.exe file was appearing again when I searched up 'Github' (I had it hidden so I could easily click the .bat version) So yeah, it seemed to work just fine now, and I've had no issues since. You may have to go through one or two troubles with some stuff being reset, but no data will be lost, and only the 'user' folder will be changed by it's name. Hope this helps someone! :D

@ghost
Copy link

ghost commented Mar 31, 2023

O meu github desktop nao estava abrindo tentei resolver de todas as formas possiveis,
mais nao consegui entao eu com odio reinstalei o windows 11 e funcionou agora eu estou usando normalmente a versao 3.2.0. obrigado pela atencao haha

@AyushBhagat151105
Copy link

hii coders i have problem to open GitHub desktop app its showing this error in EventLog

45187 Application Error Faulting application name: GitHubDesktop.exe, version: 3.3.8.0, time stamp: 0x651560bd...

Please help me to Solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation-needed Likely bugs, but haven't been reliably reproduced by a reviewer windows Issues specific Desktop usage on Windows
Projects
None yet
Development

No branches or pull requests