This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
It should really be a part of Windows though.
Windows 11 just resumed feature updates and the early 2026 changes are surprisingly useful.
A fake ad-blocking browser extension is deliberately crashing Chrome and Edge to trick users into running malware on their own PCs.