question

MichaelLeppelman-5179 avatar image
1 Vote"
MichaelLeppelman-5179 asked MichaelLeppelman-5179 commented

DISM giving error 1812

I am running WDS for deployment of windows 10 and I would like to keep the wim files up to date with windows updates. When I mount the file using the following command I get the following results. I have looked up error 1812 and what I am finding it is telling me that my file is damaged. I know this is not the case because I just created the file using the capture in WDS. Also when I look in the folder that the file is suppose to mount to it is empty. If I try to mount again it state that something is already mounted in the folder.

DISM.EXE /MOUNT-WIM /WIMFILE:E:\RemoteInstall\Images\SX\2019-q370.wim /INDEX:1 /MOUNTDIR:e:\MOUNT

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Mounting image


Error: 1812

The specified image file did not contain a resource section.

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

windows-server-2016windows-server-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.

JoyQiao-MSFT avatar image
0 Votes"
JoyQiao-MSFT answered MichaelLeppelman-5179 commented

Hi,

Try to add quotation marks to check again.

Here is a link about how to use the command, try to check it.

How To Mount and Update Windows Image Files (WIM)

Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

Or we could move wim file to another local location to check again. If issue persists, try to replace with another wim file.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
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.

I have tried it with and without quotes. There was no difference. When I run the command it looks like it is working until is say "Mounting image". I take about a min to get to this point. After it say that it take about another min before is give the error 1812.

0 Votes 0 ·

This worked thanks for the assistance

0 Votes 0 ·
yagmoth555 avatar image
0 Votes"
yagmoth555 answered yagmoth555 commented

Hi

I resolved some errors for advanced task for DISM for slipstreaming an OS by using the console that the Windows Assessment and Development Kit (ADK) make available.

I didnt got the same error than you, I used to get an empty mount point too, but another error code.

I dont know exact why, but the DISM was able to do it job from inside that command prompt. I guess it load some module to have it work.

Hope it help

· 4
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.

Not sure what you are saying here.

0 Votes 0 ·
yagmoth555 avatar image yagmoth555 MichaelLeppelman-5179 ·

Download and Install Windows Assessment and Development Kit (ADK) from Microsoft and start the file; C:\Windows\system32\cmd.exe /k "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat" Which make DISM bypass some error, it's what I mean.

0 Votes 0 ·