During the Windows 11 installation, press Shift + F10 at the “Let’s connect you to a network” or “Sign in with Microsoft” screen to open Command Prompt. Type start ms-cxh:localonly and press Enter, which will open a local account creation window.