UMDF 2.0 Driver is not getting Deployed manually when tried with Devcon.exe.

Mahaboob Aslam 1 Reputation point


Good Morning!

I am working on UMDF2.0 driver using VisualStudio 2019, on Windows 10, using WDK .

With documentation provided by Microsoft to create Generic UMDF2.0 driver, I have created it using VS2019. On building the code, I get the .dll, .inf and .cert files are generated.

When tried to deploy the .dll file with .inf file in the target system, I am not able to deploy it manually using the Command: devcon.exe install UMDFDriver1.inf Root/UMDFDriver1.dll

I see the following output after executing the command:

Device node created. Install is complete when drivers are installed...
Updating drivers for Root\UMDFDriver1.dll from C:\Users\Mahaboob A Aslam\Desktop\New folder (7)\UMDFDriver1.inf.

devcon.exe failed.

I am doing it as per the documentation given by the Microsoft docs.

When i try to debug the Generic UMDF2.0 driver using VS2019, following the Microsoft Docs,
The debug control does not come into the source code, whereas it goes into the Machine instruction code.



I forgot to add the .inf file , below is content of UMDFDriver.inf file


; UMDFDriver1.inf



Signature="$Windows NT$"

Class=Sample ; TODO: edit Class

ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid


DriverVer= ; TODO: set DriverVer in stampinf property pages





%DeviceName%=MyDevice_Install, Root\UMDFDriver1 ; TODO: edit hw-id









1 = %DiskName%

; =================== UMDF Device ==================================















DisplayName = %WudfRdDisplayName%

ServiceType = 1

StartType = 3

ErrorControl = 1

ServiceBinary = %12%\WUDFRd.sys




UMDriverCopy=12,UMDF ; copy to drivers\umdf



; =================== Generic ==================================


ManufacturerName="<Your manufacturer name>" ;TODO: Replace with your manufacturer name

ClassName="Samples" ; TODO: edit ClassName

DiskName = "UMDFDriver1 Installation Disk"

WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"

DeviceName="UMDFDriver1 Device"

Please help me out in 1) Deploying the driver with the Devcon.exe
2) Procedure to follow with the detail steps to debug the code
I would be thankful to you if assisted for the following above two points.


Mahaboob A Aslam

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
9,517 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,606 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,462 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
6,802 questions
{count} votes