Thinking Kernel Mode

ExAllocatePoolWithTag(KMScrapPad, sizeof(KMSCRAP), TAG_TKM);

  Home  |   Contact  |   Syndication    |   Login
  15 Posts | 0 Stories | 49 Comments | 26 Trackbacks


Sreejith S

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Article Categories


Image Galleries

Blogs I Read



You can use DPInst (Driver Package Installer) to install driver files for your device on Windows Operating Systems. DPInst.exe is part of DIFx (Driver Install Framework tools) which comes along with the Windows Driver Kit (WDK). You can find DPInst redistributable inside the redist\DIFx\DPInst folder of the WDK.

Using DPInst to install driver:

How to ?

1. Copy dpinst.exe to the folder where the driver files (sys, inf, dll) reside.

2. Optionally create a dpinst.xml file which is used to configure dpinst (

If your drivers are not signed you must use the <legacyMode/> tag in dpinst.xml.

3. Run dpinst.exe to install drivers using a 'device driver update' wizard.

posted on Tuesday, May 4, 2010 5:11 AM


# re: Installing drivers using DPInst 8/16/2010 9:18 AM Markus Schwalbe
Thanks, that really helped me!

# re: Installing drivers using DPInst 7/10/2011 2:01 PM Romania Hotels
The Microsoft Windows Driver Kit (WDK) Version 7.1.0 is an update of the WDK 7.0.0 release and contains a set of tools, code samples, documentation, compilers, headers, and libraries that driver developers can use to create drivers for Windows 7, Windows Vista, Windows XP, Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003.
Romania Hotels

# re: Installing drivers using DPInst 7/10/2011 2:05 PM Hoteluri Bucuresti
Windows XP x64 is now supported as an installation platform

Debugger Changes
The Debugging Tools for Windows have been updated in this release of the WDK. The following changes were made: Debugger Version changed to See the release notes in the debugger package for more information. Updated ndiskd.dll. Miscellaneous bugfixes in UMDF and KMDF debugger extensions: KMDF. Ability to print more than 50 requests on a queue. !wdfdevice correctly displays FileObjectClass Name. Display if a request is cancelled if it is on the driver notified list.
Hoteluri Bucuresti

# re: Installing drivers using DPInst 7/10/2011 2:08 PM Hoteluri Cluj
Sample Changes and Issues

NDIS: Xframeii: bugs fixed. Added NetVmini sample. Sensor skeleton sample: memory leak issues fixed. KMDF Toaster sample: bug fixed. WDM Event sample: bug fixed
Port I/O sample driver: There is a syntax issue in the file …\src\general\portio\sys\genport.inx that prevents the driver from being successfully installed on pre-Windows 7 systems. The workaround is to replace all occurrences of “PORTIO_Device” with “PortIO_Inst”.
Hoteluri Cluj

# re: Installing drivers using DPInst 6/7/2012 7:20 AM Lenovo Pc K330 Window 7 home Pre
I got the error I can't install Dpinst it says The device driver installation wizard was unable to find any drivers designed for your machine.Check with the Vendor or your site admin to ensure you the correct Program- How do i fix this??? Pls Help asap!

# re: Installing drivers using DPInst 10/17/2012 7:32 AM ahtisham
muna bhai

# re: Installing drivers using DPInst 11/29/2012 4:43 AM Vinoth
I am using unclassified signed drivers and I am not able to view my driver in DeviceManager -> Network Adapters. Can anyone help me?

Post A Comment