How can I deactivate server 2022 key so I can reinstall the server?

MEHMET BOYACI 0 Reputation points
2023-03-12T18:21:54.3933333+00:00

I set up Server 2022 as a virtual machine on an esxi 7 server. I enabled secure boot. But later I discovered that Server 2022 has problems with secure boot on esxi 7 and vmware recommends disabling secure boot. Unfortunately I couldn't find any way to disable secure boot so I now have to reinstall Server 2022 with secure boot disabled but I would like to deactivate the license so I can reuse it.

Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
245 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.4K Reputation points MVP
    2023-03-12T18:25:33.14+00:00

    You can certainly do;

    slmgr /upk
    

    but this does not send any info to microsoft activation servers. Simply clean install it and reuse the product key as in;

    slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    slmgr /ato
    

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.