Windows 11 clean install is done in three phases:
1 Boot from install media, run Windows Setup
2 Reboot, configure hardware devices
3 Reboot, run Windows Welcome (OOBE)
In first phase, user needs to select system language, keyboard layout and formats. Phase 2 is done without user interaction In OOBE, phase 3, user is asked about region, keyboard, telemetry, ad preferences,and so on.
This tutorial will show how to automate phase 3, OOBE, with a simple script (an answer file). Boot from install media, select disk or partition where to install Windows, and take a break. When you come back to PC, Windows is installed, your user account created, and Welcome screen waiting for you to sign in.
Additional bonus: WIndows 11 Home edition does...