This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
It's free and open-source.
XDA Developers on MSN
Timeshift saved my Linux install after I broke it tweaking things I shouldn't have
When extensive tweaking goes wrong, Timeshift can recover your Linux installation.
One-click debloat scripts can, and always will, break your Windows PC — Wintoys is the safest tool to tweak and optimize Windows.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results