Full reinstall via Recovery. Shut down. Start holding the power button (Apple Silicon) until Options, or Cmd+R on Intel.
If you can't login after Factory Reset in Windows 11, and after factory reset you are still prompted for sign in but sign in ...