Hi Marjorie,
A Windows Server 2022 license cannot be “deactivated” from a crashed VM because activation is tied to the hardware signature where it was first applied. If the license you used was a Retail key, you can transfer it by reinstalling Windows Server 2022 on the new machine and re‑entering the same product key, then running the Activation Troubleshooter to rebind it. If it was an OEM or volume license, it is bound to the original hardware or managed through your organization’s licensing agreement, and it cannot be moved once the VM is gone. In that case, you would need to obtain a new license through Microsoft or your licensing provider. The only transferable option for personal or office use is a Retail license purchased from Microsoft or an authorized reseller.
I hope this is helpful to you. And if it is, please give it a thump up or accept the asnwer, appreciate it :)
Harry.