Hello!
See this Microsoft thread:
- Expand Windows 10 with a GPT partition and follow the steps.
This topic is for Windows 10, but it should work for you. If the problem persists, try installing manually.
https://onlinecomputertips.com/support-categories/windows/manually-install-windows-11-24h2-update/