This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
When you set up a Windows PC for the first time, you're required to create a user account that allows you to act as the administrator for that computer. Depending on your Windows edition and network ...