Skip to content

Instantly share code, notes, and snippets.

@kamermans
Created March 4, 2020 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamermans/adae2aae83b60e20b399744d56156877 to your computer and use it in GitHub Desktop.
Save kamermans/adae2aae83b60e20b399744d56156877 to your computer and use it in GitHub Desktop.
Fixes the dreaded "Pageant is already running" error by killing the conflicting gpg-agent that prevents PuTTY Pageant from starting.
@ECHO OFF
ECHO Killing orphaned pagaent instances...
taskkill /IM "gpg-agent.exe" /F
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment