Quickstart Guide
Follow these steps to get Windows IoT up and running on your Raspberry Pi 5 in under 10 minutes.
1️⃣ Prerequisites
- Raspberry Pi 5 (2 GB + model)
- Micro‑SD card (≥32 GB, UHS‑I recommended)
- Power supply (5 V / 3 A USB‑C)
- Windows 10 or 11 PC with Windows IoT Core SDK
- Internet connection for the Pi
2️⃣ Download the OS image
Grab the latest Windows IoT build for Raspberry Pi 5 from the official download page.
wget -O win10_iot_rpi5.ffu https://download.microsoft.com/.../win10_iot_rpi5.ffu
3️⃣ Flash the image
Use Windows Imaging and Configuration Designer (ICD) or the ffuflash utility.
ffuflash.exe -w win10_iot_rpi5.ffu -d \\.\PhysicalDrive2 -p 2 -v
Replace \\.\PhysicalDrive2 with the correct disk number shown in diskpart.
4️⃣ Boot the Pi
- Insert the flashed micro‑SD card.
- Connect Ethernet (or configure Wi‑Fi later).
- Power on – the Pi will boot into Windows IoT (first boot may take a few minutes).
5️⃣ Connect with Visual Studio
Open Visual Studio 2022, create a Blank Universal Windows Platform (UWP) app, then:
- Right‑click the project → Debug → Device → Remote Machine…
- Enter the IP address of the Pi (shown on the device’s boot screen or via
arp -a). - Deploy – the app will launch automatically on the Pi.
6️⃣ Hello World sample
Add this code to MainPage.xaml.cs:
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Pi5HelloWorld
{
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
var txt = new TextBlock
{
Text = "👋 Hello, Raspberry Pi 5!",
FontSize = 48,
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Center
};
Content = txt;
}
}
}
🚀 Next Steps
- Explore sample projects (GPIO, I2C, SPI).
- Configure Wi‑Fi via
iotstartup.exeor the Device Portal. - Enable remote debugging and IoT Device Portal for live diagnostics.
- Read the troubleshooting guide for common issues.