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?


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"}

Maybe this helps:

enter image description here

The registry location is


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

  • 2
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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