This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
When Jeffrey Epstein was arrested in 2019, the DOJ seized more than 70 electronic devices. Last month, they put almost all of it on the internet.