JSI Tip 2385. How do I change the Windows 2000 Telnet Service greeting, prompt, etc?

Jerold Schulman

May 15, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today


The default Telnet Server greeting, prompt, and shell are controlled by the %SystemRoot%System32Login.cmd file.

The default script is:

@echo offremrem  Default global login script for the Telnet Server remrem  In the default setup, this command script is executed when therem  initial command shell is invoked.  It, in turn, will try to invokerem  the individual user's login script.remecho *==========================================================

echo Welcome to Microsoft Telnet Server.echo *

==========================================================cd %HOMEDRIVE%%HOMEPATH% /d

You can alter the echo Welcome to Microsoft Telnet Server. to echo Welcome to MyCompany Telnet Server on %ComputerName%.

You can add the following at the end of the file to change the prompt:

prompt %computername%:$P$G.

NOTE: You can edit this file in Notepad.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like