This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
Casey Wasserman told his firm's staff that he felt that he had "become ‌a distraction" to its work and had begun the process of selling the company.