Fix Function Driver Was Not Specified for This Device Instance
In this article
To fix the Windows error “Function driver was not specified for this device instance,” you usually need to reinstall or update the device driver, or clear a corrupted driver cache. This error appears in Device Manager (often with a yellow warning icon) and means Windows cannot find the correct function driver for that hardware. The fix typically takes under 10 minutes and does not require special tools.
What You'll Need
- Administrator access to the Windows PC
- Internet connection (for downloading drivers if needed)
- Optional: the device’s model name or ID (found in Device Manager)
Step-by-Step
- Open Device Manager. Press Windows + X and select Device Manager. Alternatively, search “Device Manager” in the Start menu.
- Locate the problem device. Look for a device with a yellow exclamation mark or an error icon. Expand categories like “Other devices” or “Universal Serial Bus controllers” to find it.
- Check the device status. Right-click the device and select Properties. On the General tab, you should see the error “Function driver was not specified for this device instance” (code 31 or similar). Note the device name and any hardware ID (on the Details tab, select “Hardware Ids” from the dropdown).
- Uninstall the device. Right-click the device and choose Uninstall device. In the confirmation dialog, check the box that says “Delete the driver software for this device” (if available) and click Uninstall.
- Scan for hardware changes. In Device Manager, click the Action menu and select Scan for hardware changes. Windows will re-detect the device and try to install the correct driver automatically.
- If Windows does not install a driver, update it manually. Right-click the device and select Update driver. Choose Search automatically for drivers. If that fails, select Browse my computer for drivers and point to a folder where you have downloaded the driver from the manufacturer’s website.
- If the error persists, use the hardware ID to find the correct driver. Go to the Details tab of the device’s Properties, select “Hardware Ids” from the dropdown, and copy the first string (e.g.,
USB\VID_1234&PID_5678). Search that string online to find the exact driver from the manufacturer. - Install the downloaded driver. Run the installer if it’s an executable, or use Device Manager’s “Update driver” > “Browse my computer” to point to the extracted driver folder.
- Restart your PC. After installing the driver, restart Windows to ensure the driver loads correctly.
- Check Device Manager again. The device should now show no error. If it still shows an error, proceed to the troubleshooting section below.
Common Mistakes
- Forgetting to delete the old driver software. If you uninstall the device but leave the old driver files, Windows may reinstall the same corrupted driver. Always check the “Delete the driver software” box when uninstalling.
- Using the wrong driver version. Installing a 32-bit driver on 64-bit Windows, or a driver for a different model, will not fix the issue. Always match the driver to your Windows version (check in Settings > System > About) and your exact device model.
- Skipping the restart. Some drivers only load after a full restart. If you skip it, the error may remain.
- Disabling the device instead of uninstalling. Disabling just prevents the device from starting; it does not clear the corrupted driver entry.
Tips
- Use the hardware ID (from the Details tab) to search for drivers – it’s more accurate than searching by device name alone.
- If you have a laptop or prebuilt PC, check the manufacturer’s support page for your exact model. They often provide a list of drivers specific to your system.
- For USB devices, try plugging the device into a different USB port (preferably one directly on the motherboard) – sometimes a faulty port causes the driver issue.
- If the device is a printer, camera, or external drive, disconnect it, uninstall the driver, restart, and then reconnect it – this often forces a clean install.
Troubleshooting
If the steps above did not resolve the error, try these in order:
- Run Windows Update. Go to Settings > Update & Security > Windows Update and click “Check for updates.” Sometimes Windows delivers a compatible driver that way.
- Use the “Add legacy hardware” wizard. In Device Manager, click Action > Add legacy hardware. Choose “Install the hardware that I manually select from a list” and then select the appropriate device type. This can force Windows to reinstall a generic driver.
- Check for a BIOS/UEFI update. If the device is built-in (e.g., a wireless adapter), a BIOS update from the manufacturer may fix driver compatibility issues. Visit your motherboard or PC manufacturer’s support page.
- Clear the driver cache. Open Command Prompt as administrator and run
pnputil /delete-driver oem*.inf /uninstall /force(this removes all third-party drivers – be cautious). Then restart and reinstall the specific driver. - Use System Restore. If the error appeared after a recent change, restore Windows to a point before the problem occurred. Search “Create a restore point” and click “System Restore.” This does not delete personal files but may remove recently installed drivers.
- If the device is a USB device, try a different computer. If it works there, the problem is with your PC’s USB controller – update the chipset driver from your motherboard manufacturer.
Warning: If you use pnputil to delete all third-party drivers, you may lose drivers for other devices. Only do this if you are comfortable reinstalling them.
Frequently Asked Questions
What does “function driver was not specified” mean?
It means Windows could not find the software (the function driver) that controls the hardware device. This usually happens after a driver update fails, a device is plugged into a port that does not support it, or the driver files are corrupted.
Can I ignore this error?
No. The device will not work correctly. If it is a non-essential device (like a card reader), you may ignore it, but you should still fix it to avoid system instability.
Will reinstalling Windows fix this?
Yes, a clean Windows installation will reset all drivers, but it is a drastic step. Try the steps above first – they resolve the issue in most cases.
Why does this happen after a Windows update?
Windows updates sometimes replace a driver with an incompatible version. Uninstalling the device and letting Windows reinstall the previous driver often fixes it. You can also roll back the driver in Device Manager (Properties > Driver > Roll Back Driver) if that option is available.
Is this error related to a hardware failure?
Rarely. It is almost always a software/driver issue. However, if the device is physically damaged, you may still see this error. Test the device on another computer to rule out hardware failure.
How do I find the correct driver if the manufacturer’s website is confusing?
Use the hardware ID method described in Step 7. Search the exact hardware ID (e.g., PCI\VEN_8086&DEV_1234) on a search engine. You will often find the driver on the manufacturer’s support page or on reputable driver databases like Microsoft Update Catalog.