Windows 10: PuTTY does not work correctly with the taskbar context menu?

22

4

When right clicking on the PuTTY icon in the Windows 10 taskbar, I get recent connections. Clicking on one of those just opens the PuTTY main page. Instead of connecting to that connection.

Is it me? How could I change that?

Michael Schmidt

Posted 2015-08-06T11:06:02.277

Reputation: 321

Answers

23

This is a known issue with PuTTY 0.65 and older on Windows 10. See PuTTY bug win10-jumplists.

It seem to be a bug in Windows 10 triggered by PuTTY using the @ sign at the beginning of its command-line arguments used in jumplist shortcuts.


A workaround for the Windows 10 bug has been implemented and was released with PuTTY 0.66:
https://git.tartarus.org/?p=simon/putty.git;a=commit;h=8bf5c1b31f1a1449d694e3604e293b0831eb2657

Download here:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Note that, it won't magically fix existing pinned sites. You have to re-pin them.

Martin Prikryl

Posted 2015-08-06T11:06:02.277

Reputation: 13 764

1Using the development snapshot fixes the problem for me. – Kristoffer – 2015-08-12T14:10:34.380

1It is still broken for me. – hsmiths – 2015-08-18T00:00:17.377

2correction: pinned sites are broken, but recent sites work. unpin/repin fixed it. – hsmiths – 2015-08-19T03:16:48.780

1Sadly it will not work for me :(, tried "re-pinning", still no luck... – Jingo – 2015-09-15T14:04:56.580

Yes I did upgrade to the development snapshot. Edit: This is some foul magic, all of a sudden it works... I cant explain why... strange – Jingo – 2015-09-15T14:15:25.993

I didn't work for me only to download the development version, the magic word was "You have to re-pin them" - which worked like magic :D – WoodyDRN – 2015-11-04T08:53:32.667

Re-pinned with regular version worked for me. – Novocaine – 2016-01-08T10:49:12.333

Just want to throw my hat in the ring here, I updated to 0.66 but it still doesn't work for me. – Kyle – 2016-02-22T19:06:58.127

@Kyle Did you re-pin the sites? – Martin Prikryl – 2016-02-22T19:10:15.643

@MartinPrikryl, yes I did. Just want to note that using the development version is the only way I got it to work. If you use the latest stable 0.66 (which according to release notes) fixes this issue, it still does not work. However, the latest developer edition does fix the issue. – Kyle – 2016-02-22T19:11:24.150

3

I also updated to the latest version of Putty (v. 0.67) and found that it still did not work (even after re-pining). However, I realized that I had to remove all my Recent Sessions for it to work properly.

I did the following:

  • Unpin Putty from the taskbar
  • Start Putty and re-pin it to the taskbar.
  • Close Putty
  • Right-click the Putty icon on the taskbar.
  • Right-click each of the items in Recent Sessions and select Remove from this list)

This fixed it for me (all the steps might not be entirely necessary, but better safe than sorry).

KimN

Posted 2015-08-06T11:06:02.277

Reputation: 31

Actually, if you have too many pinned jumplist items then you won't see any items in the Recent Sessions list. – Robin Smidsrød – 2016-06-08T10:17:28.463

This worked for me even without the last step (putty 0.67, Windows 10) – trigras – 2016-07-11T07:47:19.460

Cannot remove recent. Does nothing. The recent sessions I don't mind, but I am not able to pin favorites so they stay at top. WHich is whole reason I investigated this. Small thing but annoying. I am sure the registry prob needs cleanup from previous installs/runs. – bshea – 2018-08-24T14:36:30.240

1

If you find yourself in the same boat as me, which is that updated versions of PuTTy do not fix this issue, you can use the following workaround that I found here:

http://www.thegeekstuff.com/2009/07/10-practical-putty-tips-and-tricks-you-probably-didnt-know/.

  • Create a new PuTTY windows shortcut
  • Rename this shortcut to your favorite name.
    • example: dev-db.
  • Right-click on this shortcut and select properties.
  • In the Target field, at the end append “-load putty-session-name”
    • example: "C:\Program Files (x86)\PuTTY\putty.exe" -load dev-db
  • Right-click the shortcut again and choose "Pin to Taskbar"
  • You can now delete or move the shortcut, if you wish

This will be an additional putty taskbar item if you already had the standard putty pinned to taskbar. Since I only use one putty session every time, I deleted the original putty taskbar pin. If you have multiple connections you want to pin, then you would repeat the above steps for each one and would probably want to change the shortcut icons for each to differentiate.

codenaugh

Posted 2015-08-06T11:06:02.277

Reputation: 151

0

To fix it you do not only have to install the later Putty version 0.66 or 067, but you have to recreate a new tile in the start menu (pin to the start menu).

Although the old tile starts putty it still opens just the main page. The new pinned putty after installing 0.67 will open the recent connections ok.

Bert van Es

Posted 2015-08-06T11:06:02.277

Reputation: 1