Starting with Windows 10 licensing data is stored on Microsoft servers allowing clean installs or replacing disk drives.
When Windows 7 is upgraded or clean installed to Windows 10 its licensing data is stored on Microsoft servers.
.
.
.
In order to move from Windows 7 to Windows 11 these are options:
a) Upgrade Windows 7 to Windows 10 > upgrade Windows 10 to Windows 11 in a supported or unsupported fashion
b) Upgrade Windows 7 to Windows 10 > clean install Windows 11 in a supported or unsupported fashion
c) Clean install Windows 10 > upgrade Windows 10 to Windows 11 in a supported or unsupported fashion
.
.
.
(There is no direct method to move from Windows 7 to Windows 11)
(Windows 7 can move to Windows 10 by upgrade or clean install)
(Most computers running Windows 10 can upgrade to Windows 11 in a supported or unsupported fashion)
.
.
.
--Please don't forget to upvote
and Accept as answer
if the reply is helpful--
.
.
.