Maybe you forgot to set the flags and the edition of Windows, when capturing the image using ImageX. You'll find everything in this guide:
Edition ImageX Commands
E:\imagex /compress fast /check /flags “Enterprise” /capture D: E:\install.wim “Windows 7 Enterprise” “Windows 7 Enterprise Custom”
E:\imagex /compress fast /check /flags “Professional” /capture D: E:\install.wim “Windows 7 Professional” “Windows 7 Professional Custom”
No, I set the flags when capturing the image using ImageX.
I encounter the same problem if I don’t integrate the .NET Framework 4.6 (thus I don't capture the image). I use only OFFLINE DISM.
This error appear in step "Copying files".
I don't understand. This error 31 appears to be random.
If I restart installation, sometimes the installation it's ok.
Can you tell me if there is a folder on server where is stored logs of installation ? ("NiLogs" folder or other)? I didn't find…
So I can look in detail this error.