Windows Server 2003

Change the Telnet Banner

How can I change the Telnet banner seen when connecting to my Windows Server 2003 server via Telnet?

MS KB article 245095 has more:

When you use Telnet to connect to the a Windows 2000/2003-based server the following banner is displayed:

Sponsored Content

What is “Inside Microsoft Teams”?

“Inside Microsoft Teams” is a webcast series, now in Season 4 for IT pros hosted by Microsoft Product Manager, Stephen Rose. Stephen & his guests comprised of customers, partners, and real-world experts share best practices of planning, deploying, adopting, managing, and securing Teams. You can watch any episode at your convenience, find resources, blogs, reviews of accessories certified for Teams, bonus clips, and information regarding upcoming live broadcasts. Our next episode, “Polaris Inc., and Microsoft Teams- Reinventing how we work and play” will be airing on Oct. 28th from 10-11am PST.

Welcome to Microsoft Telnet Server.
C:'Documents and Settings'Administrator>

You can change your Telnet server to display a banner and run programs upon logon for all users by modifying the Login.cmd file. You can modify this file to run other programs (such as a different shell). The commands in the Login.cmd file are run for all users.

Note: You may also want to Change the IMAP4 Banner, Change the SMTP Banner or Change the POP3 Banner.

To change the prompt in the Telnet banner, follow these steps:

  1. Use any text editor (such as Notepad – see Free Notepad Replacements) to open the %SystemRoot%’System32’Login.cmd file.
  2. Modify the Telnet server banner or add the path and name of the program you want to run upon logon.

For example, you could change

​echo Welcome to Microsoft Telnet Server


​echo Welcome to Devine Telnet Server on Server: %computername%
  1. You could also add the following line at the end of the file to change the command prompt to reflect the name of the server in your Telnet session:
​prompt %computername%: $P$G
  1. Save the file, and then quit Notepad.
Welcome to Devine Telnet Server on Server: ZEUS
ZEUS: C:'Documents and Settings'Administrator>

Related articles

You might also want to read the following related articles:


Change the Telnet Server Banner and Run Programs for All Users – 245095

Related Topics:


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (0)

Leave a Reply

External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by: