Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team
The short answer: With one PowerShell command and the same reading skill as the Linux census. The local-scan guide gives it: Get-NetTCPConnection -State Listen, selecting LocalAddress, LocalPort, and OwningProcess. The LocalAddress column carries the same meaning as in ss output — 127.0.0.1 is this machine only, 0.0.0.0 (or ::) is all interfaces, a 192.168.x.x address is that network — and OwningProcess gives the PID to resolve into a program name. HomeShield's companion script ships a PowerShell version that produces this census classified and ready for the combined report. Windows adds its own hiding places — services that restart what you kill, startup items, firewall rules that outlive their programs — and this guide walks them.
Open PowerShell as administrator (so every process's sockets are visible), run the guide's command, and resolve each OwningProcess PID to a name — the process list in Task Manager's details view, or a second command joining the two. The output's unit is the same as on Linux: one row per listening socket, with an address, a port, and an owner. Annotate identically: expected, narrow-it, investigate. A Windows home server's list usually includes more system rows than a Linux box's; learn your machine's normal system rows once, file them, and the monthly diff gets fast.
The companion's PowerShell version exists because this joining and classifying, done by hand monthly, is exactly the friction that kills household routines. Run it for the file; run the raw command when you are teaching yourself the machine or working on a PC where you would rather not download anything. Both readings feed the same verdicts.
The shapes are the same, with Windows spellings. 127.0.0.1: machine only. A specific LAN address: that network. 0.0.0.0: all IPv4 interfaces. [::] or ::: all IPv6 interfaces — and Windows services are particularly prone to listening on both families by default, so a server you believe is narrow deserves a look at its IPv6 row too (the IPv6 guide again). Sort wide rows first, as always.
One Windows nuance: some rows belong to the system's own networking services (file sharing, discovery, remote assistance plumbing) that a Linux census would not show. They are part of the machine's normal surface — file them as expected only after you have confirmed the corresponding Windows features are ones the household uses; sharing and discovery features enabled by a setup wizard years ago are the Windows edition of the forgotten service.
Killing a Windows process is a mood, not a decision: if the server is registered as a service, it restarts; if it sits in a startup item, it returns at logon; if a scheduled task guards it, it returns on schedule. The exposure-relevant skill is finding the registration. For every listener you decide to retire, identify its persistence mechanism — the Services console, the startup list, the task scheduler — and retire it there, then verify after an actual reboot, not before. The ghost servers in this series' examples were disproportionately Windows-shaped for this reason: stopped sincerely, restarted silently.
The same registrations are your friend for the servers you keep: a deliberately-run home server should be a visible service entry with a name you recognise, starting automatically and logging its failures — not a console window on a desktop session that dies when the PC's user logs off for a holiday. Moving a keeper from 'window somebody leaves open' to 'service' is an availability fix and an audit fix in one.
Windows Firewall rules accumulate like router forwards: created by installers with a click-through prompt ('allow this app on private networks?'), named after programs that may no longer exist, and never reviewed. The inbound rules list deserves the router treatment — every rule gets a living justification, rules for deleted programs get deleted, and any rule allowing a server program on Public-profile networks gets a hard look, since network profiles change when a PC travels or a network is reclassified.
Be precise about what the firewall does here: it can refuse connections to a wide listener, which is a genuine second layer — but it is a layer administered by prompt-clicks and legacy rules, and it does not change what the listener offers when a connection is allowed. The bind remains the primary control; the firewall is the understudy, audited so its script matches the play. The companion census reads listeners regardless of firewall state — correctly, since a listener behind a permissive rule is one rule-edit away from exposure.
The monthly pass on a Windows host is: companion (or raw) census diffed against last month's file; services and startup lists glanced for newcomers; firewall inbound rules for the server programs re-read; and a post-update reboot census whenever Windows restarts the machine on its own schedule — because an update Tuesday can revive, rebind, or reinstall things while the household sleeps. Pair the census with the outside check into the combined report, exactly as on any other platform.
Windows home servers are not second-class citizens in this discipline — they are the most common home servers there are. Their tooling differs in spelling, not in substance: the ears are countable, the count is small, and a household that reads the list monthly cannot be surprised by its own PC for long either.
Example — fictional, for illustration. The O'Neill family's Windows PC hosts their MCP server. During their first audit they find a second, older assistant server listening wide — and they close it, triumphantly, from Task Manager. It is back the next morning. The census-driven investigation finds the mechanism in one pass: the old server is registered as an automatic service from its original installer, restarting faithfully at every boot. They stop and disable the service, reboot deliberately to prove the point, and re-run the census: the ghost is gone and stays gone. In the same pass they find three inbound firewall rules for programs deleted last year, and one for the current server allowing it on Public networks — a leftover from a network reclassification prompt somebody clicked through.
The cleanup's arithmetic: listeners 14 → 12, wide listeners 4 → 2 (the proxy-equivalent and one deliberate LAN service), stale firewall rules 3 → 0, ghost servers 1 → 0, verified across a reboot. The family's annotation becomes their household rule, and it generalises to every Windows finding in this series: 'On Windows, you do not stop a server. You unregister it — then you reboot and watch it not come back.'
Companion reading for this topic: How Do You Read ss -tlnp Output to Find Risky Listeners? · What Does the HomeShield Companion Script Actually List on Your Machine? · What Does a Combined Report Show That a Web Scan Alone Cannot? · You Run Your AI Server on a Mini PC — What Do You Harden First?.
Whatever this guide led you to change, prove it the way every guide in this series ends: re-run the free check on the same address and compare the result with the one you started from, work through the local-scan guide for the inside of the house, and see plans if you want the watching done on a schedule. A change you have not re-measured is a hope, not a fix.
For the complete one, yes: without elevation, some processes' sockets and names are hidden from your session, and a census with redacted rows invites false calm. Run PowerShell as administrator — or run the companion, which will tell you what it could not see.
It is the process ID (PID) of the program holding the listening socket. Match it in Task Manager's Details tab, or join it with a process query in PowerShell. The companion script performs this join for you and prints names directly, which is most of its convenience.
It is registered to start: as a Windows service, a startup item, or a scheduled task — most likely the first, if an installer set it up. Retire it at the registration (disable the service, remove the startup entry), then reboot on purpose and re-run the census. A server that stays dead after your test reboot is actually retired.
Use the firewall as a second layer, not the control. Rules accumulate from installer prompts and outlive their programs, and profiles change under you. The bind decides what the service offers every allowed connection; the firewall decides which connections are attempted. Audit both — the listener census first, the rules second.
Yes — the PowerShell version lists listening ports, bind addresses classified the same way (all interfaces / this machine only / one network address), the process behind each, and tunnel processes, and pastes into the same combined-report flow. It makes no network calls, on Windows as elsewhere.
HomeShield MCP uses cookies to run the site and, through Google AdSense, to serve ads. Accept or decline non-essential cookies. Details are in the privacy policy.