How to Change PuTTYs Default Settings [Windows]
Every time I launched PuTTY, I had to either manually set the colours and the lines of scroll back, or create a profile just to save the settings I desired.
PuTTY stores its settings in the registry. Here’s a short tutorial on how you can modify PuTTYs registry settings to change its default startup values.
Change PuTTYs Default Startup Values
Let’s, for this tutorial, increase the default “Lines of scrollback” (default value is 200)
Note: Before modifying the registry, ALWAYS make a backup.
- Go to Run (Win+R), type regedit and press enter.
- In the registry editor, press Ctrl+F to bring up the search box and search for SimonTatham
- Expand the result SimonTatham > PuTTY > Sessions
- Click on Default%20Settings. Scroll down on the right pane until you find the value ScrollbackLines
- Double click on ScrollbackLines and change its value to 20000. Make sure you click the decimal radio button before modifying the value.
- Press OK and you are done. Launch PuTTY and observe the default settings.
I use this trick to change the default number of “lines of scrollback”, and the “use system colours” settings, but there’s a whole lot of settings you can change. Eliminates the need to change those parameters for every connection manually every time. :)




October 30, 2010 - 3:51 pm
Very useful.
Though I was not able to see the Default%20Settings node under Putty. I used the find command to find that key. If someone has the same difficulty then you can use the same technique :)
October 30, 2010 - 4:48 pm
Hi Balachander,
So you were unable to see a “Default Settings” saved session in Putty but it was present in the registry? That’s kinda strange. :p
-Sid
May 25, 2011 - 6:10 pm
You need to create the registry key. otherwise just copypaste below code in a text file and save with name “myputty.reg”. now double click over the file and it will set all the required scroll line value and enable the logging of session as well.
——————————————————–
Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-1417001333-1682526488-839522115-402023\Software\SimonTatham\PuTTY\Sessions\Default%20Settings]
“ScrollbackLines”=dword:05f5e0ff
“LogFileName”=”c:\\puttylogs\\&H_&D&M&Y_&T.log”
“LogType”=dword:00000002
——————————————————
- sandeepludhianvi
October 11, 2011 - 1:49 pm
My Putty shows ‘Default Settings’ but it is not available in Registry.
For every saves session, I changed the suggested setting but it is still using only 200 lines.
What should I do to resolve this?
October 17, 2011 - 1:43 am
Hi Vikas,
Try the following:
1. Open putty.
2. Go to the preferences and change the lines of scrollback to a greater value like 2000.
3. Go to session. Click on “Default Settings” and press “Save”.
That should do it. :)
Do let me know if that worked.
-Sid
December 30, 2011 - 11:38 am
Thanks you, I can change the default color and font of PuTTY now.