Skip to content

How do I get rid of old drivers?

5 min read

Over time, unnecessary files accumulate on a computer's hard drive, with old device drivers being a common culprit that can lead to system instability and reduced performance. Learning how to get rid of old drivers is a critical maintenance step for keeping your PC running smoothly and efficiently. This guide provides comprehensive, step-by-step instructions for safely removing these obsolete files, ensuring your system remains clean and responsive.

Quick Summary

Removing old and unused device drivers is crucial for maintaining a healthy Windows system, as they can cause software conflicts and slow performance; you can accomplish this through built-in tools like Device Manager and Disk Cleanup, or with powerful command-line utilities and third-party applications, but always with caution.

Key Points

  • Use Device Manager: Use the 'Show hidden devices' option in Device Manager to reveal and uninstall drivers for devices no longer connected to your PC.

  • Leverage Pnputil: For advanced users, the Pnputil command-line tool provides a powerful way to list and delete specific driver packages from the Windows driver store.

  • Clean with Disk Cleanup: For a simpler approach, use the built-in Disk Cleanup utility, selecting 'Device driver packages' under 'Clean up system files' to remove old driver files.

  • Explore Third-Party Tools: For more comprehensive control, consider using specialized third-party software like Driver Store Explorer, but always back up your system first.

  • Preventative Maintenance: To avoid future clutter, practice good driver hygiene by using official updates and properly uninstalling software to keep your system clean.

  • Create a Restore Point: Always create a system restore point before performing major driver cleanup, especially with advanced tools, to safeguard against potential issues.

In This Article

Why removing old drivers is essential for PC health

Outdated or orphaned drivers can cause a host of problems for your computer, affecting everything from system stability to overall performance. When you update a device's driver, Windows often retains the old version, allowing for a rollback if something goes wrong. However, these old versions are not automatically deleted and can pile up over time, consuming valuable disk space and potentially conflicting with newer software. For healthy aging of your technology, removing these unnecessary files is a key preventative measure.

The risks of accumulated drivers

  1. System Instability: Driver conflicts are a primary cause of system crashes, frozen applications, and the dreaded Blue Screen of Death (BSOD). Older, incompatible drivers can clash with new hardware or software, leading to unpredictable behavior.
  2. Reduced Disk Space: While a single old driver package is small, the cumulative effect of many can consume a significant amount of storage, especially on systems with smaller solid-state drives (SSDs).
  3. Security Vulnerabilities: Some very old drivers may contain unpatched security flaws that modern updates have fixed. Removing them eliminates potential entry points for malware and other cyber threats.
  4. Slower Performance: The system's registry can become bloated with entries for obsolete devices and drivers. This can slightly slow down system boot times and overall responsiveness, much like a cluttered home becomes harder to navigate as you age.

Method 1: Using Device Manager to uninstall unused drivers

This method is best for removing drivers associated with devices that are no longer connected to your computer (e.g., a old printer or USB device).

  1. Enable hidden devices: You must first configure Device Manager to show non-present devices. To do this, press the Windows key + R, type cmd, and press Enter. In the Command Prompt window, type set devmgr_show_nonpresent_devices=1 and press Enter.
  2. Open Device Manager: Press the Windows key + X and select 'Device Manager' from the menu.
  3. View hidden devices: In Device Manager, go to the 'View' menu and click 'Show hidden devices.' This will display devices that are not currently connected, with their icons appearing faded or greyed out.
  4. Uninstall the drivers: Navigate through the categories and expand the device types. Look for any faded icons. If you identify an old device, right-click on it and select 'Uninstall device.' When prompted, check the box that says 'Delete the driver software for this device' to completely remove the associated files.

Method 2: Command-line driver removal with Pnputil

For users comfortable with the command line, Pnputil is a powerful built-in utility that gives you more direct control over the driver store.

  1. Open an elevated Command Prompt: Press the Windows key, type cmd, right-click 'Command Prompt', and select 'Run as administrator'.
  2. List all driver packages: To see a list of all installed driver packages, type pnputil /enum-drivers and press Enter. This will show you all driver packages, including older versions.
  3. Identify old packages: Look for driver packages that are older and are not in use. You will see information like the published name (e.g., oem0.inf), the provider, and the driver version.
  4. Delete the driver package: Use the command pnputil /delete-driver <INF file name> /uninstall where <INF file name> is the published name you found in the list. For example: pnputil /delete-driver oem12.inf /uninstall.

Method 3: Using the Disk Cleanup utility

Disk Cleanup is a simpler, less aggressive method that can remove some old driver packages automatically.

  1. Run Disk Cleanup: Press the Windows key + R, type cleanmgr, and press Enter.
  2. Select system drive: Choose your system drive (usually C:) and click 'OK'.
  3. Clean system files: Once the initial scan is complete, click the 'Clean up system files' button. You may be prompted to select the drive again.
  4. Check for driver packages: After the system file scan finishes, scroll through the list and look for an option called 'Device driver packages.' Check this box and click 'OK' to proceed with the deletion.

Comparison of driver removal methods

Feature Device Manager (with hidden devices) Pnputil (Command Prompt) Disk Cleanup Utility
Technical Skill Intermediate Advanced Beginner
Control Level Targeted, device-specific removal Precise, package-specific removal Automated, mass removal
Safety High, if you only remove greyed-out devices High, but requires care to identify correct packages High, removes non-essential old packages
Effectiveness Good for disconnected devices Excellent for the entire driver store Limited, only removes certain cached packages
Requires Admin Yes Yes Yes
Rollback Capability Maintains rollback for connected devices Eliminates rollback for deleted packages Eliminates rollback for deleted packages
Best For Removing single, obsolete device entries Comprehensive, powerful driver cleanup Simple, periodic maintenance

Method 4: Third-party tools for advanced cleaning

While Windows offers built-in tools, some third-party applications provide a more user-friendly interface or more powerful features for managing and cleaning drivers. Tools like Driver Store Explorer (available on GitHub) allow you to view, sort, and remove multiple driver packages at once.

It is highly recommended to create a system restore point or a backup before using any third-party software for driver management, as incorrect deletion can cause hardware to malfunction.

Best practices for managing drivers

To prevent the accumulation of obsolete drivers in the future, consider these practices:

  • Regular cleanup: Schedule a quarterly check using one of the methods above to keep your driver store lean.
  • Use official channels: When updating drivers, always download them from the official manufacturer's website (e.g., NVIDIA, AMD, HP, Dell). This ensures you have the correct and most stable versions.
  • Create a system restore point: Before any major driver installation or removal, create a system restore point. This provides a safety net if something goes wrong.
  • Uninstall software properly: When uninstalling device software, use the manufacturer's dedicated uninstaller, which is more likely to remove all associated driver files completely. A great example of a resource for this is provided by Microsoft themselves, outlining proper device uninstallation procedures. For more detail on proper device removal, you can visit the official Microsoft Learn documentation.

Conclusion: A cleaner system is a healthier system

Learning how to get rid of old drivers is a critical yet often overlooked step in computer maintenance. By regularly clearing out these unnecessary files, you can prevent software conflicts, free up valuable disk space, and ensure your system runs at its best. Whether you prefer the targeted approach of Device Manager, the power of Pnputil, or the simplicity of Disk Cleanup, making this a routine part of your computer care will contribute to a more stable and efficient computing experience. This practice is akin to proactive health management; addressing small issues before they become major problems, ensuring your technology ages as gracefully as you do.

Frequently Asked Questions

If you do not remove old drivers, they can accumulate on your system, causing potential software conflicts, system instability, slower boot times, and consuming unnecessary disk space. While not always immediately noticeable, these issues can worsen over time.

Yes, it is generally safe to remove older, unused drivers. However, you should exercise caution. Always identify the specific driver package you are removing, and when possible, use the manufacturer's uninstaller or a Windows built-in tool. For peace of mind, create a system restore point before any major cleanup.

In Device Manager, enable 'Show hidden devices' under the 'View' menu. Devices that are not currently connected will appear with faded or greyed-out icons. These are usually safe candidates for removal. With Pnputil, you can review the driver date to identify older versions.

Yes, but the impact will vary. Removing a large number of obsolete drivers can free up disk space and reduce clutter in the system registry, which may lead to a slight improvement in boot times and overall system responsiveness. The biggest benefit is improved stability and prevention of conflicts.

Device Manager is a graphical tool best suited for removing drivers for specific, non-present devices. Pnputil is a more powerful, command-line utility that provides direct access to the entire driver store, allowing for a more comprehensive cleanup of all stored driver packages, including older versions.

Third-party tools can offer a more convenient interface for managing drivers, but they come with risks. Always use reputable software and ensure you back up your system before use. For most users, the built-in Windows tools are sufficient and safer for routine maintenance.

A periodic cleanup every few months is a good practice. It's especially useful after major Windows updates or after replacing hardware. Regularly checking your system for old, unused drivers is a proactive approach to maintaining computer health.

Medical Disclaimer

This content is for informational purposes only and should not replace professional medical advice. Always consult a qualified healthcare provider regarding personal health decisions.