How to test Internet Connection Speed on Windows Cloud Servers

2021-11-15 By Aaron 2464 Views windows speedtest
0 reviews

When you experience a slow internet access speed on your server, the first thing you need to do is check the network connection speed to troubleshoot the slow connectivity issues. The Speedtest CLI tool helps in checking the current internet speed of your Windows server from the command prompt.

In order for the Speedtest CLI tool to work from the Windows command prompt, an environment variable needs to be set for the speedtest tool, else, the tool can only be operated from the folder which contains the speedtest executable file.


This tutorial will guide you on how to test internet connection speed on Windows servers using the Speedtest CLI tool.


Downloading the Speedtest CLI tool


  1. The first step in installing the Speedtest CLI tool in Windows servers is to download the tool from the official website. The tool can be downloaded inside the server from the below link:

    https://www.speedtest.net/apps/cli
    

    Scroll down the page and click on Download for Windows button.

  2. A zip archive, named ookla-speedtest-x.x.x-win64 will be downloaded. Extract the archive using the default Windows extraction tool or any other such applications such as WinRAR.

    speedtestwindows1

  3. The extracted folder will contain two files, namely, speedtest.md and speedtest.exe.

  • speedtest.md is basically a ReadMe file that contains the required information about the Speedtest CLI tool for Windows.
  • speedtest.exe is the executable file of Speedtest CLI.

    speedtestwindows2

  1. For ease of use, it is preferable that the speedtest.exe be copied over to any other folder in the server with a name related to speedtest.


    In the below example, the folder named Speedtest has been created in the Desktop of the server and the speedtest.exe file is copied to it.

    speedtestwindows3


Setting up the environment variable for Speedtest

The next step in the installation of Speedtest CLI is to set up the environment variable for Speedtest so that it can be used from any folder in the Windows command prompt.


  1. Click on Start, search for environment and then click on Edit the system environment variables.

    speedtestwindows4

  2. From the System Properties window that opens up, click on Environment Variables… button in the Advanced tab.

    speedtestwindows5

  3. From under the User variables for Administrator section, click on the variable named Path and then click on Edit… button.

    speedtestwindows6

  4. In the new Edit environment variable window that opens up, click on New to add a new entry.

    speedtestwindows7

  5. The new entry that needs to be added is the path of the speedtest.exe file, which has been placed in the folder named Speedtest in the Desktop of the server. Once the path is specified, click on OK to complete setting up the environment variable for Speedtest.


    In the context of this guide, this path would be as follows:

    C:\Users\Administrator\Desktop\Speedtest  
    

    speedtestwindows8


Testing Speedtest CLI tool

Once after completing setting up the environment variable for Speedtest, the Speedtest CLI can be tested through the Windows command prompt.


  1. Click on Start, search for command and then click on Command Prompt.

    speedtestwindows9

  2. Type in speedtest in the command prompt.


    A prompt to accept the license of the Speedtest software will be shown, type in YES and then press Enter.

    speedtestwindows10

  3. Once the license is accepted, a speedtest will be automatically performed and the results of the speedtest will be displayed in the command prompt itself.

    speedtestwindows11

What do you think about this article?

Rate this article
LayerStack Promotion
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.