Windows Server 2019のライセンス認証で0x80070032が表示されたときの解決策
手順
Windowsアイコンを右クリックし、管理者権限でPowerShellを起動する。
そこで下記のコードを入力
DISM /online /Set-Edition:ServerStandard /Productkey:xxxxx-xxxxx-xxxxx-
xxxxx-xxxxx /AcceptEula
Windows server 2019 DataCenterを使用したい場合は、ServerStandardをServerDataCenterに書き換える。
作業が終わると再起動を求められるのでy/nで応答。