Install a driver in windows 10 iotcore using devcon.exe

Karthik 1 Reputation point
2021-03-25T12:45:28.243+00:00

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 for business Windows for IoT
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cris Zhan-MSFT 6,661 Reputation points
    2021-03-26T09:14:15.74+00:00

    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://learn.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://learn.microsoft.com/en-us/windows-hardware/manufacture/iot/add-a-driver-to-an-image

    0 comments No comments

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.