Learn how to manage Windows licenses for your virtual machines hosted on your Hosted Private Cloud infrastructure.
The OVHcloud Control Panel now includes a new feature, which allows you to:
- View the number of Windows virtual machines requiring a license.
- Instantly activate a license on eligible VMs from the interface.
This gives you better visibility, reduces the need for API calls, and helps ensure compliance with Microsoft licensing requirements.
NOTE: OVHcloud simplifies the management and billing of your Windows licenses by allowing you to tell us which virtual machines require the use of a license.
However, you remain responsible for the accuracy of the data you provide to us, and OVHcloud cannot be held liable for any unauthorized use of a Windows system on your part.
Requirements
- A VMware on OVHcloud service.
- At least one virtual machine running a Windows operating system.
- You must have activated the Windows licenses in your OVHcloud Control Panel. See the "Windows license" section of our Introduction to the VMware on OVHcloud Control Panel guide for more information.
- Allow outgoing TCP connections on port 1688 from licensed VMs to kms.ovh.us in your firewall settings.
OVHcloud Control Panel Access
- Direct link: VMware vSphere
-
Navigation path:
Hosted Private Cloud>Managed VMware vSphere> Select your vSphere
Instructions
Activate and monitor Windows licenses directly from the OVHcloud Control Panel
This feature only applies if you want OVHcloud to license your Windows VMs via SPLA. If you bring your own license (BYOL), you do not need to activate anything in the OVHcloud Control Panel.
Check your Windows license usage in the Control Panel
- Go to the
Hosted Private Cloudsection of your OVHcloud Control Panel and clickManaged VMware vSphere. - Select your service, then open the
Datacentertab.
Here, you will find:
- The total number of VMs running in your datacenter.
- The number of Windows VMs (requiring a license).
- The number of declared Windows VMs (licensed by OVHcloud).
Activating the license in the OVHcloud Control Panel is only required if you want OVHcloud to provide a Windows SPLA license for the VM.
Understand the two Windows license management modes
There are two scenarios:
-
Case 1: You bring your own Microsoft license (BYOL):
- No action required in the interface.
-
Case 2: You want OVHcloud to license the VM:
- The VM license must be activated in the OVHcloud Control Panel for it to be billed properly.
Activate a Windows license from the OVHcloud Control Panel
- Click your
Datacenter, and go to theVirtual Machinestab. - Locate the VM that needs to be licensed.
-
Click the more options
...button on the right, then clickActivate licence. - Choose the appropriate license from the dropdown menu.
- Click
Enableto confirm the action.
The VM is now declared and licensed by OVHcloud. It will appear in your billing and compliance tracking.
When you install a Windows Server operating system, the product key – also known as a KMS (Key Management Service) key – may not be installed correctly. In such cases, the operating system has been installed with a 120-day trial key. Once this time period elapses, the operating system can no longer be used.
Manage licenses using the OVHcloud API
If you prefer to automate or integrate Windows license management into your workflows, you can use the OVHcloud API to list, assign, update, or remove licenses on your virtual machines.
List virtual machines with a license
You can quickly check which virtual machines in your infrastructure are licensed via the OVHcloud API:
Return example:
Verify the license of a virtual machine
You can check the license currently associated with one of your virtual machines via the OVHcloud API:
If no license is attached to it, the license field value will be null.
Return example:
Update the license of a virtual machine
You can update the license associated with one of your virtual machines via the OVHcloud API:
Virtual machines deployed from VMware content libraries are automatically attached to a corresponding Windows license.
NOTE: To avoid the incorrect allocation of a Windows license on a virtual machine, the API call above will return an error in the case where the virtual machine has been configured for a different operating system from your vSphere interface.
You can resolve this by changing the VM settings, or you can choose to ignore this error by passing the option bypassGuestOsFamilyCheck.
Unlicense a virtual machine
You can delete the license associated with one of your virtual machines via the OVHcloud API:
Go further
For more information and tutorials, please see our other Hosted Private Cloud support guides or explore the guides for other OVHcloud products and services.