Backup and restore PuTTY sessions

PuTTY saves the sessions and settings to Windows Registry, the backup can be made with graphical interface via Registry Editor or with Command Prompt.

Keys to backup
All = HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
Sessions = HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions


Registry Editor
1. Open Registry Editor, press ⊞ Windows key + R and type regedit
2. Browse to the PuTTY key, right click and select “Export”.

Command Prompt
1. Open Command Prompt (cmd.exe) as Administrator and type the following commands.
2. Backup all

regedit /e C:\putty.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY

3. Backup only sessions

regedit /e C:\putty-sessions.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\


Open the saved .reg file or type the import command in Command Prompt ( as Administrator)

regedit /i c:\putty.reg

Guake style terminal with Putty in Windows

Drop-down terminal with Putty in Windows
Drop-down terminal with Putty in Windows

Guake is a drop-down terminal inspired from video games (like Quake) for Linux GNOME environment, the main feature it’s that a hotkey brings up the terminal window wherever you are on the desktop, it’s a fast way to access your terminal. We will setup this feature on Microsoft Windows with AutoHotkeyPutty and putty-quake-terminal autohotkey script.

1. Download and install AutoHotKey
2. Download Putty (putty.exe) and copy to C:\Windows
3. Download putty-quake-terminal and unzip
4. (Optional) Edit putty-quake-console.ini and modify settings
5. Launch putty-quake-console.ahk, login with Putty and press the hotkey (default F12) to toggle.

Optional ( with auto login )

When starting putty-quake-console.ahk Putty will pop-up and you need to select a session, if you would like to auto login go to /microsoft/windows/ssh-auto-login-with-putty-from-windows/ select a method and modify putty_args from putty-quake-console.ini.