After installing my driver, the virtual device should be created (Win 10).
When I install the driver in the first way:
devcon install INFfile HardwareID
everything is fine, the installation is successful, the virtual device is created, I can see it in the device manager.
But when I use the other way:
pnputil /add-driver INFfile /install
the installation is successful, but the device is not created.
I want to use pnputil utility because devcon is deprecated. What could be the problem?
As stated on the Microsoft Learn website, you should first run the devgen command:
devgen /add /bus ROOT /hardwareid HardwareID
pnputil /add-driver INFfile /install