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:
Say Goodbye to Traditional PC Lifecycle Management
Traditional IT tools, including Microsoft SCCM, Ghost Solution Suite, and KACE, often require considerable custom configurations by T3 technicians (an expensive and often elusive IT resource) to enable management of a hybrid onsite + remote workforce. In many cases, even with the best resources, organizations are finding that these on-premise tools simply cannot support remote endpoints consistently and reliably due to infrastructure limitations.
*========================================================== 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.
To change the prompt in the Telnet banner, follow these steps:
- Use any text editor (such as Notepad – see Free Notepad Replacements) to open the %SystemRoot%’System32’Login.cmd file.
- 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%
- 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
- Save the file, and then quit Notepad.
*========================================================== Welcome to Devine Telnet Server on Server: ZEUS *========================================================== ZEUS: C:'Documents and Settings'Administrator>
You might also want to read the following related articles:
- Block Incoming Internet Mail to Specific Users or Groups
- Change the IMAP4 Banner
- Change the POP3 Banner
- Change the SMTP Banner
- Configure IIS to be a Smart Host for Exchange
- Configure MX Records for Incoming SMTP E-Mail Traffic
- Message Protocols Used by Exchange 2000/2003
- Ports used by Exchange Server
- Preventing Exchange 2000/2003 from Relaying
- Quickly Send Email Messages
- Remote Version Checking through SMTP/POP3/IMAP4
- Send Mail from Script
- Send Mail (from the Tools and Scripts section)
- SMTP, POP3 and Telnet in Exchange 2000/2003
- Test SMTP Service in IIS and Exchange