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‘.
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‘
- 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.