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 over 100 PuTTY sessions saved, and I wanted to increase my Lines of Scrollback from 200 to something higher like 5000.

I know how to do this manually, one by one. However I don't want to spend my whole day doing this, does anyone know how to do it in a faster manner?

share|improve this question
up vote 1 down vote accepted

From Windows PowerShell run the following command

Get-ItemProperty -Path HKCU:\Software\SimonTatham\PuTTY\Sessions\* | foreach-object {set-itemproperty -path $_.pspath -name ScrollbackLines -value "5000"}
share|improve this answer

Maybe this helps:

enter image description here

The registry location is


Don't know how to automate it (yet). Short on time.

share|improve this answer
My method for doing it quickly was just to export that portion of the registry, and do a search and replace with a text editor on the .reg file, then re-import. – Zoredache May 23 '12 at 18:40

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.