When a Windows 10 or 11 computer is updated its licensing data is stored on Microsoft servers.
Once licensing data is stored on Microsoft servers it enables disk drive replacements or clean installs.
Windows iso are free.
If there are any activation problems then run the activation troubleshooter.
https://www.elevenforum.com/t/download-official-windows-11-iso-file-from-microsoft.1009/
https://www.microsoft.com/software-download/windows11
.
.
.
These are some methods that may allow the viewing of a product key:
https://www.tenforums.com/software-apps/2577-showkeyplus.html
wmic path SoftwareLicensingService get OA3xOriginalProductKey
https://www.magicaljellybean.com/keyfinder/
.
.
.
.
.
--please don't forget to upvote and Accept as answer if the reply is helpful--
.
.
.
.
.