Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have nearly 50 sessions saved in PuTTY to connect to different servers. Now I want to configure the behaviour for all the servers. How can I do it?

These configurations should reflect to all the saved sessions.

share|improve this question

Here is a method which involves some effort, but is much easier than recreating all 50 sessions.

Use with caution!

  1. Make a copy of your current PuTTY settings:

    Start Menu > Run then enter the following:

    regedit /e putty.reg "HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions"

    putty.reg is now saved in C:\Documents and Settings\{yourusername} - rename it to putty_older.reg, putty_backup.reg, whatever you prefer.

  2. Using the PuTTY GUI, load one session (i.e. your first one), make all desired changes and save the session.

  3. Repeat step #1 so you have a new copy of putty.reg.

  4. (Optional, could be done manually) Open both files (putty.reg and putty_backup.reg) in WinMerge and you have a complete line-by-line record of all the changes you just made.

  5. The changes will look something like this:

  6. Use your favorite text editor to find/replace all for the old value. E.g.

    "TermWidth"=dword:'_default setting_'
    *(the original code)* - replace with:
    *(the new setting)*
  7. After saving the new version of putty.reg, double-click and confirm you want to import into the registry.

The above method was tested with five sessions and worked fine.

share|improve this answer

You can't do this with PuTTY as it is right now.

However, if the sessions differ only by the adddress (user/host/port), you can just have one default session, and put the address in PuTTY's command line options. You can create 50 shortcuts on your Desktop - one for each host; or connect through Start -> Run, or through Command Prompt.

putty joe@joesbox.domain.tld
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.