DPINST driver removal Windows 7 not working

Discussion in 'Windows Vista Drivers' started by Kota, May 5, 2010.

  1. Kota

    Kota Guest


    I am using DPINST tool for removing the driver package from system.
    Below is the command used for removing the driver package:
    dpinst.exe /U xxx.inf /D

    This prompts the message to delete the binaries, but it is not removing in
    Win 7, and also the entries in device manager still exists even after a
    It is removing the icon in Add & remove programs.

    Driver is still accessible.

    I also ensured this behavior appears same on fresh Win 7 installation.

    This problem is appearing only in Windows 7, where as it is working fine in
    XP, Vista, Server. Here driver binaries are removed and device manager also

    Let me know, is there any other methods/tools to remove the binaries and
    entry in device manger to remove in Win 7.

    Kota, May 5, 2010
    1. Advertisements

  2. Kota

    Luv2Hike Guest

    Accoding to the Windows 7 WDK (as documented in


    Sets the deleteBinaries flag to ON, which configures DPInst to delete the
    binary files that were copied to a system when a driver package was

    Note Starting with Windows 7, the /d switch is ignored by the operating
    system. Binary files, which were copied to a system when a driver package
    was installed, can no longer be deleted by using DPInst.

    Apparently, there are no other way to delete the driver file through DIFx or
    Luv2Hike, May 5, 2010
    1. Advertisements

  3. I hope lawyers writing license agreements for device drivers will
    consider this, and not require users to destroy all copies of
    drivers when transferring the device to someone else.
    Kalle Olavi Niemitalo, May 5, 2010
  4. Kota


    Aug 26, 2012
    Likes Received:
    I too face the same issue. Have you a found a solution for this? If so please share the solution. I have posted the same isuue in OSR with the Titled as "Dpinst uninstallation in windows 7?"
    Please provide me your suggestions on this and solutions if any? Thanks..
    sethu, Aug 26, 2012
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.