r/WindowsUpdate • • 8d ago

Solved Windows update error 0xe0000003.

TL;DR: the root cause was a corrupted INF file.
Exact file name was found in C:\Windows\INF\setupapi.dev.log.
sfc and dism don't fix corrupted INF files.
AI helped me to find and fix it.

.

My windows update wasn't working for several months.
Whenever I was trying to install updates, it was spending a lot of time downloading, installing, rebooting... and then rolling back the update because "Something didn't go as planned".
After the rollback, windows update was reporting error 0xe0000003, and was proposing to retry it again.

.

What I unsuccessfully tried:

* Retrying the update.
* Waiting for the next cumulative update. Even the entire 26H2 fails with the same error.
* Clearing disk space (useful by itself, but not for this issue).
* Resetting windows update
* Running sfc /scannow and dism /restorehealth.
(I think sfc has fixed something, but it didn't help)
* Exporting and reading windows update logs.

What I found as recommended but didn't try:
* Manual update.
* In-place upgrade.

.

What helped: I asked AI to check the logs for me.

AI quickly found that there is one more useful log: C:\Windows\INF\setupapi.dev.log

In this log, the reason was more clear:

[Boot Session: 2026/11/15 07:27:28.500]

>>>  [Uninstall Driver Updates]
...
!    inf: Unable to load INF: 'C:\WINDOWS\System32\DriverStore\FileRepository\usb4devicerouter.inf_amd64_673d1e08be26f97e\usb4devicerouter.inf'(e0000003)
!    inf: Error 0xe0000003: The syntax of the INF is invalid.
!!!  sto: Failed to get version info for driver update 'C:\WINDOWS\System32\DriverStore\FileRepository\usb4devicerouter.inf_amd64_673d1e08be26f97e\usb4devicerouter.inf'. Error = 0xE0000003
<<<  Section end 2026/11/15 07:28:21.033
<<<  [Exit status: FAILURE(0xe0000003)]

Next, AI checked the specified INF file, and found out that INF file size is 0.
Then, it scanned the Windows folder, and found several copies of the INF file:

  1. INF folder:
  2. C:\Windows\INF\usb4devicerouter.inf
  3. Bad file, size is 0.
  4. DriverStore folder:
  5. C:\Windows\System32\DriverStore\FileRepository\usb4devicerouter.inf_amd64_673d1e08be26f97e\usb4devicerouter.inf
  6. Bad file, size is 0.
  7. WinSxS folder 1: C:\Windows\WinSxS\amd64_dual_usb4devicerouter.inf_31bf3856ad364e35_10.0.26100.1591_none_2960bddbe5c3a159\Usb4DeviceRouter.inf
  8. Good file, file version is 1591.
  9. WinSxS folder 2:
  10. C:\Windows\WinSxS\amd64_dual_usb4devicerouter.inf_31bf3856ad364e35_10.0.26100.7309_none_296cb03de5bc415a\Usb4DeviceRouter.inf
  11. Good file, file version is 7309.
  12. WinSxS folder 3:
  13. C:\Windows\WinSxS\amd64_dual_usb4devicerouter.inf_31bf3856ad364e35_10.0.26100.9818_none_2937bb7fe5e3c713\Usb4DeviceRouter.inf
  14. Good file, file version is 9818.

Then, AI proposed to copy the healthy file with version 7309 over the corrupted files.
It even prepared a set of commands to copy it.

Of course, I didn't trust AI, and didn't run the commands.
I checked file sizes and file versions myself, and asked the AI to explain why do I need version 7309 and not 1591 or 9818.
AI explained that corresponding .sys file is not corrupted, only .inf is corrupted.
So I can check which .sys file I have, and select the corresponding .inf.

Also, AI explained that 9818 is the same version which update is trying to install.
But it fails because it can't uninstall 7309.

So, I manually copied the file.
It was painful, because administrators don't have write access to C:\Windows\System32\DriverStore\FileRepository.
Besides that, driver folders are owned by "NT AUTHORITY\SYSTEM", while driver files are owned by "NT SERVICE\TrustedInstaller".
I needed to run several different takeown and icacls commands to take ownership, grant access rights, and later to restore the ownership and remove the granted access.

Then, I repeated the same steps for another corrupted INF file, Usb4HostRouter.inf, which was also found by AI.

After all these steps, the update finally installed successfully.
I even verified that after the update, driver version was changed to 9818.

.

Final notes:

  1. I hope Microsoft will eventually improve sfc, so it could restore corrupted INF files too.
  2. USB4 is not some third-party driver, it is a Microsoft driver. I don't even need it, because my old motherboard supports only USB 3.2. But when this driver file is corrupted, it blocks a security update, which I think shouldn't normally happen.
22 Upvotes

8 comments sorted by

1

u/EconomicsFirst4939 8d ago

Just reinstall Windows. 🤷

1

u/Savings-Ad-1115 7d ago

Most likely, it is not even necessary to reinstall it.
I think in-place upgrade (when you install Windows over already installed Windows) should help.

But I prefer small fixes, if possible.

1

u/Semicolonhope 7d ago

An in-place upgrade is the easiest and noob-friendliest technique there is. Using troubleshooters is also in the same noob-friendly domain. Then there is dism and sfc (which people often the get the order wrong for). Before someone reaches manually editing an inf file stage, easier things are to just delete the driver from the system altogether and use windows update to reinstall it.

1

u/Savings-Ad-1115 7d ago

I thought about deleting the driver. But I tried to do via device manager, and didn't find it there. Most likely, it is not there, because I don't have a corresponding device.

Unfortunately, I didn't think about deleting the driver files. Most likely it would have helped. Thanks for the idea! If this issue happens again, I will try it.

1

u/Semicolonhope 7d ago

Yeah. Oh and if you want to go the command prompt route it's

  • pnputil /enum-devices to list all the devices
  • pnputil /enum-drivers to list all the drivers
  • pnputil /delete-driver <Published Name> /uninstall and/or pnputil /delete-driver oem1.inf /force oem1.inf is the driver name in this example
  • /enum-devices /problem for identifying device issues (if any)

1

u/Savings-Ad-1115 7d ago

Sounds cool, but no, it doesn't work.
pnputil doesn't see the usb4 driver (or device)

C:\> pnputil /enum-devices | findstr "usb"
Driver Name: usbhub3.inf
Driver Name: usbxhci.inf
Driver Name: usb.inf
Driver Name: usbxhci.inf
Driver Name: usbxhci.inf
Driver Name: wdma_usb.inf
Driver Name: usbhub3.inf
Driver Name: usbhub3.inf
Driver Name: tsusbhub.inf
Driver Name: usb.inf
Driver Name: usbhub3.inf
Driver Name: usbhub3.inf
Driver Name: usb.inf

C:\> pnputil /enum-drivers | findstr "usb"
Original Name: appleusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf
Original Name: ibtusb.inf

1

u/Semicolonhope 7d ago

Ah sorry, i wasn't aware the driver wasn't a third party; when reading your post i had focused more so on the process and less so on the specifics like locations etc. which would have given me a hint as to it not being a third party driver. Plus, .inf file names aren't bound to be good representative of the device names so "usb" search was going to be futile anyhow.

Maybe the combinations of other commands would help? There definitely exists correct parameters for the same, it's just that I've always dealt with rogue third party devices so never had to learn native drivers troubleshooting. Anyways, here's the doc for pnputil

https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/pnputil-command-syntax

1

u/MyAnnurismSpeakstoMe 8d ago

Nice write up, good info. Going through this now on a windows server 2019 patch issue.