Putty Connection Manager in Windows 7

by admin on September 7, 2011

I have recently upgraded my Windows XP computer to Windows 7.  I use Putty connection manager to connect to Linux servers. It provides tabbed Putty sessions for connecting to Telnet/SSH servers.  This tool has some issues specific to Windows 7 OS.

I   had saved the database file before upgrading to Win7 and imported the connections to Puttycm in Windows 7.  Everything worked fine in the first launch.  I was able to connect to the servers using the imported connection settings.  But when I closed the Puttycm and launched it again, it  had thrown the error  ‘An unexpected error occurred.  Access to C:\Program Files\Putty Connection Manager\puttycm.log’  is denied‘.

Putty connection manager error in Windows 7

I clicked on  OK,  then it opened puttycm.log which showed error message like below.

9/7/2011 11:09:50 AM:Unable to find PuTTY sessions (registry key ‘HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions’ does not exist)

I solved this problem by launching Puttycm with administrator privileges.  For this, you can do the following.

  • Open the properites of Puttycm.exe(Right click on Puttycm shortcut in Start menu or the file can be found in “C:\Program Files\Putty Connection Manager\” or “C:\Program Files (x86)\PuTTY Connection Manager“).
  • Click on the tab ‘Compatibility

Run Putty connection manager with administrator privileg eon Windows 7

  • Elevate the privilege by selecting the check button ‘Run this program as an administrator‘.  Click Apply and OK buttons.

 Other issues with Putty Connection Manager in Windows 7:

When you minimize PuttyCM, it disappears and clicking on the system tray icon won’t bring back the window. You can solve this issue by disabling the feature ‘Hide when minimized‘ in Tools -> Options -> General.

Related Posts:

Putty: How to logon to ssh server without password

{ 29 comments… read them below or add one }

Mike D September 15, 2011 at 4:36 pm

This was driving me crazy.


badger7045 December 1, 2011 at 9:06 pm

When I try to connect multiple (4) connection externally, the login macro does not work on 1 or 2 of them, so I have to login manually.

Can anyone explain the Macro Options?


Mvbrakel December 7, 2011 at 7:54 am

If this fix doesn’t work delete the registry keys for puttycm


tyler December 12, 2011 at 5:11 pm

in putty 0.60 is there any way to add hot keys with text strings?


Thomas February 24, 2012 at 7:12 pm

** PuttyCM doesn’t display on desktop or maximize after closing from taskbar **

First of all, this is great software. Someone spent a lot of time, effort, and brain power on this, and it’s FREE, so I’m giving credit where credit is due. A big thank you to the developer. On to the problem/solution.

I closed PuttyCM by right-clicking on the icon on the Windows 7 (64 bit) taskbar and clicking close, rather than closing from within the app. After that I couldn’t get Putty to display/maximize when reopening. It just showed as an icon on the taskbar and icon in the tray but I could never get it to show on the desktop. Clicking on the icon(s) and Alt-Tab simply didn’t work.

I fixed this by manually modifying the following registry key:

HKEY_CURRENT_USER\Software\ACS\PuTTY Connection Manager\DockLayout

The value is an xml, I deleted everything b/w the opening and closing “DockWindows” tags, and that fixed it. What I deleted were a bunch of repeating “DockWindow” elements containing window docking position info that must’ve been messed up. As always, be extremely careful when modifying registry values. I saved the original value to a file before making the change.

I also set key SaveDisplayConfig to zero (same as unchecking “Remember display configuration” in Tools/Options/General), hopefully as a safeguard. I notice there is also a “Reset layout” button under Tools/Options/Other.

Bottom line, I will not be closing this app by right-clicking on the taskbar icon and selecting “Close window”.


Johnni February 6, 2014 at 2:04 pm

Go in Tool – options – general
delete checkmark in “hide when minimixed”

Shane December 9, 2014 at 10:14 pm

Brilliant!!! Thanks Thomas. This has been killing me for weeks now. I had to resurrect an old notebook just for Putty – painful!!!

New Rule: No Right Clicking to Close!!

Monica March 12, 2012 at 4:03 pm

I downloaded PuttyCM for Win 7 and imported my connections from Win XP. But now I am getting this error:
Unable to open connection to X Host does not exist.


José Ricardo Feliz October 10, 2013 at 2:16 am

1) Download and install a new putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)

2) Remove the old putty. (Usually in C:\putty.exe, C:\Program Files (x86)\putty.exe or the place where did you put it :) )

3) Execute Putty Connection Manager, it’ll ask you the putty path again (as asked when you install PuttyCM at 1st time)*, configure the putty path again.
*If itn’t ask you, it’ll be necessary desinstall PuttyCM and putty, and install them again.

4) Test it :)

Corey April 10, 2012 at 1:53 pm

When opening a connection in Putty CM a seperate putty window also appears. Although the tab opens correctly within CM there is nothing there and my session is opened in a different putty window. I’m running Win7 with Putty CM version 0.7.1 Beta and Putty version 0.62


Usman July 5, 2012 at 9:30 pm

HI Corey,

I have the exact same issue. did you find a solution to this?
thank you,


Abhishek October 3, 2012 at 7:23 am

I am getting same problem after changing my OS from Window XP to Windows 7.
Is there any way to fix this?


Lorenzo February 26, 2014 at 12:34 pm

I have the same problem, any news about?

Thomas Gronke April 15, 2014 at 12:58 pm

In my Windows 7 SP1 set-up, I did not encounter this problem until I modified the text size (Control Panel, Display, Make it Easier to read what’s on your screen). Changing the setting from ‘smallaer – 100% (default)’ to Medium or Larger caused the error you described. If the text is too small, you’ll need to live with a lower screen resolution.

Suresh May 21, 2012 at 11:09 am

How to increase the number of autologin commands which is currently set to 5, i need to increase it to atleast 10 is that possible or do we have the source code some where to modify this, if so please help.


admin May 22, 2012 at 5:36 am

You can write all those commands in a shell script file and invoke the script in the autologin command.

Suresh May 30, 2012 at 7:34 am

I will nto be ablet o run those from the scripts, since my inital login is only a restricted shell where i cannot execute any scripts. The only option left for me is to use the auto commands, if we cna increase that by another 3 or 4 would be great.


Chalamayya June 7, 2012 at 7:43 am

Thanks for the solution boss!!


teyteyley July 28, 2012 at 9:56 am

Dear All…i’m new using PUTTYCM,
i installed on pc running win7 and get bellow error can anyone help me.

7/28/2012 12:52:20 PM:Unable to find PuTTY sessions (registry key ‘HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions’ does not exist)


zaman September 13, 2012 at 10:33 pm

Hi everyone,
I’m using windows 7. When I click on any router to connect the it gives this error”Unable to find PuTTY sessions (registry key ‘HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions’ does not exist)”

Please give me the solution if anyone knows.


RameX February 12, 2013 at 2:39 pm

I moved puttycm.log in options to folder that does not require admin access (C:\temp)
for example. so i do not need to run app all the time as admin

Tools -> Options -> Other
and change location for Debug log (well of course first time you will need to start it as Administrator, but after this change it works fine without admin Rights)


Bala May 18, 2013 at 9:16 pm

Thank you. This really helped.


diwa August 25, 2013 at 4:15 pm


I have 50 cisco device which is connect using putty manager. My problem is, i’m using my AD user/password for those connection but every 2 month password need to be changed as per the standard. IS that way to decrypt the database using any database tool for changing the update password ? because the database format is .DAT not like sql ?


José Ricardo Feliz October 10, 2013 at 2:21 am

Rename the database config to .txt or edit it with the notepad (or other text editor) and replace your password. :)

Afected user October 9, 2013 at 6:16 pm

Thanks a lot, i was about to pull my hair off :)


Madhu October 19, 2013 at 6:27 pm

I had such a big problem with Minimizing PuttyCM. I would not get up on the screen 90% of the times and I would end up killing it. I just did the tweak you mentioned and it seems to be fine so far. Fingers crossed.

Thanks so much !!


nilfa August 13, 2014 at 11:30 am



Erik August 19, 2014 at 2:23 pm

Thank you for sharing this, I’m not quite sure why you would even want a ‘hide when minimized’ option let alone set it as default.


erick January 29, 2015 at 9:30 am

Hi all,
my laptop have been re-imaged and every time I open Puttycm it doesn’t open the Dat-file correctly, it opens in Acrobat reader and I don’t know where to change the settings. In this way the program is useless.
The same file is working correctly on my workstation.




Leave a Comment

HTML tags are not allowed.

Previous post:

Next post: