This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
Following the disastrous rollout of Cumulative Update KB3194496 last Friday to the public, Microsoft has now stated they are working on finalizing a "clean-up script" to remedy the issue. We’ve been ...