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.

  6. Hi Tom,

    I’m trying to upgrade a PC from Win10 home to Pro and I too am getting the online images error: “Setting an edition is not supported with online images.”

    I know your post is for Server editions but I have a Pro Key that isn’t being accepted by the normal GUI. Any workarounds or thoughts?

    • Have you tried opening an cmd prompt window and running slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX instead? Give that a go, would be interested to see if that works.

  7. Thanks for this. You would think MS might be interested in fixing this.
    I’m getting “the specified product key could not be validated. check that the key is valid and that it matches the target edition”.

    We just got the key today, does it take a while? Is there a way to verify a connection? Maybe a security setting.

  8. OK, fixed it by first installing an “interim” “LTSC” KMS key.
    Boy was that circuitous.
    Also DISM would not install our VLSC key but SLMGR did.

    • Strange, thanks for the feedback though. And agreed, it’s a bit of a pain.

  9. Hi Tom. Thanks for the “heads up” on this. Thought I would have to ring Microsoft.

  10. Hi Tom….I tried this command DISM.exe /Online /Get-TargetEditions…..then i got this msg –
    (The current edition cannot be upgraded to any target editions.)
    Pls suggest what to do>

  11. Thanks. That helped me, too!
    I’m asking me, why is Microsoft not able to get a basic thing like productactivation working?

  12. I got an Error 50

    Changing this Windows edition is not supported online for a domain controller.


  13. Thank you, thank you, THANK YOU!

    Have been looking for days when I had time. I don’t even know how many slmgr commands I have tried other people have posted on a whole bunch of sites. All I was ever able to produce was new errors that led to nowhere.

    This was the first thing that fixed it. Thanks again, you guys are the best and this website has now been bookmarked.

  14. Please note that once upgrade successful;
    using: CMD
    wmic path softwarelicensingservice get OA3xOriginalProductKey

    You will still see the old product key NOT the new one. which is totally fine,,, i.e.
    Your old product key which is linked to your account is upgraded to Windows Pro. Please do not expect to see the new key. Please share the results.

  15. This is awesome. Microsoft fails big 2 times (activation through UI and using slmgr), so you saved me here. Thank you! /Torsten

Leave a Reply

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