Windows 10 – KB3147458 – Windows update failure – 0x80070003 – ERROR_PATH_NOT_FOUND – FIXED!!

The Problem

I have numerous windows 10 machines and my desktop PC has started failing to apply the windows updates.

These two windows updates failed to install

  • Cumulative Update for Windows 10 Version 1511 for x64-based Systems (KB3140743)
  • Cumulative Update for Windows 10 Version 1511 for x64-based Systems (KB3147458)

Note: because of these issues I have set my windows update to notify and let me choose when to download and install

Setup Windows Update via Group Policy

The Symptoms

  • You are told there is a new update and you let it download and install.
  • Once completed you are asked if you wish to restart, so click restart
  • You are told that it is getting ready to install updates
  • In my case it gets to 3% and then reboots
  • Next it gives a message, “Cannot complete install. Undoing changes”
  • The computer reboots again
  • On login, you are told some udpates were unsuccessful

The Issue

In my particular instance this fixed the issue.

I first went and viewed the log file: C:\Windows\Logs\CBS\CBS.log
Depending on how long it has been since the error occured you may need to look for a file called “CbsPersist_20160425131704.log” where the number is the date/time of when the log file was created.

Open the file and search for “0x80070003 – ERROR_PATH_NOT_FOUND”

I found mine is a section as follows:

2016-04-25 23:12:54, Info                  CBS    Shtd: Processing non-critical driver operations queue, Count 16.
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: sdbus.inf, Ranking: 2, Device-Install: 0, Key: 1, Identity: sdbus.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: bth.inf, Ranking: 2, Device-Install: 0, Key: 2, Identity: bth.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: tdibth.inf, Ranking: 2, Device-Install: 0, Key: 3, Identity: tdibth.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: bthleenum.inf, Ranking: 2, Device-Install: 0, Key: 4, Identity: bthleenum.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Adding an owner for hash: 2/uvCAVYzknSQbrJMtPw5p+n8eknGWrTSf+eo6ei3zk=, for inf: sdstor.inf
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: sdstor.inf, Ranking: 2, Device-Install: 0, Key: 5, Identity: sdstor.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.17, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: wdmaudio.inf, Ranking: 2, Device-Install: 0, Key: 6, Identity: wdmaudio.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: xboxgip.inf, Ranking: 2, Device-Install: 0, Key: 7, Identity: xboxgip.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.122, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: xinputhid.inf, Ranking: 2, Device-Install: 0, Key: 8, Identity: xinputhid.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Adding an owner for hash: pJruD+nVm6ayxky1M89Rq+wzjrA46qCjS1J3joqW/ak=, for inf: capimg.inf
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: capimg.inf, Ranking: 2, Device-Install: 0, Key: 9, Identity: capimg.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.17, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: usbser.inf, Ranking: 2, Device-Install: 0, Key: 10, Identity: usbser.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.71, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: usbstor.inf, Ranking: 2, Device-Install: 0, Key: 11, Identity: usbstor.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.162, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: msports.inf, Ranking: 2, Device-Install: 0, Key: 12, Identity: msports.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: usbhub3.inf, Ranking: 2, Device-Install: 0, Key: 13, Identity: usbhub3.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.122, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: usbxhci.inf, Ranking: 2, Device-Install: 0, Key: 14, Identity: usbxhci.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.212, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Adding an owner for hash: a+LrgEuePl2Wf36Xe0y3C3sWsI0AW+UJ7kPi+FUTgPw=, for inf: mrvlpcie8897.inf
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: mrvlpcie8897.inf, Ranking: 2, Device-Install: 0, Key: 15, Identity: mrvlpcie8897.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.122, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Doqe:   q-install: Inf: acpi.inf, Ranking: 2, Device-Install: 0, Key: 16, Identity: acpi.inf, Culture=neutral, Type=driverUpdate, Version=10.0.10586.122, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2016-04-25 23:12:54, Info                  CBS    Perf: Doqe: Install started.
2016-04-25 23:12:54, Info                  CBS    Doqe: [Forward] Installing driver updates, Count 16
2016-04-25 23:12:54, Info                  CBS    DriverUpdateInstallUpdates failed [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND]

The issue is that one or more of the 16 drivers it is attempting to update has failed to be installed with a Path Not found error, but which one/s?

To find the details of the erroring driver update go to this file: c:\windows\Inf\setupapi.dev.log

Open this file and search for “Exit status: FAILURE”

I found the following, item of interest:

>>>  [Install Driver Updates]
>>>  Section start 2016/04/25 23:13:24.172
      cmd: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.10586.168_none_76587b40265ca57e\TiWorker.exe -Embedding
     sto: Image State        = Specialized
     sto: Image Architecture = amd64
     sto: Transaction        = CbsDriversAndPrimitives
     sto: Driver Updates     = 16
!    inf: Unable to load INF: 'C:\WINDOWS\System32\DriverStore\FileRepository\capimg.inf_amd64_5a4379f63bea786c\capimg.inf'(00000003)
!    inf: Error 3: The system cannot find the path specified.
!!!  inf: Invalid INF 'C:\WINDOWS\System32\DriverStore\FileRepository\capimg.inf_amd64_5a4379f63bea786c\capimg.inf', parsing error on line 0. Code = 1002
!!!  sto: Failed to get version info for driver update 'C:\WINDOWS\System32\DriverStore\FileRepository\capimg.inf_amd64_5a4379f63bea786c\capimg.inf'. Error = 0x00000003
<<<  Section end 2016/04/25 23:13:24.282
<<<  [Exit status: FAILURE(0x00000003)]

As you can see it is saying path not found in the FileRepository folder.
So I went looking and its right, I had no "capimg.inf_amd64_5a4379f63bea786c" folder!

The fix

In my case I have many other healthy windows 10 machines so I went and looked and sure enough they had the missing folder.

So I firstly copied the folder onto a usb key from the healthy machine.

There is a security issue with the FileRepository folder in that you will have no permissions on this folder.
To copy the "capimg.inf_amd64_5a4379f63bea786c" folder into the FileRepository directory you will need to go into the Advanced security and take ownership first. I am an admin on my PC, so I changed ownership to the Administrators group and then gave administrators full persmissions.

Once that is done you should be able to copy the missing folder into the FileRepository directory.

Next try to apply the update again and in my case it worked.

Windows10Update Success

7 thoughts on “Windows 10 – KB3147458 – Windows update failure – 0x80070003 – ERROR_PATH_NOT_FOUND – FIXED!!

  1. Thanks for the pointers, I’ve been battling the same issue (but with usbser.inf) for months, even spoke to MS about it but that went nowhere. setupapi.dev.log was the missing link for me, it shows that the version of usbser it thinks is current also does not exist in the FileRepository folder (but another version does).

    I fixed the last MS update that failed for the same reason by just nuking some suspicious usbser folders in WinSXS – that worked that time but failed again with today’s update. I never really knew what exactly the cause was.

    Looking in the registry, the ‘Active’ usbser driver (HKLM\SYSTEM\DriverDatabase\usbser.inf) is indeed a version that does not exist in FileRepository. As the update wants to update this driver, I won’t bother finding the missing version but will just change the registry entry to point at the one I have, and let it the update upgrade it. If it fails I’ll report back…

  2. .. yep, it worked. My only FileRepository usbser.inf_… folder was usbser.inf_amd64_756afc9aa127e768, but the registry entry (corrected: HKLM\SYSTEM\DriverDatabase\DriverInfFiles\usbser.inf) was pointing at another.

    I simply changed the different parts in the (Default) and Active keys to my existing ‘756afc9aa127e768’, then the latest update installed fine.

    After the update I know have two usbser.inf Folders in FileRepository (I guess it keeps the old version around in case the update is uninstalled) and the registry keys point to the new one.

  3. Thank you so much, John. Your solution worked like a charm.

    I read about your website and its solution in a post by jumpingjackflash5 on March 2, 2020 in this Microsoft forum:
    https://answers.microsoft.com/en-us/windows/forum/all/windows-update-error-0x80070003/47dbd7ed-0881-4889-9214-e93299bfb707

    In my case it was this folder missing:
    C:\Windows\System32\DriverStore\FileRepository\hpsamd.inf_amd64_0784fd3ef0d7ec93

    The folder contains files for the HP Smart Array SAS/SATA Controller Support (which the PC doesn’t even have). The PC is an HP Pavilion 510-p020 with Windows 10 1909.

    I copied the same folder from a healthy PC to the problem PC and then Windows Update completed successfully. I didn’t even need to do anything with folder permissions to complete the copy. I copied the folder from the healthy PC to a flash drive and then to the Desktop of the problem PC while logged in as a local admin. Then I copied (not moved) it to the FileRepository folder.

    Before finding this solution, I ran the Windows Update troubleshooter which found nothing wrong. I did not try any of the tricks of deleting folders or SFC or DISM.

  4. Hi Folks,

    I would like to know what is the root cause for this issue. There are 720 computers with this issue at company that I work. I created s PS script to identify the issue and copy/paste the missing files. But I need to know the root cause. Thanks a lot.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.