sodcalculator

10 Tech How-To

Fix USB Not Installing Issue Access Denied

Guide 10-49975 · Updated · Step by step

If you see “Access is denied” when trying to install a USB driver on Windows, the fix is usually to run the installer as an administrator or repair the system’s driver store permissions. This error typically appears because Windows lacks the required permissions to write driver files to the system folder, or because a previous driver installation left the USB device in a corrupted state. Below are the exact steps to resolve it, along with the background on why it happens and how to prevent it in the future.

What Causes the “Access Is Denied” USB Error?

The error occurs when Windows tries to install a driver for a USB device (like a printer, phone, or external drive) but is blocked from writing the necessary files. The most common triggers are:

  • Insufficient privileges: The installer or Windows itself is not running with administrator rights, so it cannot modify the C:\Windows\System32\drivers folder or the registry.
  • Corrupted driver store: The DriverStore folder (C:\Windows\System32\DriverStore) contains cached drivers. If a previous installation was interrupted or a file is locked, new installations fail.
  • Group Policy restrictions: On corporate or managed PCs, IT policies can block driver installation for non-administrators.
  • Antivirus or security software: Some security tools lock driver files to prevent malware, which can mistakenly block legitimate installations.
  • USB port or device issue: A faulty port or a device that draws too much power can cause Windows to fail the installation, and the error message may be misleading.

Step-by-Step Fixes (in Order of Likelihood)

Try these solutions in sequence. Most users resolve the issue with the first or second step.

  1. Run the installer as an administrator. Right-click the driver setup file (or the device’s installer) and select “Run as administrator.” If Windows asks for permission, click “Yes.” This is the most direct fix because it grants the installer the needed write access.
  2. Use Device Manager to update the driver. Press Win + X and select “Device Manager.” Find the device with a yellow exclamation mark (often under “Universal Serial Bus controllers” or “Other devices”). Right-click it, choose “Update driver,” then “Search automatically for drivers.” If that fails, select “Browse my computer for drivers” and then “Let me pick from a list of available drivers.” This bypasses the installer and uses Windows’ own driver store.
  3. Uninstall the device and rescan. In Device Manager, right-click the problematic device and select “Uninstall device.” Check the box “Delete the driver software for this device” if it appears. Then, in the toolbar, click “Scan for hardware changes.” This forces Windows to re-detect the USB device and reinstall the driver from scratch.
  4. Disable driver signature enforcement (temporary). If the driver is unsigned or old, Windows may block it. Restart your PC, and during boot, press F8 (or Shift + F8 on some systems) to access Advanced Boot Options. Choose “Disable driver signature enforcement.” Then try installing the driver again. Note: This is only a temporary bypass for the current session.
  5. Check the USB port and device. Try a different USB port (preferably a rear port on a desktop). If you are using a USB hub, connect directly. Also test the device on another computer to rule out a hardware fault.
  6. Run Windows Update. Sometimes the required driver is available via Windows Update. Go to Settings > Update & Security > Windows Update and click “Check for updates.” Install any pending updates, then reconnect the USB device.

If none of these work, proceed to the advanced fixes below.

Advanced Fixes for Persistent Access Denied Errors

When the basic steps fail, the problem is likely a corrupted driver store or a permission issue deep in Windows. Try these with caution.

  • Take ownership of the DriverStore folder. Open an elevated Command Prompt (right-click Start > “Command Prompt (Admin)” or “Windows Terminal (Admin)”). Run the following command to take ownership and grant full control to Administrators:
    takeown /f C:\Windows\System32\DriverStore /r /d y
    then
    icacls C:\Windows\System32\DriverStore /grant Administrators:F /t
    After this, try installing the driver again. This is a nuclear option—only do it if you are comfortable with command-line tools.
  • Use the Windows Driver Kit (WDK) tools. If you are a developer or advanced user, you can use pnputil to add or remove drivers. For example, to add a driver package manually:
    pnputil /add-driver C:\path\to\driver.inf /install
    This bypasses the standard installer and directly interacts with the driver store.
  • Clear the driver cache. Delete the contents of C:\Windows\SoftwareDistribution\Download (after stopping the Windows Update service) to clear any corrupted update downloads that might interfere. Then restart the Windows Update service.

If you are not comfortable with these, consider using System Restore to revert to a point before the issue started.

Why Does This Happen on Windows 10/11 Specifically?

Windows 10 and 11 have stricter driver signing and permission requirements than older versions. The DriverStore is protected by the TrustedInstaller service, which means even Administrators do not have full write access by default. When a driver installer tries to write to this protected area without the proper privileges, Windows returns “Access is denied.” Additionally, the Windows Update service may lock certain driver files during updates, causing temporary conflicts.

Another common scenario is when a user has previously installed a driver with a different user account or after a Windows update, leaving behind orphaned registry entries that confuse new installations.

Common Mistakes and Misconceptions

  • Mistake: Assuming the device is faulty. The error is often a Windows permission issue, not a hardware failure. Always test the device on another PC before replacing it.
  • Misconception: “Run as administrator” always works. It only works if the installer itself is the one failing. If Windows’ own driver installation service (the Plug and Play service) is denied, you need to fix the service permissions.
  • Mistake: Disabling driver signature enforcement permanently. This is a security risk and only works for the current boot session. Do not disable it permanently unless you have a valid reason.
  • Misconception: The error is caused by the USB port. While a faulty port can cause other errors (like “Device Descriptor Request Failed”), “Access is denied” specifically points to a permission problem.

Preventing Future USB Installation Errors

To avoid this issue in the future, follow these practices:

  • Always download drivers from the manufacturer’s official website. Third-party driver download sites often bundle outdated or modified drivers that trigger permission errors.
  • Before installing a driver, close all other programs, especially antivirus software. Some security suites lock driver files.
  • Keep Windows updated. Microsoft frequently releases patches that fix driver installation bugs.
  • If you are on a work or school computer, contact your IT department—they may have policies that block driver installation.
  • Use the “Device Manager” method for simple devices (like mice or keyboards) instead of running a separate installer.

Frequently Asked Questions

Why do I get “Access is denied” even when I am the administrator?

Even an administrator account does not have full control over the DriverStore folder because it is protected by TrustedInstaller. The installer needs to run with elevated privileges (“Run as administrator”), but some installers fail to request elevation properly. You can also try taking ownership of the folder as described above, but that is a last resort.

Can I fix this by formatting my USB drive?

Formatting the USB drive will not fix the issue because the problem is on the Windows side, not the drive. The drive’s file system has nothing to do with driver installation. If the device is a USB flash drive, formatting it might help if the drive itself is corrupted, but it will not resolve a Windows permission error.

Is it safe to disable driver signature enforcement?

Disabling driver signature enforcement temporarily is safe if you do it only for the current session and only to install a driver you trust. Leaving it disabled permanently weakens your system’s security because unsigned drivers can contain malware. Always re-enable it after the installation.

What if the error appears when connecting a phone or Android device?

For phones, the issue is often the USB debugging driver. Install the manufacturer’s USB driver (e.g., Samsung, Google) and ensure you have enabled “USB debugging” in Developer Options. Also try a different cable—some cables are charge-only and do not carry data, which can cause a driver installation failure.

Will this error damage my USB device?

No. The error is purely a software permission problem and does not harm the device. The device will work once the driver is installed correctly. However, if you repeatedly force an interrupted installation, you could corrupt the device’s firmware in rare cases, so always follow the steps properly.

Can I use a third-party driver updater tool to fix this?

Third-party driver updaters can sometimes help by automatically downloading and installing the correct driver, but they are not a guaranteed fix. They may also install unwanted software. If you use one, choose a reputable tool and always read the prompts. The manual methods above are more reliable.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →