Windows update error 0x8007010b, ERROR_DIRECTORY. The invalid directory name can occur in Windows 10 if the update mechanism has been corrupted. The error means that Windows Update is trying to access a directory, but since it does not exist or the name is not valid, it returns an error. In this article, we will explain how you can get this error and update the system.
Fix Windows update error 0x8007010b
If you are having this problem, here are the things to try:
1] Run DISM
DISM or Deployment Image Servicing and Management (DISM) is a command-line tool used to repair corrupt system files using an existing Windows image. It can be used to shut down, uninstall, configure and update Windows features, packages, drivers, and more.
Open the command prompt or PowerShell with administrator permission and run the command with options such as / ScanHealth, / CheckHealth and / RestoreHealth
Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /RestoreHealth
Run the command one after the other and give it enough time to complete it. The final switch will make sure to repair any damage to system files like an invalid directory and fix it.
2] Run the Windows Update troubleshooter
Windows offers a built-in troubleshooter that can fix typical Windows Update problems without worrying too much. Such errors should be able to be resolved
- Open Windows settings (WIN + I)
- Go to Update & Security> Troubleshooting
- Find and click the Windows Update troubleshooter
- Click Run the troubleshooter
After the wizard completes the repair, try updating Windows 10 again and check if the error no longer occurs.
3] Download and install the update manually
If you cannot update this update manually, you can still download and install it from the Microsoft website. Microsoft offers a download center for all updates where you can find and download that particular update. Once downloaded, you can install it like any other software in Windows. You can also use Microsoft Update Catalog and WSUS Offline Update to perform an offline update.
4] Reset Windows Update cache
Windows Update is built with many components. It includes intelligent background transfer, Windows update service, cryptographic services, and application identification service. If one of the components does not work, the update may cause problems like this. It would be a good idea to reset these Windows update components, so check out this guide for all the details.
Here is the summary of all the steps to follow:
- Stop Windows Update Component Services
- Delete the qmgr * .dat files.
- Rename the SoftwareDistribution and catroot2 folders
- Reset the BITS service and the Windows Update service to the default security descriptor.
- Reregister BITS files and DLL files related to Windows Update.
- Delete incorrect registry values
- Reset Winsock.