Talk to us

Blog · 30 November 2026 · Rob Sherwood

Windows Is Dropping Telnet. Does Your Software Still Use It?

Microsoft has added the Telnet client to its list of deprecated Windows features. The entry is short: telnet.exe "will be removed from Windows in a future release". No date yet, but the direction is clear, and The Register reported it this morning.

Most people will shrug. Telnet is a protocol from the early days of the internet, it sends everything (passwords included) across the network in plain text, and SSH replaced it for logging into servers decades ago. Hardly anyone types telnet on purpose any more.

The trouble is the things that type it for you.

Where Telnet hides in bespoke software

In an older application, the parts most likely to trip you up are often not in the main code. They're in the scheduled task nobody remembers writing, the batch file on the server in the corner, or the integration that talks to a bit of kit bought fifteen years ago. That's where Telnet tends to hide.

A few common ones:

  • Port checks in scripts. telnet mailserver 25 was the classic way to see if a port was open, and plenty of deployment scripts and health checks still do it.
  • Talking to hardware. Older network switches, label printers, scales, PLCs and warehouse devices often have a Telnet interface, and some of them have nothing else. If a piece of your software sends commands to a device, it's worth knowing how.
  • Old back-office systems. Some legacy hosts still expect a Telnet session, and the "integration" is a script that logs in and pretends to be a person typing.
  • Libraries, not just the Windows program. Python's telnetlib module was deprecated and then removed in Python 3.13. If an app was written against it and someone upgrades Python, it stops working, whatever Windows does.

That last one matters because it shows the pattern. The protocol isn't being banned. The tools that speak it are quietly being taken away, one by one, and code that leans on them breaks on the day of an upgrade rather than the day of an announcement.

What actually changes

To be precise about it: Microsoft is removing the Telnet client, the telnet.exe program. It's already an optional feature you have to switch on under Windows Features, so on many machines it isn't there today. Once it's gone from a future release, a script that calls telnet.exe will fail on any machine built on that release, and "just tick the box again" stops being an option.

Nothing stops a device speaking Telnet, and other tools such as PuTTY still support it. So if you have kit that only talks Telnet, you won't be locked out. But you'll be relying on something Windows no longer ships, which is a good moment to ask whether you should be relying on it at all.

How to find out if you're affected

For a small setup this shouldn't be a big job. Here's where I'd look.

  • Search the code and scripts. Grep every repository, batch file, PowerShell script and scheduled task for "telnet". Include config files and anything in a tools or scripts folder. On Python projects, look for import telnetlib too.
  • Check Windows Task Scheduler on any server that runs your software. Old jobs often call external programs directly.
  • Ask what the software talks to. Make a list of every device and external system your application connects to, and how. If anyone says "it logs into the box", find out what with.
  • Look at the network. Telnet normally runs on TCP port 23. A firewall log or a quick capture showing traffic on 23 tells you more than any document will.

What to swap in

For port checks, Windows already has a replacement built in. PowerShell's Test-NetConnection with -ComputerName and -Port does the same job, and adding -InformationLevel Quiet gives you a clean true or false that a script can act on, which is better than screen-scraping telnet's output anyway.

For logging into servers, use SSH. Windows has shipped an OpenSSH client for years, so there's no excuse there.

For hardware that only speaks Telnet, you have three honest options. Replace the device with one that supports SSH or a proper API. Keep it, but put it on its own network segment so the plain text traffic never crosses anything shared (that's the sort of thing I cover under networks and integrations on my own site). Or move the integration onto a small Linux box or service you control, using a maintained library, so you're no longer dependent on a Windows program at all.

What I wouldn't do is copy an old telnet.exe across from another machine and hope. That's how a five minute fix becomes the thing nobody understands in five years' time.

The bigger point

Telnet itself is a small thing. Most of you will search, find nothing, and move on, which is a perfectly good outcome.

But it's a neat example of how bespoke software ages. It rarely breaks because of a bug in your code. It breaks because something underneath it (an operating system feature, a language library, a protocol) gets retired, and nobody was keeping a list of what the software depended on. The same thing happens when an operating system runs out of support, and when a version of PHP or Python stops getting fixes.

Keeping that list, and acting on it before the deadline rather than after the outage, is most of what looking after software actually is. It's the core of our Look after it service, from £355 a month + VAT, and it's part of what happens when we take on an existing codebase.

If you're not sure what your software leans on

If you've inherited an application and honestly don't know what it talks to, or what old tools it calls behind the scenes, our code audit is a sensible place to start. It's £250 + VAT, and you get a written report on what you've got, what it depends on and what's likely to bite you next. Telnet included.

Cheers, Rob

Tell us what you've got

It goes straight to Rob and Jase. You'll hear back from one of us, usually the same day, and we'll tell you honestly whether we're the right people.

Just want it checked? Code audit, from £250 + VAT