Tin Hat / Run a server / Windows
Tin Hat Server for Windows
On your gaming PC or a Windows spare. A normal installer; the server runs quietly in the background, starts with Windows, and leaves your games their memory.
Before you start
- Windows 11, Home or Pro, version 22H2 or newer (Settings → System → About). Windows 10 isn't supported: it lacks the network mode the server needs.
- Virtualization switched on. Most PCs ship with it on. To check: press Ctrl Shift Esc for Task Manager → Performance → CPU, and look for Virtualization: Enabled at the bottom right. If it says Disabled, see turning it on.
- 3 GB of memory to spare (8 GB in total is comfortable) and 20 GB of free disk space, on an SSD.
- Your home network set to Private in Windows (Settings → Network & internet → your connection → Private network). Windows marks new networks Public, and then no other device can reach the server. If it isn't Private, the installer offers to change it.
- An internet connection while installing: the first time, Windows' Linux support (WSL) comes from Microsoft, about 370 MB more.
- A network cable is best. Wi-Fi works, but calls are smoother on a cable.
- If friends outside your home will join through a tinhat.me name: a server code (it looks like
TN-ABCD-EFGH), from the Tin Hat team (server codes).
Install
- Download
TinHatServer-Setup.exefrom the button at the top of this pageWindows may warn that the file isn't commonly downloaded: choose Keep. When you run it, Windows says Windows protected your PC: choose More info → Run anyway, the same as for the Tin Hat app. Tin Hat doesn't pay for a code-signing certificate, so Windows can't name a publisher. To make sure you have the file Tin Hat released, check the download against the signed checksum list first.
- Run it Windows asks for permission a few times
Each permission prompt says Unknown publisher (no paid certificate, as above). That's expected while the installer you started yourself, from the file you checked, is running. The first page asks what to do: choose Install Tin Hat Server (Repair and Uninstall are for later, below). The next page checks your PC: Windows version, virtualization, memory, disk, the ports the server needs, and whether your network is Private (if it isn't, a ticked box sets it).

Checking your PC, on a test PC that already had WSL and whose network was Public. Without WSL, this list says it gets switched on (about 370 MB from Microsoft, then one restart). - The first time: one restart if WSL isn't on your PC yet
The installer turns on Windows' built-in Linux support (WSL) and asks you to restart. After the restart, sign in as usual: setup comes back by itself and finishes. Windows asks once more for permission, and may warn about the file once more.
Known: On Windows: after Windows restarts to add WSL, it asks once more whether Tin Hat Server may make changes: choose Yes. If you missed it or chose No, run the installer again.
- Let it unpack the server 2–5 minutes
It sets the server up in the background and lets devices on your home network reach it (only on networks Windows calls Private). When it's done, the last page shows your setup code. Click Finish: your browser opens the setup page with the code filled in.

The last page. Finish opens the setup page with the code already filled in. - Finish in the browser about 5 minutes
The setup page checks your PC, recommends what to turn on, asks for a name and creates your admin account. The setup, screen by screen explains every page.
- Invite your group
In the dashboard, make an invite and send the link. How invites work.
Using the server on this PC too
Right after setup, the tray icon offers to set this PC up to open your server by its name (yourname.local): Windows doesn't hear its own server's name announcement, so without this the PC that runs the server can't open it. It does two things:
- This PC learns where
yourname.localis (Windows asks for permission). - This PC trusts your server's certificate. Windows shows a security warning that looks alarming: check that it names Tin Hat server yourname.local and that you're setting up your own server, then choose Yes. It lets this PC accept the certificates your server makes.
Skipped it? Right-click the tray icon → Set up this PC to open your server…
The tray icon
Tin Hat Server sits next to the clock (at first behind the ^ arrow there; drag it out to keep it in sight). Click it to open the dashboard; right-click it for:
- A status line, like Tin Hat Server: running (crew.local).
- Open dashboard: the server's admin page in your browser.
- Open setup page and Show setup code (until setup is done), then Show recovery code (for Forgot your password?: the icon also pops the code up by itself, and puts it on the clipboard).
- Set up this PC to open your server… (until it's done, above).
- Pause server / Start server: asks first, then stops the server completely and frees its memory (your group can't chat or call meanwhile; messages they type wait in their apps). Starting again takes about half a minute.
- Keep this PC awake while the server runs: off by default. Turn it on if your PC sleeps when you walk away; the screen can still turn off. While the server is paused, the PC may sleep.
- Start with Windows: on by default. The server starts when the PC does, before anyone signs in, and keeps running when you sign out. Turned off, the server waits after a restart until you choose Start server.
- Close this icon: the server keeps running.

Gaming on the same PC
- Memory: the server is capped at 3 GB, so games keep the rest. (The cap is WSL's setting for all your Linux distributions, and so is the mirrored networking the server needs; if you've set your own in
.wslconfig, the installer says so first and your memory size wins.) - Processor: idle, the server uses almost nothing. During a call it forwards everyone's audio and video without re-encoding them, which is light.
- Internet: hosting a video call uses your upload (about 30 Mbit/s for 5 people on camera). On slower connections, a big video call can add lag to an online game; voice calls won't.
- Anti-cheat: WSL switches on Windows' hypervisor, which many Windows 11 PCs already run for Memory integrity. Games that run with Memory integrity on run alongside the server; older anti-cheat that refuses virtualization may not. We haven't tested specific games yet.
Check the download (optional)
Every release lists the checksum of each file in SHA256SUMS, signed with Tin Hat's release key (how releases are signed). In PowerShell:
Get-FileHash $HOME\Downloads\TinHatServer-Setup.exe
The Hash it prints must match the TinHatServer-Setup.exe line in the SHA256SUMS of the release you downloaded it from (TinHatServer-Setup-….exe is the same file under its versioned name). Capital letters don't matter. To check SHA256SUMS itself, download SHA256SUMS.minisig from the same release and use minisign with the release key (What you're trusting lists it):
minisign -Vm SHA256SUMS -P RWQUG5ce+eVTK+HZgYoCViu7WY1nwnbLR8s54/zRQR0DLiACjVuh5Mkv
Update or repair it
Run TinHatServer-Setup.exe again (a newer one from this page, or the same one). Its first page offers three things:
- Update Tin Hat Server (Reinstall when it's the same version): lays down the Windows part again, the tray icon included. Your server and everything on it stay as they are. The server itself updates from its dashboard.
- Repair Tin Hat Server: for a server that won't start, or that other devices can't reach. It puts back its WSL settings, firewall rules, startup task and tray icon, then restarts the server and checks that it answers. Your server and its data stay.
- Uninstall Tin Hat Server: below.
Remove it
Run TinHatServer-Setup.exe again and choose Uninstall Tin Hat Server. One page lists what goes, with a ticked box: Keep my server's data (accounts, rooms and messages). Ticked, the next install offers them back; unticked, they're deleted for good.
Or from Windows: Settings → Apps → Installed apps → Tin Hat Server → … → Uninstall. That asks the same as two questions: Remove Tin Hat Server from this PC? and Keep your server's data? Yes keeps them; No deletes them for good.
Windows' Linux support (WSL) stays installed. If nothing else uses it, remove Windows Subsystem for Linux in Settings → Apps too.
If something's wrong
Virtualization is disabled
Turn it on in the PC's firmware settings (BIOS/UEFI). Restart and press the setup key while the logo shows: usually Del or F2 (desktops), F1 (Lenovo), F10 (HP), F2 (Dell, ASUS, Acer). Look for Intel Virtualization Technology, VT-x, SVM Mode (AMD) or AMD-V, set it to Enabled, save and exit.
The setup page didn't open
Right-click the tray icon → Open setup page. Or open http://127.0.0.1/ in your browser (not localhost, which tries a kind of address Windows doesn't pass to the server).
Other devices at home can't reach the server
Usually one of three things: your network is set to Public in Windows (Settings → Network & internet → your connection → Private network), a VPN is on, or the Wi-Fi keeps devices apart (guest networks do). The setup page on the PC itself works either way. If none of those is it, run the setup again and choose Repair.
My browser says the connection isn't private, on the server's PC
This PC doesn't trust the server's certificate yet: right-click the tray icon → Set up this PC to open your server… (what it does).
The server stops when I leave the PC
The PC goes to sleep. Right-click the tray icon → Keep this PC awake while the server runs.
Friends outside can't connect
Open the dashboard's Network tab: it checks from outside and says what to change. Friends anywhere has the details for each router.
Another program already uses a port the server needs
The server needs TCP 80, 443 and 7881 and UDP 7882 on your PC. Programs like IIS or another web server can hold 80 and 443, and Windows itself sometimes reserves a range of ports (a restart usually frees them). The installer tells you which port and, when it can, which program; stop it or change its port, then press Try again.