There are problem of Authentication in GitHub Desktop.
The user account has all right on the machine, he is administrator.
No problem with git “bash” for Windows x64, the GitHub verification window is opened and in the browser too:
First launch in C:\Users\USER\AppData\Roaming\GitHub Desktop\logs file:
error: [main] Failed inserting bin path into PATH environment variable
Error: Could not find PATH environment variable
at q (C:\Users\USER\AppData\Local\SquirrelTemp\webpack:\app\src\lib\process\win32.ts:26:9)
at Q (C:\Users\USER\AppData\Local\SquirrelTemp\webpack:\app\src\main-process\squirrel-updater.ts:54:19)
at C:\Users\USER\AppData\Local\SquirrelTemp\webpack:\app\src\main-process\squirrel-updater.ts:39:38
info: [main] Received possible protocol arguments: 2
error: [main] Malformed launch arguments received: C:\Users\USER\AppData\Local\GitHubDesktop\app-2.6.2\GitHubDesktop.exe,–squirrel-firstrun
Try to add authentification: File -> Options -> Accounts - > Github.com Sign in -> Continue with browser:
- https://i.ibb.co/X344NF1/2-github-desktop-authentication-failed-connection-problem.png
- https://i.ibb.co/qsTDrXj/3-github-desktop-file-options-accounts.png
- https://i.ibb.co/8DWzq9f/4-github-desktop-file-options-accounts-sign-in-using-your-browser-before-continue-with-browser.png
- https://i.ibb.co/94gmqz1/5-github-desktop-file-options-accounts-sign-in-using-your-browser-after-continue-with-browser.png
info: [ui] [SignInStore] initializing OAuth flow
info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=CLIENTID&scope=repo%20user%20workflow&state=STATE
info: [main] Received possible protocol arguments: 3
error: [main] Malformed launch arguments received: C:\Users\USER\AppData\Local\GitHubDesktop\app-2.6.2\GitHubDesktop.exe,–allow-file-access-from-files,x-github-desktop-auth://oauth?code=CODE&state=STATE
info: [main] Received possible protocol arguments: 2
error: [main] Malformed launch arguments received: C:\Users\USER\AppData\Local\GitHubDesktop\app-2.6.2\GitHubDesktop.exe,x-github-desktop-auth://oauth?code=CODE&state=STATE
The problem is not new.
GitHub Desktop has been removed from “Programs and Features” in Windows.
Reinstalled, removed again…
Same for GitHub Desktop folders:
- C:\Users\USER\AppData\Local\GitHubDesktop
- C:\Users\USER\AppData\Roaming\GitHub Desktop
- C:\Users\USER\AppData\Local\SquirrelTemp