question

Karthik-4681 avatar image
0 Votes"
Karthik-4681 asked Criszhan-msft edited

Install a driver in windows 10 iotcore using devcon.exe

Hi,
I'm trying to install a driver using devcon. I have connected my PC and target(iMX6Q) using PowerShell. The .sys and .inf files of the driver is copied to the target. When I execute devcon dp_add driver.inf in PowerShell, it says the driver was successfully installed. But I'm not able to see the same in Windbg. How can I verify is the driver module is loaded or not? I also tried installing using pnputils but the result is same. It says the driver has been installed successfully, but when I check using lm command the driver is nowhere to be found.

 Can someone guide me through?

Thank you

windows-iot-10core
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Criszhan-msft avatar image
0 Votes"
Criszhan-msft answered Criszhan-msft edited

Hi,

Please make sure to install the driver in Windows 10 Iot Core using the appropriate devcon commands, and restart the device after installing the driver.

Whether the driver is successfully installed can also be verified from the normal operation of the corresponding hardware device.

Usually the devcon.exe utility can be used to install driver on a device with Windows 10 Iot Core installed.
The device console utility is useful in identifying and managing installed devices and drivers.
https://docs.microsoft.com/en-us/windows/iot-core/manage-your-device/commandlineutils#device-drivers

In addition you can add the driver to the Iot Core image and rebuild the FFU image.
https://docs.microsoft.com/en-us/windows-hardware/manufacture/iot/add-a-driver-to-an-image


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.