devcon.exe update failed for installing RNDIS driver
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
I am using both of the following commands to update the RNDIS driver:
- devcon -r update ".\mod-rndis-driver-windows\RNDIS.inf" "USB\VID_20D1&PID_5E26"
- 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