AFAIK, Windows license doesn't really care about the disk or RAM size(s). It is related to some hardware ID's, maybe Motherboard SMBIOS + nic MAC address + something else. I fact I have done quite a few changes to the virtual hardware of Windows Server VMs and never had to reactivate the license. I hope Windows 11 behaves the same (still have no Win11 in production yet).
I once watched a video of the guy who programmed that first hardware change detection algorithm for microsoft. At least back then, it collected a lot of data about the host. These were weighted and then there was a threshold. And when exceeding that threshold you would need to reactivate. But unluckly for us, he didn't wanted to go into details because of NDA.AFAIK, Windows license doesn't really care about the disk or RAM size(s). It is related to some hardware ID's, maybe Motherboard SMBIOS + nic MAC address + something else. I fact I have done quite a few changes to the virtual hardware of Windows Server VMs and never had to reactivate the license. I hope Windows 11 behaves the same (still have no Win11 in production yet).