Skip to content

Crash on startup: Failed to read shortcut link (find-toast-activator-clsid.ts) #22184

Closed as not planned

Description

@fastfingertips

The problem

Describe the bug
When trying to open GitHub Desktop, the application fails to launch. The mouse cursor shows a brief loading animation, but the UI never appears. The process terminates in the background. According to the logs, it crashes consistently while trying to read the shortcut link to find the toast activator CLSID.

Expected behavior
The application should launch normally. If a shortcut is missing or broken, it should fallback gracefully without crashing the main process.

Actual behavior
The application crashes completely before showing any UI.

Troubleshooting steps taken (none resolved the issue):

  • Killed all background processes (taskkill /F /IM GitHubDesktop.exe /T).
  • Completely uninstalled GitHub Desktop and Git.
  • Cleared all cache by deleting %appdata%\GitHub Desktop and %localappdata%\GitHubDesktop.
  • Reinstalled the latest version.
  • Deleted the shortcuts from Desktop and Start Menu manually and forcefully via CMD (rmdir "%appdata%\Microsoft\Windows\Start Menu\Programs\GitHub, Inc" /s /q).
  • Attempted to run GitHubDesktop.exe directly from the app-3.5.10 folder as Administrator.

Logs

2026-05-25T12:35:08.180Z - error: [main] Error looking for toast activator CLSID in shortcut C:\Users\[USERNAME]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\GitHub, Inc\GitHub Desktop.lnk`
`Error: Failed to read shortcut link`
    at le (C:\Users\[USERNAME]\AppData\Local\GitHubDesktop\app-3.5.10\webpack:\app\src\lib\find-toast-activator-clsid.ts:38:35)`
    at C:\Users\[USERNAME]\AppData\Local\GitHubDesktop\app-3.5.10\webpack:\app\src\lib\find-toast-activator-clsid.ts:26:33`
    at C:\Users\[USERNAME]\AppData\Local\GitHubDesktop\app-3.5.10\webpack:\app\src\main-process\notifications.ts:28:32`
    at C:\Users\[USERNAME]\AppData\Local\GitHubDesktop\app-3.5.10\resources\app\main.js:2:240126`
    at Object.<anonymous> (C:\Users\[USERNAME]\AppData\Local\GitHubDesktop\app-3.5.10\resources\app\main.js:2:240153)`
    at Module._compile (node:internal/modules/cjs/loader:1769:14)

Release version

3.5.10

Operating system

Windows 10

Steps to reproduce the behavior

  1. Launch GitHub Desktop from any shortcut or directly via the .exe file.
  2. Observe a brief loading cursor.
  3. Notice that the application UI never appears and the process silently crashes in the background.
  4. Check the logs and see the "Failed to read shortcut link" error.

Activity

  1. fastfingertips commented on May 25, 2026

    @fastfingertips
    Author

    Update on the issue:

    After further investigation, I discovered that this is not an isolated issue with GitHub Desktop or the find-toast-activator-clsid.ts file. Another Electron-based application on my system (Obsidian) started crashing in the exact same way at the exact same time, with logs cutting off abruptly before the UI could load.

    I checked the Windows Event Viewer and found the underlying cause. Both GitHub Desktop and Obsidian are throwing an Application Error (Event ID 1000) with the following details:

    • Exception code: 0x80000003 (EXCEPTION_BREAKPOINT)
    • Faulting module path: C:\Users\[USERNAME]\AppData\Local\GitHubDesktop\app-3.5.10\GitHubDesktop.exe

    The Workaround:
    I was able to successfully launch both GitHub Desktop and Obsidian by bypassing the Chromium sandbox environment. Running the following command via CMD or shortcut target works perfectly:
    GitHubDesktop.exe --no-sandbox

    Conclusion:
    It appears the initial crash log regarding the shortcut/toast activator was a red herring (or just the last thing logged before the fatal crash). The root cause seems to be a system-level conflict preventing Electron/Chromium from establishing its sandbox environment, forcing the process to terminate.

    I am leaving this information here in case other users experience the same 0x80000003 silent crash on startup, or if it helps the team track upstream Electron sandbox issues.

  2. niik commented on May 29, 2026

    @niik
    Member

    Thanks for the detailed report and troubleshooting steps! The error you're seeing in the logs (Failed to read shortcut link in find-toast-activator-clsid.ts) is actually informational — it's logged but shouldn't cause the application to crash or prevent it from launching.

    This means there's likely something else going on that's preventing the app from starting. A couple of questions that would help us investigate:

    1. Is that the only error appearing in your log file, or are there additional errors after that line? The full log file can be found at %appdata%\GitHub Desktop\logs.
    2. Could you check Windows Event Viewer (Application and System logs) around the time you try to launch GitHub Desktop? There may be a crash or fault entry there that gives us more information about what's actually terminating the process.
  3. added
    more-info-needed
    and removed on May 29, 2026
  4. zexai-netizen commented on May 29, 2026

    @zexai-netizen

    We can fix the GitHub Desktop startup crash. Our approach:

    • Investigate the shortcut link reading failure
    • Add graceful fallback when shortcut is missing/broken
    • Verify the app launches without crashing
    • Test on Windows 10 environment

    Let us know if you need help!

  5. BurntToasters commented on May 29, 2026

    @BurntToasters

    I also had this issue and was able to fix it.

    It doesn't have anything to do with GitHub desktop (at least for me), but instead Google Antigravity and a bug with its sandbox. Over on the electron repo: electron/electron#51761 (comment)

    At first, I thought this problem was from a Windows update. But yesterday, after I already reset the DACL, I used Antigravity IDE and found an unknown SID starting with S-1-15-2-* in %LOCALAPPDATA% again. It made the app crash at launch again.

    I searched this SID in regedit. It belongs to Antigravity Sandbox. (Does this mean it is a zombie/orphaned SID?) Interestingly, even though this SID is inside AppContainer\Mappings\ and shows it belongs to Antigravity, it still makes Antigravity itself crash.

    I tried to reproduce this. It does not happen every time, but I successfully did it 2 times. The steps are: when the AI agent runs a command via Shell in Antigravity, I click "Stop" to force interrupt it. After I close and reopen the app, it cannot start. Then I check DACL, and the unknown SID is there.

    When I checked the SIDs in %LOCALAPPDATA% for the first time, there were 6 unknown SIDs. I didn't search regedit at that time, I only took screenshots. Now, if I search those 6 SIDs in regedit, I can find nothing.

    I'm curious if anyone else still sees unknown SIDs in your folder, and if they show up in regedit. Or are they also totally orphaned SIDs on your side?

    I saw and followed this persons comment and went in and painstakingly fixed my apps SIDs in %localappdata%\Programs and github desktop and other electron apps that previously stopped working, started working again! I wasn't able to open GH Desktop, Cursor, my own Electron-made apps, etc that were stored in the %localappdata%\Programs area.

    For me, after poking around in PowerShell I found the Bad SID for my system to be S-1-15-2-1488298017-792421-3523360728-3143128127-3211423981-1280873604-3041194907 but im not sure it would be the exact same for others.

    I fixed the broken SIDs with a quick and dirty powershell script:

    See Script (Caution: This script is destructive for ACL permissions; use at your own risk.)
    $programs = Join-Path $env:LOCALAPPDATA "Programs"
    $backup = Join-Path $env:TEMP ("localappdata-programs-acl-backup-{0}.txt" -f (Get-Date -Format "yyyyMMdd-HHmmss"))
    
    # This was the bad SID on my machine.
    # I am not sure whether it is the same for other users.
    $badSid = "S-1-15-2-1488298017-792421-3523360728-3143128127-3211423981-1280873604-3041194907"
    
    if (Test-Path $programs) {
        Write-Host "Backing up ACLs to: $backup"
        icacls "$programs" /save "$backup" /T /C
    
        Write-Host "Checking for the bad SID before reset:"
        icacls "$programs" /findsid "*$badSid" /T /C
    
        Write-Host "Resetting ACLs under: $programs"
        icacls "$programs" /reset /T /C
        # Caution: /reset /T can remove custom explicit ACLs under this directory.
    
        Write-Host "Granting RX to ALL RESTRICTED APPLICATION PACKAGES:"
        icacls "$programs" /grant "*S-1-15-2-2:(OI)(CI)(RX)" /T /C
    
        Write-Host "Done."
        Write-Host "ACL backup saved at: $backup"
    }
    else {
        Write-Host "Path not found: $programs"
    }

    After running the script I could immediately use GitHub desktop and other electron apps again.

    Just wanted to share my findings in-case anyone else has Google Antigravity installed and has this issue too :)

  6. bentrop commented on May 30, 2026

    @bentrop

    I’ve also fallen victim to the recent Google Antigravity update, it broke every single Electron based install on my system.

    From what I can tell, it simply added this rogue SID to every single subfolder under %localappdata%.
    So simply scrubbing this from those folders felt like the much more sensible solution, I just ran

    icacls "%localappdata%" /remove *S-1-15-2-mine-actually-was-different-so-put-yours-here /T /C

    ... that restored everything back to normal.

  7. fastfingertips commented on Jun 1, 2026

    @fastfingertips
    Author

    Thank you for the updates and information.

    @niik As mentioned previously, the Event Viewer confirmed the 0x80000003 (EXCEPTION_BREAKPOINT) error. It is now clear that this was not a bug within GitHub Desktop.

    @BurntToasters @bentrop Your findings were accurate. Google Antigravity had injected orphaned S-1-15-2-* SIDs into the root of the %LOCALAPPDATA% directory. This cascaded to subfolders and broke the sandbox environment for all Electron-based applications on my system.

    For documentation purposes, I used the following PowerShell script (run as Administrator) to dynamically identify and remove all rogue SIDs from the directory:

    $badSids = (icacls "$env:LOCALAPPDATA" | Select-String -Pattern '(S-1-15-2-\d+(-\d+)+)' -AllMatches).Matches.Value | Select-Object -Unique; if ($badSids) { $badSids | ForEach-Object { Write-Host "Cleaning $_ ..."; icacls "$env:LOCALAPPDATA" /remove "*$_" /T /C /Q } } else { Write-Host "No rogue SIDs found." }

    After the cleanup process and a system reboot, GitHub Desktop and other Electron applications are launching normally without requiring the --no-sandbox flag.

    Since this is confirmed to be an external software conflict (Google Antigravity sandbox issue) and the fix is verified, I am closing this issue.

  8. removed
    more-info-needed
    on Jun 1, 2026
  9. nrongkron0823f commented on Jun 27, 2026

    @nrongkron0823f
  10. mirsalimorteza4-hub commented on Aug 21, 2026

    @mirsalimorteza4-hub
  11. Sal430 commented on Oct 9, 2026

    @Sal430

    Sa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions