This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
Luxtorpeda is a clever bit of kit that you can set as a compatibility tool for any game you have on Steam. You just install it, head into the Steam settings for whichever game you want to use it with, ...