devcon.exe update failed for installing RNDIS driver

qiuc 0 Reputation points
2024-10-08T02:34:58.2233333+00:00

Hi,

I have followed the instruction here to install the windows kits:

Windows Device Console (Devcon.exe) - Windows drivers | Microsoft Learn

Additionally, I have followed the suggestion here by disabling the driver signature enforcement

https://answers.microsoft.com/en-us/windows/forum/all/devconexe-update-failed-for-installing-rndis/36e526f0-e81f-44b5-baa4-84ec6f6f691f

I am using both of the following commands to update the RNDIS driver:

  1. devcon -r update ".\mod-rndis-driver-windows\RNDIS.inf" "USB\VID_20D1&PID_5E26"
  2. devcon update ".\mod-rndis-driver-windows\RNDIS.inf" "USB\VID_20D1&PID_5E26"

but I got the following error message:

"Updating drivers for USB\VID_20D1&PID_5E26 from .\mod-rndis-driver-windows\RNDIS.inf.

devcon failed."

From the error message, I cannot figure out why the command failed. Additionally, I am able to update the driver for the same device from device manager with the same RNDIS.inf. Do you probably know why it fails when using the devcon.exe? I am looking forward to your early reply. Thank you in advance.

Best Regards

Qiuc

Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
174 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.