Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » The wim file needs to be remounted: Fix error 0xc1510114

The wim file needs to be remounted: Fix error 0xc1510114

Posted on 18/09/202030/09/2023 Christian By Christian 3 Comments on The wim file needs to be remounted: Fix error 0xc1510114
Fix error 0xc1510114: The wim file needs to be remounted

A WIM file is saved in a file-based imaging format and this was first introduced in Windows Vista. A WIM file enables you to deploy a single disk image to numerous devices. WIM files help in managing files such as drivers, updates, Language Packs (LPs), Local Experience packs (LXPs) and other components without booting the operating system image. To resolve similar issues, see: “Error 740: Elevated permissions are required to run DISM“. Also see, You require permission from trustedinstaller: How to delete or rename files protected by Trusted Installer, and Folder Access Denied, you require permission from SYSTEM: Unable to delete old windows folder.

“The wim file needs to be remounted” error message is a result of the corruption of the “wim file” in my case. In this guide, we will look at how you un-mount and cleanup a Wim Image file using the DISM tool.

error 0xc1510114

I found out in my case that even though the error message said “The wim file needs to be remounted”, remounting did not help in resolving my issue. You could try this and if this does not work for you, simply move to the steps discussed below. This command simply help recover an orphaned image mount directory.

dism /remount-wim /MountDir:<mountDir>

For the already mounted WIM image, it’s a good practice to verify if the image has been correctly mounted. To do this, run the following command (modify this command to support your file structure/path). Run the command below to get the mounted WIM information.

dism /Get-MountedWiminfo

Therefore, to resolve this issue, the steps below helped me. First, we will have to unmount using one of the commands below that suits your environment.

Force unmount by discarding the wim file

dism /unmount-Wim /MountDir: /Discard
dism /Unmount-Wim /MountDir:C:\path-to-the-mount\Mount-A /discard

When this step is complete, the next thing to do is to clean the WIM file.

  • This is only necessary when you plan to reuse the same WIM file to ensure that all errors are cleared.
  • If there are changes in the WIM file, please delete it and copy it again from the source.

Now the WIM file size has not changed, there is no need to get (extract) a new wim file from the source (ISO, and DVD). Just proceed with the steps below to clean the wim file.

C:\windows\system32>dism /Cleanup-Wim
-------------------------------------
Deployment Image Servicing and Management tool
Version: 
Scanning drive C for stale files
Scanning drive G for stale files
The operation completed successfully.

You can now proceed to remount the WIM file since no errors have been reported, and the file size remains unchanged. To do this, use the command below.

dism /Mount-Wim /WimFile:<Path>image.wim /Index:<indexnumber> /MountDir:<mountDir>

Now, you can proceed to add or remove packages without any error. I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:install.wim, Microsoft Deployment Toolkit (MDT), Microsoft Windows, Windows 10, Windows 11, Windows Deployment Services, Windows Server 2016

Post navigation

Previous Post: How to stop Microsoft Edge from remembering your email ID
Next Post: License file was not found in the specified path (Error 0xc1570103)

Related Posts

  • powershell commands lede 1024x276 1
    PowerShell Remoting: Guide to Windows Management Instrumentation Scripts
  • Slide1 1
    How to manage Microsoft Defender Antivirus using Group Policy and Command Line Utility Anti-Virus Solution
  • Various Msiexec.exe Command Line Switches
    Various Msiexec.exe Command Line Switches Windows Server
  • Ping 4
    Perform continuous ping on OSes and network Appliances Mac
  • Modernstanby
    Modern Standby: PC is automatically encrypted Windows
  • How to pause updates and why
    How to Pause Windows Update via Windows Settings Windows

More Related Articles

powershell commands lede 1024x276 1 PowerShell Remoting: Guide to Windows Management Instrumentation Scripts
Slide1 1 How to manage Microsoft Defender Antivirus using Group Policy and Command Line Utility Anti-Virus Solution
Various Msiexec.exe Command Line Switches Various Msiexec.exe Command Line Switches Windows Server
Ping 4 Perform continuous ping on OSes and network Appliances Mac
Modernstanby Modern Standby: PC is automatically encrypted Windows
How to pause updates and why How to Pause Windows Update via Windows Settings Windows

Comments (3) on “The wim file needs to be remounted: Fix error 0xc1510114”

  1. Avatar photo anon says:
    10/02/2023 at 4:03 PM

    Did not work or the instructions weren’t sufficient enough

    Log in to Reply
    1. chris Christian says:
      11/02/2023 at 11:17 AM

      It worked! What issue are you having?

      Log in to Reply
    2. Avatar photo Dupont says:
      13/06/2024 at 7:48 PM

      Hi,
      see in this URL:
      https://learn.microsoft.com/en-us/answers/questions/1573055/adk-winpe-error-0xc1510114-during-adding-packages

      Thanks and regards

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • His May Be The Server Does Not Exist
    Fix unable to contact Server: This may be the server does not exist Windows Server
  • RDP
    The connection was denied because the user is not authorized for remote Login: Enable Remote Desktop Connection on Windows 11 for non-administrators or selected users Windows
  • How To Upgrade Domain Controllers
    Build a New DC vs Swing Migration: Upgrade Server OS Correctly Windows Server
  • fdsdsd
    Configuring DHCP Scope: Post-deployment of Dynamic Host Configuration Protocol Windows Server
  • UEFI vs BIOS What's the Difference
    What are the Differences between UEFI and BIOS Windows
  • plain blue background
    Request a certificate signing request in Windows using Microsoft Management Console Windows Server
  • How to Force Stop a Grayed Out Windows Service
    How To Force Stop A Windows Service When Stop Option Is Grayed Out Windows
  • hero windowsadmincenter
    How to set up Windows Admin Center on a Windows Server Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,814 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.