Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Error 0xc1420117: The directory could not be completely unmounted
  • hgbv
    Graphical Network Simulator: How to install GNS3 on macOS Network | Monitoring
  • windows 10 technical preview windows 10 logo microsoft 97543 1920x1080
    How to Remove the All Apps Option from Windows Start Menu via GPO /Registry Windows
  • Screenshot 2020 06 25 at 22.51.15
    Why is Data recovery is almost impossible from an overwritten Hard Drive Windows
  • wmic4
    Security Identifier: Find User SID in Windows Windows
  • Featured image Microsoft diagnostic feedback disabled
    Prevent your PC from sending Diagnostics Feedback off via Windows Settings and Group Policy Windows
  • How to Block IP Addresses Using Group Policy (GPO) in Active Directory
    Block IP Addresses Using Group Policy (GPO) in Active Directory Network | Monitoring
  • hero activedirectory 1
    Active Directory Contact and a User Account Object Differences Security | Vulnerability Scans and Assessment
  • Capture 91
    How to install IIS Web Server on Windows Server Web Server

Error 0xc1420117: The directory could not be completely unmounted

Posted on 24/10/202030/12/2023 Christian By Christian No Comments on 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.

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

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.

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.

Rate this post

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
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

  • hero activedirectory
    How to move a computer object from one container (OU) to another Windows Server
  • microsoft confirms some pcs freeze after windows 10 2
    Information on BOOTP Vendor Extensions and DHCP Options Windows Server
  • Screenshot 2020 05 26 at 18.57.25
    WDS and DHCP Deployment Scenarios: Configure DHCP Options 60, 66, and 67 Windows Server
  • 1 WeXxkEX0JG3oB781HD8Hrg 3
    Fix Access denied to the hard drive, and the security tab missing under properties Windows Server
  • Prevent Local Administrators from turning off BitLocker 1
    Prevent Local Administrators from managing BitLocker with the manage-bde command Windows
  • Determine GPO from GUID or Name
    How to determine GPO from GUID or Name Windows

More Related Articles

hero activedirectory How to move a computer object from one container (OU) to another Windows Server
microsoft confirms some pcs freeze after windows 10 2 Information on BOOTP Vendor Extensions and DHCP Options Windows Server
Screenshot 2020 05 26 at 18.57.25 WDS and DHCP Deployment Scenarios: Configure DHCP Options 60, 66, and 67 Windows Server
1 WeXxkEX0JG3oB781HD8Hrg 3 Fix Access denied to the hard drive, and the security tab missing under properties Windows Server
Prevent Local Administrators from turning off BitLocker 1 Prevent Local Administrators from managing BitLocker with the manage-bde command Windows
Determine GPO from GUID or Name How to determine GPO from GUID or Name Windows

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

  • hgbv
    Graphical Network Simulator: How to install GNS3 on macOS Network | Monitoring
  • windows 10 technical preview windows 10 logo microsoft 97543 1920x1080
    How to Remove the All Apps Option from Windows Start Menu via GPO /Registry Windows
  • Screenshot 2020 06 25 at 22.51.15
    Why is Data recovery is almost impossible from an overwritten Hard Drive Windows
  • wmic4
    Security Identifier: Find User SID in Windows Windows
  • Featured image Microsoft diagnostic feedback disabled
    Prevent your PC from sending Diagnostics Feedback off via Windows Settings and Group Policy Windows
  • How to Block IP Addresses Using Group Policy (GPO) in Active Directory
    Block IP Addresses Using Group Policy (GPO) in Active Directory Network | Monitoring
  • hero activedirectory 1
    Active Directory Contact and a User Account Object Differences Security | Vulnerability Scans and Assessment
  • Capture 91
    How to install IIS Web Server on Windows Server Web 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,836 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 AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.