DISM Error 1805

Omega 1 Reputation point
2021-09-16T16:12:07.597+00:00

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
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,922 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,511 Reputation points
    2021-09-17T08:47:46.277+00:00

    Hello @Omega ,

    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,

    0 comments No comments