Delete Unwanted Drivers in Windows 10 – Simple Guide
In this article
Yes, you can delete unwanted drivers in Windows 10 by using Device Manager, PowerShell, or a driver‑cleanup utility, and each method safely removes stale or problematic driver packages.
What You'll Need
- An account with administrator privileges.
- Access to Device Manager (built‑in).
- PowerShell (built‑in) for command‑line removal.
- Optional: a third‑party tool such as Driver Store Explorer (free from the official GitHub repository) for a graphical view of the driver store.
- Optional: a recent system restore point or a full backup in case a needed driver is removed accidentally.
Step‑by‑Step
- Create a restore point (highly recommended). Open the Start menu, type "Create a restore point", select the matching result, click Create…, give it a name like "Before driver cleanup", and press Create. This gives you a safety net if a driver removal causes hardware to stop working.
- Identify the driver you want to delete. Open Device Manager (right‑click the Start button and choose Device Manager). Expand the category that contains the device, right‑click the device, and choose Properties**. Switch to the Driver tab and note the Driver Provider, Driver Date, and Driver Version**. This information helps you confirm you are targeting the correct package.
- Uninstall via Device Manager (basic method). In the same Properties** window, click Uninstall Device**. If a checkbox appears that says "Delete the driver software for this device", check it to remove the driver files from the driver store. Click Uninstall** and let Windows complete the process. Restart the computer so Windows can reinstall a generic driver if needed.
- Use PowerShell to list all driver packages. Open PowerShell as administrator (right‑click the Start button, select Windows PowerShell (Admin)). Run the command:
pnputil /enum-drivers
This displays every driver package stored in the driver store, along with its published name (e.g., oem12.inf) and a short description. - Find the unwanted driver’s published name. Scan the output for the driver description you noted earlier. Note the Published Name** (the oemXX.inf value). You can also filter the list with:
pnputil /enum-drivers | findstr /i "keyword"
Replace keyword with part of the driver’s name or provider. - Delete the driver package with pnputil. Once you have the published name, run:
pnputil /delete-driver oemXX.inf /uninstall /force
The /uninstall flag removes the driver from any devices that are currently using it, and /force bypasses prompts. PowerShell will confirm the removal. - Verify removal. Run
pnputil /enum-driversagain and confirm the oemXX.inf entry no longer appears. Re‑open Device Manager to ensure the device now shows a generic driver or the correct replacement. - Optional: Use Driver Store Explorer for a visual approach. Download the latest release from the official GitHub page, extract the zip, and run DSE.exe** as administrator. The program lists every driver package with columns for version, date, and provider. Select the unwanted entry, right‑click, and choose Delete Driver. Confirm the prompt and restart the PC.
- Clean up leftover files. After removal, open File Explorer, navigate to
C:\Windows\System32\DriverStore\FileRepository, and look for folders named after the driver’s INF file (e.g.,oemXX.inf_...). Delete any empty or clearly obsolete folders. Be careful not to delete folders that belong to active hardware. - Restart and test. Reboot the computer. Verify that the hardware still works as expected (e.g., audio still plays, network connects). If a device fails, roll back using the restore point created earlier or reinstall the driver from the manufacturer’s website.
Common Mistakes
1. Deleting a driver that is still in use. Removing a package without the /uninstall flag can leave the device without a functional driver, causing blue screens or hardware loss. Always use the flag or uninstall via Device Manager first.
2. Confusing driver versions. Many devices have multiple versions of the same driver (e.g., older and newer). Deleting the newest version while leaving an older, buggy one can re‑introduce the problem you were trying to fix.
3. Skipping the restore point. Without a restore point, an accidental deletion may require a full system reinstall. The time spent creating a restore point is negligible compared to the trouble of recovery.
4. Removing Microsoft‑signed core drivers. Drivers that ship with Windows (e.g., for graphics, storage, or USB) are often essential. Deleting them can cause Windows Update to repeatedly reinstall them or cause hardware to stop working.
Tips
- Use the Driver Version** and Driver Date** fields to differentiate between manufacturer updates and generic Windows drivers.
- When using PowerShell, add
/forceonly after you have verified the correct oemXX.inf name; the flag bypasses safety checks. - Keep a copy of the driver INF file before deletion (copy it to a backup folder). If you need to reinstall, you can manually point Windows to the saved INF.
- Run
winverto note your Windows 10 build; some older builds have slightly different Device Manager menus, but the overall steps remain the same. - If you frequently need to clean drivers, consider scheduling a quarterly review and keeping a simple spreadsheet of driver names you have removed.
Troubleshooting
Driver still appears after deletion. Restart the PC and run pnputil /enum-drivers again. If the entry persists, the driver may be in use by a hidden device. Open Device Manager, click View > Show hidden devices**, expand all categories, and look for devices with a faded icon. Uninstall those devices with the Delete driver software** option, then repeat the PowerShell removal.
Device stops working after driver removal. Use the restore point created earlier: open Control Panel > System > System Protection**, click System Restore**, and choose the point you created. If you prefer not to restore, download the latest driver from the manufacturer’s website and install it manually.
pnputil reports “The driver package could not be removed because it is in use”. Open an elevated Command Prompt and run sc stop serviceName for any services that might be locking the driver (e.g., AudioSrv for audio drivers). Then retry the /delete-driver command. As a last resort, boot into Safe Mode and repeat the removal.
Third‑party tool crashes or shows no drivers. Ensure you are running the latest version of Driver Store Explorer and that you launched it with administrator rights. If the list is still empty, the tool may be blocked by security software; temporarily disable real‑time protection, run the tool, then re‑enable protection.
Frequently Asked Questions
Do I need to uninstall a driver before I delete its files?
Yes. Uninstalling first tells Windows to detach the driver from any hardware, preventing blue‑screen errors. The Delete driver software** checkbox in Device Manager handles both steps.
Can I delete drivers for built‑in Windows components?
It is possible but not recommended. Core drivers (e.g., for the storage controller or USB hub) are required for the OS to function. Removing them can render the system unbootable.
Is there a way to automate driver cleanup?
PowerShell scripts can loop through pnputil /enum-drivers output and delete packages that match a pattern, but you should test any script on a single driver first to avoid accidental removal.
Will Windows Update reinstall a driver I deleted?
Often, yes. After a reboot, Windows Update may detect missing hardware and pull the driver from Microsoft’s catalog. To prevent reinstallation, hide the update in the Windows Update settings or manually install the preferred driver version.
Do I need to reinstall the driver after I delete it?
If you still need the device to work, you must install a driver—either the generic Windows driver or the manufacturer’s latest version. Deleting a driver without a replacement will leave the hardware non‑functional.
Is Driver Store Explorer safe to use?
Driver Store Explorer is an open‑source utility distributed by its developer on GitHub. As long as you download it from the official repository and run it as administrator, it is safe for driver store management.