Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

PuTTY Command Line Argument to Change Window Title

July 2, 2024
in A, Blog, PuTTY
0
ADVERTISEMENT

Table of Contents

PuTTY Command Line Argument to Change Window Title

We need to launch PuTTY through command line argument programmatically. We’re doing this using the command as:

"C:\Program Files\PuTTY\putty.exe" -ssh -l "azureuser" -pw "6ETv5R3wYpK9119" "20.205.181.200"

Which works fine. Now we want to open the session and changed the window title of our choice. For example, “VPS01” instead of username@hostname by default.

AL3LZpwOInvcmgAaqd9TzebxN7vIRhN1pW40o050J34LstVpyTlzt1QxZKDP

We know this can be done using Disable remote-controller window title changing and setting Window Title from GUI in the session settings. But we don’t want to do it manually.

C9bnfHOr1rlUMAgnXRCRstZwzy75OB425uOtCqobAe0qrUUf58HzGjAjNeEg

There is any way to pass these parameters as command line argument while launching?

Change Window Title of Putty Terminal Session

Before you begin, we need to configure the “Default Settings” session and disable remote-controller window title changing. We will use this session when connecting from the command line.

1. From the PuTTY app go to Session and then load the “Default Settings” session.

3N75ZvbrGvEABBFmbvoHagclRHDkEAgJMPeConLonAaXp14ga4HwTSKEst1X

2. Next, from Terminal → Features, select the checkbox Disable remote-controlled window title changing option.

NEZUmMMmeF3fdoec6TR7GDT8dvvjgY1lpY8J5ieFNzxd5PHHpsvswRg27l1Z

3. Go back to Session category and select the Default Settings session in the session list. Then click on the Save button in the right side. 

Note Note: This step is very important, if you don't select the session and click Save. The changes won't save and the next time when you open a remote connection, everything will be reverted by default.
FLIyzOpfmLevDvFpAckU63MDv9jCqTo6yeFkvRGJQJM8ZRNTQgtWV9Wfy9i9

Now you can load the SSH session with PuTTY using the command line from that same computer but append the -loghost “VPS01” for the title of the terminal window to have that value in it instead.

"C:\Program Files\PuTTY\putty.exe" -ssh -load "Default Settings" -loghost "VPS01" -l "azureuser" -pw "6ETv5R3wYpK9119" "20.205.181.200"
yL4g4u3LSsLvSYi4Bbv6XBonpYrLXmVfLn0HoKvd5OlfxyIG0joCKdYM9ZOr
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Set SSH PuTTY Window Title As IP Address or Hostname

Next Post

How to Set the PuTTY Window Size to Open Bigger Than the Default

Related Posts

Images Hidden Due To Mature Content Settings In CivitAI

August 31, 2024

Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

August 20, 2024

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024

How to Remove The Test Mode Watermark Without Disabling Test Mode

July 28, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory