how to recover deleted hyper v license

Raimbault, Keith 5 Reputation points
2026-01-27T10:27:59.6+00:00

i had a hyper v terminal that was licensed and it was running out of memory so our IT team had me run a cleanup program to remove stuff which deleted most of the software. i had to reinstall and its a trial copy. our IT team does not support hyper v even though they originally installed it. i have about 80 days left on my hyper v and need to find the license

Windows for business | Windows 365 Business
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. VPHAN 22,030 Reputation points Independent Advisor
    2026-01-28T11:08:15.1333333+00:00

    Hi Raimbault, Keith,

    I wanted to follow up to ensure you were able to determine the upgrade path for your Hyper-V instance. As discussed, running DISM /online /Get-CurrentEdition is the deciding factor here; if the output confirmed a Server Evaluation edition, you can successfully convert it to a full production license in-place using the DISM /online /Set-Edition command and activate it via Automatic Virtual Machine Activation (AVMA) keys. However, if the tool identified a Client Evaluation edition (such as Windows 10 or 11 Enterprise Eval), a clean installation with standard media is the only technically supported option. Please let me know if you need the specific syntax for the conversion command or help locating the correct ISO.

    If the issue has been successfully resolved, please consider accepting the answer as it helps other people sharing the same question benefit too. Thank you!

    VP


  2. VPHAN 22,030 Reputation points Independent Advisor
    2026-01-27T11:00:41.8966667+00:00

    Hi Raimbault, Keith,

    First, you need to verify if your current "trial" installation is capable of being converted to a licensed version or if it requires a complete replacement. Please open an elevated Command Prompt (Run as Administrator) inside the virtual machine and execute the command DISM /online /Get-CurrentEdition. If the output returns ServerStandardEval or ServerDatacenterEval, you can convert the installation to a full version without losing your data by using the DISM /online /Set-Edition command. However, if the output identifies the system as a Windows 10 or 11 Enterprise Evaluation, you are in a "hard lock" state; Microsoft does not support converting client evaluation editions to full versions, and you would need to reinstall using the correct non-evaluation media (ISO).

    If the DISM check confirms you are on a Server OS, your best path to activation without the lost key is Automatic Virtual Machine Activation (AVMA). Since this is an IT-managed environment, the physical host server running Hyper-V is likely licensed with Windows Server Datacenter. You can utilize the official Microsoft AVMA keys (for example, H3RNG-8C7KK-QTVRX-J2W2H-C43CD for Server 2019 Standard) by running slmgr /ipk <AVMA_KEY> in the command prompt. This command tells the virtual machine to request a license directly from the Hyper-V host, bypassing the need for the specific key you lost.

    I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!

    VP

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.