@AhmedLS- it keeps it an error 32 or an admin error. Below is the summary of what i need and working on. Please advise i really appricate it.
I have downloaded the Windows 10 operating system from the Volume Licensing Service Center (VLSC) and have subsequently installed and configured it in accordance with the specific requirements of our organization. In light of the pressing need for device deployment, we have utilized Macrium Reflect software to create a cloned image of the configured system. This cloned image is stored in the MRIMG format, rendering it unsuitable for direct integration into our PXE task sequences. I wanted to use the same configured clone image to convert it to wim since its been setup everything. i have 5 models which i want to put in pxe. But i am not able to capture it with the below cmd;
Dism /Capture-Image /Compress:maximum /ImageFile

:\imagename.wim /CaptureDir:C:\ /Name

ell5240
DISM /Capture-Image /ImageFile

:\install.wim /Capture-Dir:C:\ /Name:5240Device /Description:My custom Wim
Dism /Capture-Image /ImageFile

:\Dell5240Image.wim /CaptureDir:C:\ /Name

ellImage