≡ Menu

Putty Connection Manager in Windows 7

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 FilesPutty Connection Managerputtycm.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_USERSoftwareSimonTathamPuTTYSessions’ 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 FilesPutty 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

{ 34 comments… add one }
  • Mike D September 15, 2011, 4:36 pm

    Thanks,
    This was driving me crazy.

  • badger7045 December 1, 2011, 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, 7:54 am

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

  • tyler December 12, 2011, 5:11 pm

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

  • Thomas February 24, 2012, 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_USERSoftwareACSPuTTY Connection ManagerDockLayout

    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, 2:04 pm

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

    • Shane December 9, 2014, 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!!

    • Pravin June 19, 2015, 10:36 am

      Hi Thomas, I cant thankyou enough for this fix, its brilliant. I’ve been struggling with it for so long eventually giving up and living with a beta exe version loading it up on the fly. But now its working like a charm. Thanks a zillion !!!

      Pravin

    • Keith October 17, 2017, 3:45 pm

      Thanks for the suggestion. Could you update with your Value Data. for a quick copy paste fix? Thanks

    • LISA G HUTCHISON January 23, 2018, 10:12 pm

      I went into registry and deleted the whole Registery key
      PuTTY Connection Manager out of HKEY_CURRENT_USER\Software\ACS (had to search to find it in Registry.
      My Puttycm is now coming up and not disappearing anymore. I have been fighting this for several months, even using the run as administrator was not enough. Thank you!

  • Monica March 12, 2012, 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, 2:16 am

      1) Download and install a new putty (//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, 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, 9:30 pm

      HI Corey,

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

      usman.

    • Abhishek October 3, 2012, 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?

      -Abhishek

    • Lorenzo February 26, 2014, 12:34 pm

      I have the same problem, any news about?

    • Thomas Gronke April 15, 2014, 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, 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.
    Thanks

    • admin May 22, 2012, 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, 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, 7:43 am

    Thanks for the solution boss!!

  • teyteyley July 28, 2012, 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_USERSoftwareSimonTathamPuTTYSessions’ does not exist)

  • zaman September 13, 2012, 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_USERSoftwareSimonTathamPuTTYSessions’ does not exist)”

    Please give me the solution if anyone knows.

  • RameX February 12, 2013, 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, 9:16 pm

    Thank you. This really helped.

  • diwa August 25, 2013, 4:15 pm

    Hi

    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, 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, 6:16 pm

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

  • Madhu October 19, 2013, 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, 11:30 am

    Great!!!

  • Erik August 19, 2014, 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, 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.

    Regards,

    Erick

  • Ed January 9, 2016, 4:28 pm

    I am having an issue with putty cm ver 0.7.1 beta(build 136) I enter my login and then it asks for my password and I continue to get “access denied” Userid and password are correct.. Any thoughts???

  • enix September 13, 2017, 11:20 pm

    Thanks a lot , worked for me on Win 10 with the old 0.7 version of PuttyCM

Leave a Comment