Update or reinstall the drivers for the malfunctioning device, then restart your computer. If a USB device is generating the code 39 error, uninstall every device under the Universal Serial Bus controllers hardware category in the Device Manager, then properly reinstall the drivers.