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

  • Windows10 SCCM 20161
    What is ADK, MDT, Microsoft Endpoint Configuration Manager (SCCM), Intune, Autopilot, and WSUS Windows Server
  • configure kerberos
    Configure Kerberos Delegation in Windows Windows
  • Raise or Downgrade AD Domain and Forest Functional Level
    Raise or Downgrade AD Domain and Forest Functional Level Windows Server
  • windows update 03
    Check if Windows Updates were installed via the Registry Editor Windows
  • Windows 10 Upgrade 1 1
    Perform an in-place upgrade from Windows Server 2016 to Windows Server 2019 Windows Server
  • VBscript fixed and working in WinPE
    Windows PE working for Windows 11 and Windows Server 2022 Windows Server

More Related Articles

Windows10 SCCM 20161 What is ADK, MDT, Microsoft Endpoint Configuration Manager (SCCM), Intune, Autopilot, and WSUS Windows Server
configure kerberos Configure Kerberos Delegation in Windows Windows
Raise or Downgrade AD Domain and Forest Functional Level Raise or Downgrade AD Domain and Forest Functional Level Windows Server
windows update 03 Check if Windows Updates were installed via the Registry Editor Windows
Windows 10 Upgrade 1 1 Perform an in-place upgrade from Windows Server 2016 to Windows Server 2019 Windows Server
VBscript fixed and working in WinPE Windows PE working for Windows 11 and Windows Server 2022 Windows Server

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

  • screenshot 2020 04 09 at 02.57.27
    Import certificates into Trusted Root and Personal certificate store Windows Server
  • How to Register Devices to Microsoft Intune and EntraID Using My Company Portal
    Register Devices to Intune and EntraID Using Company Portal AWS/Azure/OpenShift
  • feature image
    How to Configure Advanced PAM in Linux Linux
  • TERRAFORM ON LINUX FEATURE IMAGE
    How to Install Terraform on Linux Linux
  • addanewlang
    How to change or add another keyboard language in Windows Server Windows Server
  • images
    Lifecycle rules: Transition to Glacier still appears in s3 AWS/Azure/OpenShift
  • Norton AV
    Enable or disable Norton silent mode on Mac Anti-Virus Solution
  • vmca course
    Veeam Certified Architect: VMCA Training & Certification Review Backup

Subscribe to Blog via Email

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

Join 1,808 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

AWS 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.