How to Install and Test TFTP Client on Windows 10

In most of the cases, we do not need to install TFTP Client on a Windows computer. TFTP (Trivial File Transfer Protocol) is a file transfer protocol that has less security (or no security). Hence it is not recommended to use in day to day IT life except a few special scenarios. TFTP mostly used to move the backup/restore configurations and transfer the OS/boot images to network devices. For example, to upgrade the OS of CISCO or Fortigate devices that can be done only via Telnet or SSH (no web access) TFTP becomes handy.

Though we rarely use it on Windows client OS, installing a TFTP client on Windows 10 will be helpful to test and make sure that the TFTP server is working fine and ready to transfer data over the network.

In this guide, we will install/enable the built-in Windows TFTP client and test it whether it can send and receive data through this protocol.

TFTP Client In Windows 10

Install TFTP Client on Windows 10

1) Make sure that you have administrative access to enable the feature.

2) Go to Control panel and click on ‘Programs & Features’

3) Click on ‘Turn Windows features on or off’ then tick the ‘TFTP Client’ as shown below.

Enable TFTP Client On Windows 10

4) Press OK and wait for the installation to complete.

How to Verify that Windows TFTP Client Installed Successfully?

TFTP client is like telnet client when the feature has not installed the commands will return unknown command error.

For example, before installing the TFTP client, if you open a command prompt and type ‘tftp’, it will return the below message.

No Tftp

When it is installed, the same command will give the below output.

Working TFTP

That was the clear indication that Windows TFTP client is installed on your computer.

How to Check a TFTP Server from Windows 10 Client

Let’s assume that the TFTP server setup is done correctly and the network security firewall is accepting incoming and outgoing TFTP traffic in the server.

Once we installed the client on Windows 10 PC, we need to allow TFTP traffic in the Windows firewall or your third-party firewall/anti-virus solution.

  1. You can altogether disable the Windows firewall to test it.
  2. Allow the TFTP program or port number in the firewall.

How to Completely switch off the Windows Defender Firewall to allow TFTP

5) Go to the control panel, enable the ‘Large Icons’ view. This will show the all Control panel icon.

6) Click on ‘Windows Defender Firewall’ and open ‘Turn Windows Defender Firewall on or off.’

Turn Windows Defender Firewall Off For TFTP

7) Depending on the connectivity type, you can turn off the Windows firewall. If you are not sure, turn off both (Private and Public network settings). This will entirely off the network protection. It is highly recommended to put back the settings once the TFTP test completed. Or else, follow the next step to enable only TFTP traffic.

Off Windows Firewall

 

How to Enable only TFTP Traffic in Windows Firewall

It can be done in two ways.

  1. Allow the TFTP application
  2. Allow the TFTP protocol.

Enable TFTP Application.

This method depends on which program you are using to connect the TFTP server. In our case, we are using the built-in Windows TFTP client. So, we need to allow the appropriate .exe file through the Windows firewall. If you are using any other third-party tools, you need to call those .exe files as shown below.

8) Go to the same Windows defender firewall settings in Windows 10. Click on ‘Allow an app or feature….’ Option.

Allow Apps In Firewall

9) Mostly you will not find the TFTP app on the list. Click on the ‘Change Settings’ button at top right, ‘Allow another app.’

10) Browse the TFTP.exe, which is located under the system32 folder, if you are using any third-party TFTP clients; you need to browse the particular exe file from its location.

Add TFTP Exe In Firewall

11) Click add to give the exception in the Windows In this way, the Windows defender firewall will allow the TFTP.exe program without any restriction.

Allow TFTP Protocol in Windows 10 Firewall

Let’s assume you use multiple tools and programs which use the TFTP protocol. It is not advisable to follow the earlier step and add each program in the firewall. Instead of that, we can add the common TFTP protocol which usually used in all the TFTP programs.

TFTP uses port 69. We will simply enable this port in incoming and outgoing traffic.

12) In the usual Windows defender firewall settings page, click on ‘Advanced Settings.’

Advanced Settings

13) In the ‘Inbound Rules’ create a new rule.

Create New Rule

14) Select ‘Port’ and enter 69 as TCP port.69 TFTP Port

15) Make sure that ‘Allow the connection’ is selected on the next screen, select all 3 network types.

All 3 Network Typs

16) Give a name to the rule and press OK.

Name Of The Port

17) Make sure it is enabled and listed in ‘Inbound Rules’.

Allowed TFTP Port 69 In Windows Firewall

18) Repeat the same steps in ‘Outbound Rules’

With these above steps, your client Windows 10 PC is ready to use the TFTP client.

Test Windows TFTP Client on Windows 10 or any Other Versions

Let’s assume that the TFTP server setup appropriately is done and files are available at the correct location. Before you download a file from the TFTP server, you must know the right file name with the extension.

In this example, I’m going to download a file called ‘tftp.zip’ from the TFTP server 192.168.1.244.

Type the below command in command prompt (you must have a working network communication with the server, the ping command is handy to confirm the connectivity)

 Tftp -i [server IP address] GET [file name with the expension] 

 

The below message indicates that the file transfer is successful. The file will be downloaded at the location where you are executing the command. In this case, it is C:\Users\Dinesh folder.

Get Tftp Command

To upload a file using the TFTP tool, use the following command.

 Tftp -i [server IP address] PUT [path of the file with the expension] 

 

The below command shows the successful file upload to the TFTP server by Windows TFTP client. The file will be uploaded to the root of the TFTP settings on the server. We do not have any option to select the location.

Upload By TFTP

As I’m using the Solarwind TFTP server in this example, the above command uploaded the file to this root location.

File Location In Solarwind TFTP

There you go, we learned how to install the Windows built-in TFTP client on Windows 10 and how to ensure that is working fine. We showed the simple steps to upload and download a file using the TFTP client. By the way, this method is applicable for Windows 8.1 and server versions also.

Leave a Comment