Back to Overview

Installing a Pi Network Node on Windows

This guide describes how to set up a Pi Network Node on a physical Windows system. Operation on virtual machines (VMs) is not supported.

(Last updated: 11.03.2025)

Important notes:

Preparation:

System requirements:

If Docker Toolbox or VirtualBox are installed, they must be uninstalled and the PC restarted.

Windows Update:

Make sure your system is up to date and all current Windows updates have been installed.


Step 1: Activate system functions

Open PowerShell as administrator and run the following commands one after the other:

1. Activation of the Windows Subsystem for Linux (WSL):

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

2. Activation of the Virtual Machine Platform:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

3. Restart the PC.

4. Install the latest WSL2 Linux Kernel Update Package:

Official Download

5. Set WSL2 as the default version:

wsl --set-default-version 2

Important: No other Linux distributions should be installed, as they can impair the functionality of the node.


Step 2: Adjust firewall settings

So that the node functions without problems, certain TCP ports must be released in the Windows Firewall.

Add incoming rule:

  1. Open the Windows Defender Firewall (Control Panel → System and Security → Windows Defender Firewall).
  2. Go to Advanced Settings.
  3. Select Incoming Rules and then New Rule....
  4. Select Port and click Next.
  5. Select TCP and enter the ports 31400-31409.
  6. Click Next and select Allow connection.
  7. Select the applicable network profiles (Private, Domain).
  8. Assign a name (e.g. TCP Ports 31400-31409 incoming) and click Finish.

Add outgoing rule:

Repeat the above steps for outgoing connections.

💡 Tip: Alternatively, a prepared batch file can be used to set the firewall rules automatically:

Download Batch File

Step 3: Install Docker Desktop

Download Docker Desktop and install it with the default settings:

Important: If Docker Desktop does not start correctly after installation, restart the system.

Official Download

Additional notes for stable operation:

If there are any ambiguities or problems, simply use the chat.