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
  • IIS
    How to Change the Log File Directory location in IIS Web Server
  • bypass windows login main img
    How to disable auto login in Windows Windows
  • Screenshot 2022 04 27 at 00.50.35
    How to create a BitLocker System Partition [Part 2] Windows
  • GitLabrunner
    Install and Register GitLab Runner on Windows Version Control System
  • MBAM Replacement
    MBAM extended support ends April 2026: Find alternative solution Security | Vulnerability Scans and Assessment
  • maxresdefault 2 8
    Configure Windows Server using EC2 Launch AWS/Azure/OpenShift
  • officeonlineserver
    How to set up and Configure Office Online Server Microsoft Exchange/Office/365
  • banner
    How to Secure your API key in Postman Password Manager

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

  • Active Directory Setup
    Active Directory: How to Setup a Domain Controller Windows Server
  • Fix Boot Failed UEFI SCSI Device on HyperV
    How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
  • iscsi
    Install and configure iSCSI Target Server and iSCSI Initiator on a Windows Server Windows Server
  • qAS
    How to disable the Microsoft Deployment Toolkit Task Sequence property sheet Windows Server
  • SystoLOCK Passwordless Authentication
    Protect your Windows Devices with MFA with SystoLOCK Security | Vulnerability Scans and Assessment
  • ADaccountexpiration
    How to set an account expiration date in Active Directory Windows Server

More Related Articles

Active Directory Setup Active Directory: How to Setup a Domain Controller Windows Server
Fix Boot Failed UEFI SCSI Device on HyperV How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
iscsi Install and configure iSCSI Target Server and iSCSI Initiator on a Windows Server Windows Server
qAS How to disable the Microsoft Deployment Toolkit Task Sequence property sheet Windows Server
SystoLOCK Passwordless Authentication Protect your Windows Devices with MFA with SystoLOCK Security | Vulnerability Scans and Assessment
ADaccountexpiration How to set an account expiration date in Active Directory 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

sysadmin top30a

  • IIS
    How to Change the Log File Directory location in IIS Web Server
  • bypass windows login main img
    How to disable auto login in Windows Windows
  • Screenshot 2022 04 27 at 00.50.35
    How to create a BitLocker System Partition [Part 2] Windows
  • GitLabrunner
    Install and Register GitLab Runner on Windows Version Control System
  • MBAM Replacement
    MBAM extended support ends April 2026: Find alternative solution Security | Vulnerability Scans and Assessment
  • maxresdefault 2 8
    Configure Windows Server using EC2 Launch AWS/Azure/OpenShift
  • officeonlineserver
    How to set up and Configure Office Online Server Microsoft Exchange/Office/365
  • banner
    How to Secure your API key in Postman Password Manager

Subscribe to Blog via Email

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

Join 1,825 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.