Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Error 0xc1420117: The directory could not be completely unmounted

Posted on 24/10/202031/08/2026 Christian By Christian No Comments on Error 0xc1420117: The directory could not be completely unmounted
  1. Home
  2. Windows Server
  3. Error 0xc1420117: The directory could not be completely unmounted
Unmounting errors

Deployment Image Servicing and Management (DISM) is a tool that allows you to service your images offline. In this article, you will learn how to fix Error 0xc1420117: The directory could not be completely unmounted, this is usually due to applications that still have files open within the mount directory. Here are some DISM-related errors, Failure 5627: How to fix error 0x800f0805, run DISM executable. Also, see Error 0xc1420127: The specified image in the specified wim is already mounted for read and write access.

Before I proceed with the steps to resolve this issue, I would like to explain some key differences between mounting and unmounting a wim file. Suppose you need to change a WIM file by adding or removing packages.

In that case, you must mount it properly on Windows using DISM, a command line that enumerates, installs, uninstalls, configures, and updates features and packages in Windows images.

After you modify a mounted image, you must unmount it. If you mounted your image with the default read/write permissions, you can commit your changes. This makes your modifications a permanent part of the image.

See the following guides for more details on ADK, MDT, Microsoft Endpoint Configuration Manager (SCCM), Intune, Autopilot, and WSUS. Also, see how to configure and deploy Windows using Microsoft Deployment Toolkit, and Windows Deployment Services for Windows 10 (ADK, MDT, and WDS).

0xc1420117 Error Incomplete Unmounting Due to Open Files

You may encounter this issue when mounting an image (install.wim) file. The “0xc1420117 Error Incomplete Unmounting Due to Open Files” occurred when I tried to mount a new Windows image, due to leftover residue in the previous mount point.

0xc1420117 error

See the following hyperlink for more details on ADK, MDT, Microsoft Endpoint Configuration Manager (SCCM), Intune, Autopilot, and WSUS. Also, see how to configure and deploy Windows using Microsoft Deployment Toolkit, and Windows Deployment Services for Windows 10 (ADK, MDT, and WDS).

Step 1: Only perform this step if you have some residue folder left in the mounted directory (folder).

To resolve the 0xc1420117 error, delete these folders before mounting the wim file again. See this guide on going about this issue “The action cannot be completed because the folder or file is open in another program: How to determine where a file is open in windows“.

Step 2: Now that you’ve removed the folders. Execute the command to unmount the Windows Image (install.wim file), optimizing it for your environment.

Dism /Unmount-image /MountDir:<target_mount_directory> {/Commit | /Discard}

After unmounting the win file. You should be able to address the 0xc1420117 Error Incomplete Unmounting Due to Open Files and then proceed to mount your Windows image again.

Continue with the modification by using the command below. Please modify this command to reflect your information. For more information, see the following guide on how to mount and unmount a Windows image file.

DISM /Mount-Wim /WimFile:"filename.wim" /index:3 /MountDir:"c:\temp"

I hope you found this blog post on how to fix Error 0xc1420117: The directory could not be completely unmounted, this is usually due to applications that still have files open within the mount directory helpful. Please let me know in the comment session if you have any questions.

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
Windows Server Tags:DISM, WDS, Windows 10

Post navigation

Previous Post: Error 0x800f0830: Discard the modified Image and start again, no operation was performed
Next Post: Log Off: How to sign out of Windows Server 2012

Related Posts

  • Devolusion RDM update e1784558877194
    Action required: Update Devolutions Remote Desktop Manager Before July 21 Linux
  • jmeterlogo 3
    Install and conduct performance testing using Apache JMeter on your Web App Configuration Management Tool
  • WDSMDT
    What are the differences between MDT and WDS Windows Server
  • ssl 600x315 1 1
    Components needed to create a certificate signing request Windows Server
  • article 1280x720.192a2586 1 1
    Fix Error 0xc1510111: You do not have permission to mount and modify this image Windows Server
  • wacxx
    How to set up System Insights on Windows Admin Center Windows Server

More Related Articles

article 1280x720.192a2586 1 1 Fix Error 0xc1510111: You do not have permission to mount and modify this image Windows Server
ad lds 832x400 1 Active Directory Lightweight Directory Services [AD LDS] Windows Server
WhatsApp Image 2022 02 20 at 4 How to use Postman for your POST Request Web Server
microsoft logo rgb wht All about Group Policies: Group Policy GPUpdate Commands Windows Server
Configure Windows Server with Sconfig How to Configure Windows Server Core using SConfig Windows
WAMPServer Virtual Host How to create Virtual Hosts in a WAMPserver Web Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Screenshot 2024 02 09 at 1.06.54 PM
    Programmatically Deploying App Service Resources in Azure AWS/Azure/OpenShift
  • enable or disable WinRM
    How to enable or disable WinRM via the command-line Windows
  • acctlockout 1
    Configure Local Administrators Account lockout Windows
  • Err connection timed out DNS
    How to Fix Err Connection Timed Out DNS Error Windows
  • Screenshot 2021 03 29 at 01.56.17
    How to prevent VLC player from reverting to the native video size on Mac Mac
  • ackup Repository and Add HyperV to VBR Inventory
    Create local Backup Repository and Add HyperV to VBR Inventory Backup
  • Slide1 3
    Azure Virtual Networks: Preparing Azure and On-Premises Virtual Networks with Azure CLI Commands AWS/Azure/OpenShift
  • cisco switches
    Delete the configuration of a Cisco router: How to wipe configuration off an interface on a Cisco router Network | Monitoring

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.