DISM exited with code 5

While creating the boot sd, I’m getting this error:

Can anyone help?

The same thing happened to me and I coun’t get this to work. I wound up using WoA project instead. Good Luck!

Possibly relevant: https://support.microsoft.com/en-us/help/3179598/dism-apply-image-command-fails-with-error-code-5-error-access-denied