Libusb-win32 Driver Download For Windows

Posted on  by admin

Yesterday I’ve spent like 2 hours fighting to make USBasp ISP programmer work under Windows 10 64bit. Seriously, that was like some kind of nightmare that turned into a comedy. All web pages that I’ve found suggested following procedure:

Libusb-win32 is a part of the USB library libusb 0.1 to the Microsoft Windows operating systems (Windows 2000, Windows XP, Windows Vista and Windows 7; Windows 98 SE and Windows ME for versions up to ). Extended kernel level support for libusb-win32. Supports Unix-like operating systems using Mono.NET and libusb-1.0. Common device classes allow for a single code base to support multiple drivers and platforms. Includes a Usb InfWizard utility (Windows only) for generating usb installation packages, removing devices, and installing drivers.

Libusb-win32 Driver Download for windows
  1. Download zadig
  2. Install libusb-win32
  3. Be happy

Unfortunately, in my case all attempts failed miserably. All I was getting from avrdude was

I’ve found a solution. Internet was wrong. libusb-win32 was not the correct driver for USBasp. The correct driver was libusbK (v3.0.7.0). After installing libusbK USBasp came back to life!

09 Jun 2018, 12:00am TZ +00:00

Its common that one needs to use a programmer from the Arduino IDE, but onWindows 10 things are not as simple. Many times the drivers installed are notcorrect hence the avrdude tool in the Arduino IDE refuses to work.


Now, we have a way to do this programming in Linux as well.Have a look at my latest articleProgramming Arduino Bootloader using Avrdude with AVRISP mkII in Manjaro (Arch Linux).

Here we would look at a way to make that possible.

The idea would be first to get the Libusb-Win32 driver installed which isessential for the avrdude to work.

Note: In case you have AtmelStudio installed this might have difficultly,due to the presence of the Jungo WinUSB driver. We would look into movingaround that.

Let’s assume that on the PC we have the following situation:

  1. No drivers installed for AVRISP mkII
  2. We have Admin access
  3. We have internet available

Getting Libusb-win32#

The libusb-win32 package available from Sourceforge.

We just need to download the latest available release version of the package.

Currently it is as on June 2018.

Make sure to get something on the similar lines.

If you do not find, just go the Files section of the Sourceforge and go to the libusb-win32-releases folder. Select the latest version folder anddownload the file similar to the above.

Setting Up Driver#

Next, unarchive / unzip the Zip file as on June 2018.

Inside would be a directory structure similar to :

1. Open bin directory.#

2. There in execute the inf-wizard.exe after connecting the AVRISP mkII.#

3. Press the Next button.#

4. Select the AVRISP mkII in the list#

The Ids would be -

VendorID: 0x03EB

ProductID: 0x2104

Click Next to start the Ini creation process

5. Device Configuration#

Do Not Touch this

Click Next to Proceed.

Libusb-win32 Driver Download For Windows

6. Save the INI file#

Next it would ask to save an INI file with the name AVRISP_mkII.inf

Create A directory Named AVRISP_mkII-Driver.

Navigate to this directory and then Click on Save.

Next Click on Done to continue.

7. The Driver Directory#

It should look something like

Disable the Driver Signing check#

Libusb-win32 Driver Download For Windows 7

We would be disabling the Driver signing check temporarily.

  1. Hold Shift and select Restart from the Start menu.This would enter the advance setup mode.

  2. In Advanced Setup mode : Select Troubleshoot ->Advance Options

  3. In Advanced Options click on See more recovery options

  4. Next Startup Settings - This would reboot the PC and come to anotherreboot screen displaying options with function keys to select them.

  5. Press F7 this would select to Disable Driver Signature Enforcement -Again the system would reboot into normal windows.

  6. Now Open the Device Manager : Right click the AVRISP mkII under Other devices and select Update driver.

  7. Select the Directory Location where we earlier stored the generated driver.

  8. Windows 10 would show Warning about driver having no signature.Don’t worry its not a problem just select Install Anyway…

  9. Now you should be able to see libusb-win32 devices under which theAVRISP mkII is present in Device Manager

  10. We need to restore the Driver signing. Open an Administrator Command Prompt.

  11. In Administrator Command Prompt Type Command :BCDEDIT /set nointegritychecks OFFThis would re-Enable the Disable Driver Signature Enforcement

  12. Reboot the PC normally.

Note: The Easy way to the enable and disable Driver Signature EnforcementAre 2 commands for an Administrator Command Prompt:

  1. To disable device driver signing, type BCDEDIT /set nointegritychecks ON then press Enter
  2. To enable device driver signing, type BCDEDIT /set nointegritychecks OFF then press Enter


This completes the Installation of the Driver.

Now we can try and check in the Arduino IDE if the avrdude interface works withAVRISP mkII

Libusb-win32 Windows 10

The generated Driver is included here.