This works for Windows 11 on a Gigabyte z690.
Basically run the commands, find your way via Troubleshoot to the "change of hardware" section.
Choose your computer from the list and Windows activates.
This is clearly an issue with Windows and Microsoft should have long since sorted this out.
HUGE thanks to tanker59 :D