Windows 0x80070005Medium

Windows Driver Installation Error 0x80070005: Causes and Solutions

This article thoroughly examines error 0x80070005 occurring during driver installation in Windows. You'll learn 5 proven methods to fix it, from simple admin permission checks to more complex actions like clearing system services.

Medium

What Does Error 0x80070005 Mean When Installing a Driver

Error 0x80070005 is a system code for E_ACCESSDENIED, which literally translates to "Access Denied". It occurs when the driver installation process cannot obtain the necessary permissions to write to protected system directories (such as C:\Windows\System32\drivers) or to make changes to the Windows registry (branches like HKLM\SYSTEM\CurrentControlSet\Control\Class).

Typical dialog:

"Failed to install the device driver. An error 0x80070005 occurred. The driver was not installed."

The error can appear when installing any driver: graphics card, printer, network adapter, or chipset, whether manually via an .inf file or through the manufacturer's installer.

Causes

Error 0x80070005 is almost always related to permissions. Here are the most common causes:

  1. Running the installer without administrator privileges. The most common scenario. A standard user cannot write files to system partitions.
  2. Conflict with active antivirus or Windows Defender. A firewall or real-time protection module blocks the attempt to write the driver, mistaking it for a threat.
  3. Corruption of system files or the registry. Files responsible for the Plug and Play (PnP) mechanism or registry entries managing driver installation are damaged.
  4. Active processes locking driver files. Another process (e.g., an old driver instance, a device service) is using the files the installer is trying to replace.
  5. Incorrect security policy settings or UAC. Overly strict local security policy settings or a disabled (or overly complex) User Account Control (UAC) can block legitimate operations.
  6. Disk or NTFS permissions issues. Encryption features (EFS) are enabled on the system drive, or a file system error occurred, preventing the system from granting access.

Solutions

We recommend performing the solutions in order, from simplest to most complex.

Solution 1: Run the Installation with Elevated Privileges

Before taking any action, ensure the driver installer is running with administrator rights.

  1. Locate the downloaded driver installation file (usually .exe) or .inf file.
  2. Right-click on it.
  3. In the context menu, select "Run as administrator".
  4. If a User Account Control (UAC) prompt appears, click "Yes".
  5. Wait for the installation to complete.

💡 Tip: If you have multiple user accounts, ensure you are logged in with an account that belongs to the "Administrators" group.

Solution 2: Temporarily Disable Antivirus and Windows Defender

Antivirus software is often the "prime suspect" in such errors.

  1. For third-party antivirus: Open its interface and look for an option like "Disable protection" or "Pause protection". This is usually done for 10-15 minutes.
  2. For Windows Defender (Microsoft Defender):
    • Open Control PanelSecurity and MaintenanceWindows Security (or Security Center).
    • Go to the "Virus & threat protection" section.
    • Click "Manage settings" under "Real-time protection."
    • Toggle off the switch. The system will warn you about this. Select a disable period (e.g., 15 minutes).
  3. After disabling, try installing the driver again.
  4. Be sure to re-enable antivirus protection immediately after a successful installation.

Solution 3: Repair System Files and Components

Corruption of system components responsible for driver installation requires diagnosis and repair.

  1. Open the Start menu, type cmd.
  2. Right-click on "Command Prompt" and select "Run as administrator".
  3. Run the following commands sequentially, waiting for each to complete:
    sfc /scannow
    

    (Scans for and repairs corrupted system files)
    DISM /Online /Cleanup-Image /RestoreHealth
    

    (Repairs the Windows image using Windows Update)
  4. After both operations complete, restart your computer.
  5. Try installing the driver again.

Solution 4: Manual Installation via Device Manager (for .inf Drivers)

This method bypasses some steps of automatic installation.

  1. Download the driver and extract its archive (if any) to a separate folder, e.g., C:\Drivers\NVIDIA.
  2. Press Win + R, type devmgmt.msc, and press Enter.
  3. In Device Manager, find the device with the problematic driver (usually marked with a yellow exclamation mark).
  4. Right-click on it and select "Update driver".
  5. In the window that appears, select "Browse my computer for drivers".
  6. Click the "Browse" button and point to the extracted folder containing the driver (where the .inf file is located).
  7. Click "Next" and follow the instructions. Windows will find the .inf file and install the driver from it.

Solution 5: Specialized Utilities for "Dirty" Graphics Drivers (NVIDIA/AMD)

For NVIDIA/AMD graphics drivers, a full cleanup of old drivers often helps.

  1. Download the Display Driver Uninstaller (DDU) utility from its official website.
  2. Restart your computer in Safe Mode (hold Shift while clicking "Restart" in the Start menu → Troubleshoot → Advanced options → Startup Settings → Restart → press F4).
  3. In Safe Mode, run DDU.
  4. In the top menu, select your graphics card manufacturer (NVIDIA/AMD/Intel).
  5. Click the "Clean and restart (recommended)" button.
  6. After restarting into normal mode, install the fresh driver downloaded from the official website of your graphics card manufacturer.

Solution 6: Clear and Recreate the Print Spooler (for Printers)

A driver installation error for a printer is often related to a "stuck" print spooler service.

  1. Press Win + R, type services.msc, and press Enter.
  2. Find the "Print Spooler" service.
  3. Right-click"Stop".
  4. Now open File Explorer and navigate to: C:\Windows\System32\spool\PRINTERS.
  5. Delete ALL files from this folder. This clears the print queue.
  6. Return to services.msc, right-click the "Print Spooler" service, and select "Start".
  7. Try installing the printer driver again.

Prevention

To avoid error 0x80070005 in the future, follow these guidelines:

  • Always download drivers from the official websites of hardware manufacturers (NVIDIA, AMD, Intel, HP, Canon, etc.). Avoid "driver packs" from dubious sources.
  • Keep Windows up to date. Regularly install updates via Windows Update. Many updates contain fixes for components related to driver installation.
  • Before installing "critical" drivers (chipset, graphics card), create a system restore point via Control Panel → System and Security → System → System Protection → Create.
  • Do not ignore UAC prompts. If the system asks to confirm running a program with elevated privileges, don't click "No" without a compelling reason.
  • Regularly check your antivirus for false positives. If you notice your antivirus is blocking a legitimate driver installer, add the driver folder to exclusions temporarily during installation.
  • Avoid installing multiple drivers simultaneously. Install drivers one by one, rebooting between the installation of major components (chipset → graphics card → others).

F.A.Q.

What does error code 0x80070005 mean during driver installation?
Does rebooting before installing the driver help?
Is it necessary to disable antivirus to install a driver?

Hints

Run the installation as an administrator
Check system file integrity
Update Windows and reinstall the driver
Clear the print queue (for printers/devices)
Use DDU utility for graphics cards (NVIDIA/AMD)

Did this article help you solve the problem?

FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community