Reset PuTTY to Default Settings
Restore PuTTY to factory defaults and fix configuration issues
Why Restore PuTTY Defaults?
You might want to reset PuTTY to default settings when:
- Configuration errors: Settings are corrupted or causing connection issues
- Fresh start: Want to reconfigure from scratch
- Troubleshooting: Eliminate custom settings as the cause of problems
- Clean transfer: Remove all traces before handing over a computer
- Testing: Compare default behavior vs custom configuration
- Learning: Start fresh to understand what each setting does
⚠️ Important: Resetting PuTTY will delete ALL saved sessions, host keys, and custom settings. Always backup first!
Backing Up Before Reset
Method 1: Registry Export (Windows)
- Open Registry Editor:
- Press
Win + R
- Type
regedit
and press Enter - Click "Yes" if prompted by User Account Control
- Press
- Navigate to PuTTY Settings:
- Go to:
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
- Go to:
- Export the Configuration:
- Right-click on "PuTTY" folder
- Select "Export"
- Save as:
PuTTY-Backup-2025-10-14.reg
- Choose a safe location (Documents, cloud storage)
To Restore: Double-click the .reg file to import your settings back.
Method 2: Using PuTTY Session Manager
Third-party tools like SuperPuTTY or mTPuTTY often have built-in export/import features:
- File → Export Sessions
- Save to XML or JSON format
- Easier to view and edit than registry files
Reset Methods
Method 1: Delete Registry Keys (Complete Reset)
⚠️ Warning: This permanently deletes all PuTTY configuration. Backup first!
- Open Registry Editor:
- Press
Win + R
, typeregedit
- Press
- Navigate to PuTTY:
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
- Delete PuTTY Folder:
- Right-click on "PuTTY"
- Select "Delete"
- Confirm the deletion
- Close Registry Editor
- Restart PuTTY:
- Launch putty.exe
- It will start with factory default settings
- New registry entries will be created automatically
Method 2: Reset Individual Sessions
To reset specific sessions without deleting everything:
- In PuTTY Configuration:
- Launch PuTTY
- Select the session you want to reset
- Click "Load"
- Load Default Settings:
- Click "Default Settings" in the session list
- Click "Load"
- This resets all options to defaults
- Reconfigure as Needed:
- Enter hostname/IP
- Adjust any specific settings you need
- Save:
- Enter session name
- Click "Save"
Method 3: Using PowerShell Script
Automate the reset process with PowerShell:
# PowerShell script to reset PuTTY
# Run as Administrator
# Backup first
$backupPath = "$env:USERPROFILE\Documents\PuTTY-Backup-$(Get-Date -Format 'yyyy-MM-dd').reg"
reg export "HKCU\Software\SimonTatham\PuTTY" $backupPath
Write-Host "Backup saved to: $backupPath"
# Delete PuTTY registry keys
Remove-Item -Path "HKCU:\Software\SimonTatham\PuTTY" -Recurse -Force
Write-Host "PuTTY settings have been reset to defaults."
Write-Host "Restart PuTTY to create fresh configuration."
Method 4: Clean Reinstall
- Uninstall PuTTY (if installed via installer)
- Delete registry keys as shown in Method 1
- Delete PuTTY folder (usually
C:\Program Files\PuTTY
) - Download fresh copy from putty.org
- Install or extract to clean directory
- Launch with default settings
Reverting Specific Configuration Changes
Reset Window Appearance
If you just want to reset visual settings:
- Load "Default Settings"
- Go to Window → Appearance
- Note default font: typically Courier New, 10-point
- Window → Colours: Use default color scheme
- Save to your session
Reset SSH Settings
To reset SSH configuration without losing sessions:
- Connection → SSH: Use SSH-2 only (default)
- Connection → SSH → Auth → Credentials: Remove private key file
- Connection → SSH → Tunnels: Remove all port forwards
- Connection → Data: Clear auto-login username if you want password prompts
Reset Host Keys
If you're having host key verification issues:
- Open Registry Editor
- Navigate to:
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys
- Delete Specific Key:
- Find the entry for your server
- Right-click and delete
- Next connection will prompt for new host key
- Or Delete All:
- Delete entire "SshHostKeys" folder
- All servers will require host key acceptance
Restoring from Backup
From Registry Export
- Locate your backup .reg file
- Double-click the file
- Click "Yes" when prompted
- Click "OK" to confirm import
- Restart PuTTY to load restored settings
Selective Restore
To restore only specific sessions:
- Open the .reg file in a text editor
- Find the session you want to restore
- Copy that section to a new .reg file
- Import the new file
Common Default Settings
Setting | Default Value |
---|---|
Port | 22 (SSH) |
Connection Type | SSH |
Terminal Rows | 24 |
Terminal Columns | 80 |
Font | Courier New, 10-point |
Scrollback Lines | 2000 |
Character Set | UTF-8 |
Close Window on Exit | Only on clean exit |
SSH Protocol | 2 only |
Keepalive Seconds | 0 (disabled) |
Troubleshooting Reset Issues
Settings Not Resetting
Possible causes:
- Registry keys not fully deleted
- PuTTY still running in background
- Permissions issue preventing deletion
Solutions:
- Close all PuTTY windows completely
- Check Task Manager for putty.exe processes
- Run Registry Editor as Administrator
- Reboot and try again
Can't Access Registry
Solutions:
- Run regedit as Administrator
- Check if your account has admin privileges
- Use portable PuTTY version that doesn't use registry
- Ask IT department for assistance (corporate environment)
Backup Won't Restore
Possible causes:
- Corrupted .reg file
- Different Windows version
- Different PuTTY version
Solutions:
- Open .reg file in text editor to verify contents
- Try importing from a different backup
- Manually recreate sessions if necessary
- Use PuTTY Connection Manager for better backup/restore
Best Practices
- ✅ Backup regularly, especially before major changes
- ✅ Name backups with dates for version control
- ✅ Store backups in cloud storage for access anywhere
- ✅ Test backups by restoring to a different machine
- ✅ Document custom settings in session notes
- ✅ Keep a "clean default" session for reference
- ✅ Use descriptive session names to avoid confusion
- ❌ Don't delete registry keys without backing up first
- ❌ Don't share backup files with private key paths
- ❌ Don't reset if a simple setting change will fix the issue
Alternative: Portable PuTTY
Consider using portable PuTTY to avoid registry dependencies:
- No registry entries - settings stored in files
- Easy to backup (just copy folder)
- Run from USB drive
- Multiple instances with different configurations
- Easier to reset (delete settings file)