source: https://rants.tech/fix-wslregisterdistribution-failed-with-error-0x80370102/
My scenario is that in my Azure VM (where i can’t change the BIOs Settings). so for me the below suggestion works.
I think the issue is due to the WSL2 and Ubuntu are not compatible, my changing back to wsl version 1 works for me.
my Windows Features.