OVH Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVH Community members.

Problem with Windows Server 2019 activation



I have Public Cloud with Windows Server 2019(with licence)
I can’t activate the system.
I use this instruction:
OVH KMS server is reachable from my instance:

ComputerName :
RemoteAddress :
RemotePort : 1688
InterfaceAlias : Ethernet
SourceAddress : 145.239.x.x
TcpTestSucceeded : True

I’m getting error message from Windows:
Activating Windows®, ServerStandard edition (de32eafd-aaee-4662-9444-c1befb41bde2) …
Error: 0xC004F074 The Software Licensing Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.

License Windows Server on Guest

Hi @AdamK2

You must run the following command below from CMD (run as administrator)

DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

This should be replaced by the purchased license XXXXX-XXXXX-XXXXX-XXXXX-XXXXX and finally enter, it will start an installation process and then it will ask you to restart the machine.

As an additional note, to do this the operating system must be Standard Edition, if it is Datacenter Edition, you may not be able to downgrade (is another different process)

I hope I have helped or clarified

Carlos Frias (SySadmin)


Hi @sysdop

Thank you for help!
Is necessary to reinstall Windows?
I have completely configured environment.



Hi @AdamK2

If your Windows version is Datacenter and not Standard, You cannot downgrade from Datacenter to Standard. You will need to reinstall Windows. Check “This PC” or “This PC” in System Properties

If it is Standard and does not take the license you bought, contact the license provider to have it replaced or buy a new license, on eBay there are between 25 and 50 dollars of original licenses permanent activation, unique payment




I bought Public Cloud with licence.
I have OVH KMS licence, which unfortunately doesn’t work.
I’ve installed Windows Server 2019 standard from ovh resources.
I will try to contact with OVH support, maybe they can help me.

Very thank you for help!


Hi @AdamK2

Contact them and if it doesn’t work, try changing the KMS server

(So ​​far, it works perfectly)

As you are paying the license monthly with OVH, you will not have problems of any kind

(From CMD as administrator) you run

slmgr /skms


slmgr /skms

And try

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (replace it with your license)

And if it doesn’t work, run again

DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula



Hi @sysdop

You saved my life!
Works with server.
Tahnks a lot.