Tagged: reboot

Windows: one reboot a month. Linux: 2,601 days of uptime

Top: Microsoft's support page "One restart a month for Windows updates" (KB5121772, shown in French). Bottom: a terminal where the uptime command prints: up 2601 days, 22:04, 12 users, load average: 0.74, 0.64, 0.53

The whole post fits in this one screenshot.

Up top: an official Microsoft support page, KB5121772, titled with a perfectly straight face “One restart a month for Windows updates” (in French here, but the English page says the same thing). Right below it, a Copilot panel kindly offers to help me… restart sooner, pause updates for up to 35 days, or set my “active hours” so Windows Update will graciously refrain from rebooting me mid-afternoon.

At the bottom, my terminal:

$ uptime
 06:49:06 up 2601 days, 22:04, 12 users,  load average: 0.74, 0.64, 0.53

2,601 days, a little over seven years without a reboot. 12 open sessions, load average under 1, and it just keeps going.

Microsoft’s “big news”

In March 2026, Pavan Davuluri, head of Windows + Devices, published a long memo on Windows’ priorities for the rest of the year: performance, reliability, craft. On the list: a taskbar you can finally move, a fixed Start menu, a bit less AI everywhere… and a Windows Update that would only restart your PC once a month.

Promise kept. KB5121772 explains that, starting with updates released on or after July 28, 2026, Windows 11 (24H2, 25H2 and 26H1) holds back driver, .NET and firmware updates that need a restart, then installs them all together with the monthly security update on Patch Tuesday (the second Tuesday of the month). One reboot to rule them all.

The tech press cheered. Read again what they’re cheering for, though: before, each kind of update could ask for its own restart, any time in the month. Now they’re batched. That’s the progress.

Picture a carmaker announcing: “Great news: your engine will only stall once a month from now on, and we’ve moved all the stalls to the second Tuesday.”

Seven years is how many Patch Tuesdays?

Going by that uptime, this machine booted around October 18, 2019. For perspective:

  • Windows 7 was still supported (it had three months left).
  • Windows 11 didn’t exist yet: it shipped in October 2021.
  • Windows 10 reached end of support (October 2025) while this box was still running.
  • Nobody outside epidemiology used the word “lockdown”.

Since that boot, there have been 85 Patch Tuesdays. In Microsoft’s best-case 2026 world, where everything is neatly batched and nothing goes sideways, a Windows PC would have restarted at least 85 times. In the real world, with out-of-band fixes, GPU drivers, annual feature updates and the surprise “Restart required” at 9:02 a.m. right before a meeting, you can easily double that.

Here: zero.

Why Windows needs to reboot (and Linux doesn’t)

The explanation is technical, and it goes back decades.

On Windows: a file in use is locked

On Windows, as long as an executable or DLL is loaded by a process, you can’t overwrite or delete it. So there’s no way to swap out ntdll.dll, a driver or a core system component while it’s running. The installer drops the new files alongside the old ones, records the pending swaps in the registry (the PendingFileRenameOperations value under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager), and the Session Manager does the replacement at the next boot, before anything else gets loaded. Hence the reboot, and the “Don’t turn off your PC” screen while your coffee goes cold.

On Linux: a filename is just a label

On Linux (and Unix in general), a filename is just a directory entry pointing to an inode, the actual file. When apt or dnf updates a library, it writes the new version to a temporary file, then renames it over the old one with an atomic rename(). The name now points to the new file.

And the programs that were using the old version? They keep running with it, none the wiser: the old inode stays alive as long as a process holds it open or mapped in memory. New processes load the new version. Nothing crashes.

Here’s a quick demo in Python:

import os

with open("demo.txt", "w") as f:
    f.write("old version\n")

prog = open("demo.txt")              # a "program" keeps the file open

with open("demo.tmp", "w") as g:
    g.write("new version\n")
os.replace("demo.tmp", "demo.txt")   # atomic rename(), just like apt or dnf

print(prog.read())                   # old version
print(open("demo.txt").read())       # new version

On Linux, it happily prints both versions. On Windows, os.replace() raises a PermissionError: the file is open, hands off.

Once the packages are updated, all that’s left is restarting the affected services, one at a time, whenever you choose:

# Debian / Ubuntu: which services are still using old libraries?
sudo needrestart

# Fedora / RHEL: is a full reboot actually needed?
sudo dnf needs-restarting -r

# List deleted files that are still open
sudo lsof +L1

# Restart only what needs restarting
sudo systemctl restart nginx

What about the kernel?

The kernel is another story (someone will bring it up in the comments anyway): it can’t be swapped out like a library. To run a new kernel, you have to reboot… or use live patching (kpatch from Red Hat, Livepatch from Canonical, kGraft from SUSE, all of which now build on the livepatch infrastructure that has been in the mainline kernel since 4.0) to fix critical vulnerabilities directly in memory. And when you really do want to reboot, kexec lets you skip the whole BIOS/UEFI stage.

And yes, 2,601 days of uptime also means the kernel in memory dates from October 2019. On an internet-facing box without live patching, that wouldn’t be smart, and I’m not suggesting you make it a contest. But here’s the real difference:

On Linux, the admin decides when to reboot. On Windows, Redmond does.

I update when I want, restart services when it suits me, and reboot on the day I pick. No countdown, no “active hours” to negotiate with my own computer.

“But Windows has hotpatch!”

Yes, Microsoft offers hotpatch: security updates applied without a restart. Good. Except it’s limited to Enterprise and Server editions, with the matching licenses and management tooling. And even then, every quarter starts with a “baseline” month that requires… a restart. So, at best, four reboots a year. Over seven years: 28. Still 28 more than zero.

Conclusion

Well done, Microsoft: in 2026, Windows has learned to bother you only once a month. That’s better than before, I’ll give you that. But selling “one reboot a month” as progress mostly shows how low the bar was.

Meanwhile, right below it on the same screenshot, my Linux box shows up 2601 days and never asked anyone’s permission.

What’s your record? Paste your uptime in the comments.