This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
KB5077181 is causing devices to restart over 15 times in an infinite loop. Users also report network issues and error codes.