Server 2019 Activation Error: Run “slui.exe 0x2a 0xC004F069” to display the error text

I was trying to activate Server 2019 Standard in a virtual machine this weekend, and on trying to enter the license key I got an error code of “0x80070032″ which wasn’t very helpful. This led onto trying to use slrmgr -ipk to install the license key, which also failed with ” On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0xC004F069’ to display the error text””

This can be worked around by using two DISM commands.

Open an elevated command prompt, and type (or copy) DISM.exe /Online /Get-TargetEditions

Then enter DISM /online /Set-Edition:ServerStandard /ProductKey:ENTER-YOUR-SERIAL-KEY-HERE /AcceptEula

It may get stuck on the 10% mark for a few minutes, but after that it will proceed and install the key. The machine will then require a reboot and be activated.


  1. Hello Tom.
    Many thanks for the article above.
    Helpful for me to activate my evaluation Windows Server 2019
    Now it is works perfectly

  2. Worked like a charm ! Thanks

    The problem i have seen on one of my VPS is that after backingup , the VPS stopped and i started the wrong backup……now i am getting an error about the license key could ne activated because its being used on another device. Any idea ?

    • No idea, I’m afraid. I assume it’s because that your VPS think it’s been activated in two places. I could suggesting calling the activation line and pleading your case, apart from that, I wouldn’t really know.

  3. well done! thanks for sharing! many of us use trials to get initial configurations done before applying licensing . this saves a world of pain!.

  4. Hi
    I entered the first line ok, then it replied with Editions that be upgraded to :

    But then it doesn’t do anything.

    • Odd, not seen that in the few times since I’ve needed this. It always stops on 10%. What happens if you just use the second DISM command?

  5. Hi, i put the 2nd DISM part and says setting and edition is not supported with online images ??????? Help please

    • What OS Version are you coming from/going to? I had this when I was going from Eval to Datacenter – it wanted me to go to Eval > Standard > Datacenter for some reason.

Leave a Reply

Your email address will not be published. Required fields are marked *