DISM giving error 1812

Michael Leppelman 26 Reputation points
2020-10-29T17:47:55.7+00:00

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 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,505 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
252 questions
0 comments No comments
{count} vote

Accepted answer
  1. Joy Qiao 4,896 Reputation points Microsoft Employee
    2020-10-30T10:06:00.603+00:00

    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.


1 additional answer

Sort by: Most helpful
  1. Philippe Levesque 5,796 Reputation points
    2020-10-30T03:27:21.647+00:00

    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.