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.