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

  • screenshot 2020 02 07 at 20.59.01
    How to use the PsInfo utility from SysInternals Windows Server
  • dfg
    DISM failed with error 0x800f081f: Source file could not be found Windows Server
  • Determine GPO from GUID or Name
    How to determine GPO from GUID or Name Windows
  • you need the right to sign in through Remote Desktop Services
    Fix you need the right to sign in through Remote Desktop Services Windows
  • fix 0x00400d error
    Fix the request to add or remove features failed 0x00400d Windows Server
  • RDP Certificate Issues
    Connecting to the RDP host: Fix the Certificate could not be verified back to the root certificate Mac

More Related Articles

screenshot 2020 02 07 at 20.59.01 How to use the PsInfo utility from SysInternals Windows Server
dfg DISM failed with error 0x800f081f: Source file could not be found Windows Server
Determine GPO from GUID or Name How to determine GPO from GUID or Name Windows
you need the right to sign in through Remote Desktop Services Fix you need the right to sign in through Remote Desktop Services Windows
fix 0x00400d error Fix the request to add or remove features failed 0x00400d Windows Server
RDP Certificate Issues Connecting to the RDP host: Fix the Certificate could not be verified back to the root certificate Mac

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

  • Wordpress banner
    Fix WordPress Error “The Link You Followed Has Expired” Web Server
  • Screenshot 1
    Migrating SAP HANA Plugin to Veeam Backup
  • images 5
    IP Address UNREACHABLE: HTTP connection pool Max exceeded Configuration Management Tool
  • How to download install and use Kitty SSH Client on Windows
    Video on how to Download and Use KiTTY SSH Client on Windows Network | Monitoring
  • How to Convert a Distribution Group to a Security Group
    How to convert distribution group to security group Windows Server
  • Permission1
    How to create a Shortcut That enables Standard Users to run Applications as Administrator Windows
  • Fix Network related MSSQL instance error
    Fix a network-related or instance-specific error occurred while establishing a connection to SQL Server [Part 2] Oracle/MSSQL/MySQL
  • banner
    How to install and configure FSRM in Microsoft 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,821 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.