For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/hosted-private-cloud/vmware/remove-ovhcloud-kms-from-windows-vms-vsphere.md.
  • English

How to Remove the OVHcloud KMS from Your Windows VMs in vSphere

View as Markdown

When you install Windows VMs from OVHcloud templates in vSphere, they will automatically be licensed through the OVHcloud KMS. If you wish to use your own license instead, but have already installed your VMs using an OVHcloud template, you can follow the steps in this article to remove the OVHcloud KMS.

Prerequisites

  • Windows VMs installed on vSphere with OVHcloud templates

Topics

Uninstalling the KMS License

To uninstall the KMS key from your VM, first log into the vSphere Web Client. From your main PCC menu, click the VMs tab and select the VM from which you wish to remove the KMS license from your list of VMs.

VMs tab

Next, enter the remote console of the VM on which you wish to remove the KMS licensing.

Launch console - Remove OVHcloud kms from Windows VMs vSphere

Log into Windows and open a command prompt session by typing cmd into the search bar and hitting ENTER. Use the following command to access the System32 directory.

C:\Users\Administrator>cd \Windows\System32\

Display and take a screenshot of the KMS information before removing it by running the following command:

C:\Windows\System32>slmgr.vbs /dlv

Display - Remove OVHcloud kms from Windows VMs vSphere

Uninstall the KMS host key by running the following command:

C:\Windows\System32>slmgr -upk

Uninstall successful - Remove OVHcloud kms from Windows VMs vSphere

Next, take another screenshot of the KMS information to show that the product key is now absent using the following command:

C:\Windows\System32>slmgr.vbs /dlv

Not found - Remove OVHcloud kms from Windows VMs vSphere

Next, we'll take a look at uploading the screenshots to OVHcloudShare and finally sending this information to OVHcloud US Support to have the KMS removed permanently.

Uploading Screenshots to OVHcloudShare

In order to upload the screenshots to OVHcloudShare, please check out our How to Use OVHcloudShare article.

Once you have finished uploading your screenshots and have ensured that you have the correct URLs for each image, proceed to the next step.

Contacting OVHcloud US Support

The final step is to contact OVHcloud US Support and request that SPLA be removed from the VM. To do so, please submit a support ticket in accordance with our How to Contact OVHcloud US Support article. Make sure you include the OVHcloudShare links that were uploaded in the previous step, the hostname of your PCC (e.g., pcc-203-0-113-1), and the request to remove SPLA.

Conclusion

Having read this article, you should be able to remove the OVHcloud KMS from your Windows VMs on your OVHcloud infrastructure.