question

Omega-7969 avatar image
0 Votes"
Omega-7969 asked LimitlessTechnology-2700 answered

DISM Error 1805

I was trying to capture an image and get the following error:


C:\WINDOWS\system32>dism /capture-image /imagefile:C:\install.wim /capturedir:D:\ /name:"Private" /compress:maximum /checkintegrity /verify /bootable

Deployment Image Servicing and Management tool
Version: 10.0.19041.844


Error: 1805

The environment specified is invalid.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log


I have looked up the error on various forums and found several answers but none have worked out. I double checked the drive letters, I made sure my version is up to date, and I should have enough space. I added a link of the log file as well. Any help would be greatly appreciated.



https://drive.google.com/file/d/1gSJ4KsveDTvchYdk8-KWp8m6ezRqkwzx/view?usp=sharing

windows-10-setup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @Omega-7969,


Have you tried to run a simplier capture commandline? I am suspect that some of the parameters might be interrupting.

Please also try to use diskpart command line tool to check the disk letter in Windows PE.

From DISM.log isn't anything there that can give more detail about the error? maybe some 0x error with some details in the lines around it?

Hope this helps,
Best regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.