Check if a file is really a file, whether a string contains anything, and whether you can run a program with these vital patterns.
This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.