Wednesday, January 5, 2011

Telnet not working on Windows Server 2008

While trying to test my SMTP server connectivity i wanted to use telnet on my Windows Server 2008 box. So i did the usual thing i.e. went to command prompt and typed "telnet servername port" and voila i got an error which said "'telnet' is not recognized as an internal or external command,operable program or batch file."

Now that's unfair because telnet is supposed to work. Well the good part which microsoft has done with Windows Server 2008 is that they have given everything but its disabled. So to fix it you need to go to Server Manager -> Features -> Add Feature. Select the Telnet client in the wizard which comes up and you are good to go.