“Error 5: Access is denied” software installation error in Windows [FIX]

By: Matthew Adams
4 minute read
error 5 access is denied fix

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Error 5: Access is denied” is primarily a software installation error message. Consequently, users can’t install software when that error message pops up. The system error is usually due to account permissions. This is how you can fix the “Error 5: Access is denied” issue in Windows.

How to fix Error 5: Access is denied on Windows 10

  1. Run the Installer as Admin
  2. Switch Your User Account to an Admin Profile
  3. Enable the Built-in Admin Account via Command Prompt
  4. Open the Program Install and Uninstall Troubleshooter
  5. Move the Installer to the C: Drive
  6. Adjust the UAC Settings
  7. Switch Off Antivirus Software
  8. Restore Windows With System Restore

1. Run the Installer as Admin

Admin rights are required to install some programs. So a program might install if you right-click its installer and select Run as administrator. That is a straightforward fix, but it often does the trick.

2. Switch Your User Account to an Admin Profile

If selecting the Run as administrator option doesn’t do the trick, you might need to install the software within an admin user account. Thus, you might need to convert your standard account to an admin one. This is how you can switch your profile to an administrator one via the Control Panel.

  • Open Run by pressing its Win key + R hotkey.
  • Input ‘netplwiz’ in Run’s text box, and press its OK button.

  • Select your user profile, and press the Properties button.
  • Then select the Group Membership tab to open the options shown directly below.

  • Select the Administrator option, and press the Apply and OK buttons.

— RELATED: Fix: ‘Another program is being installed’ Windows Installer error

3. Enable the Built-in Admin Account via Command Prompt

Alternatively, you can enable Windows 10’s built-in admin account via the Command Prompt, which has a little more system access than a standard admin profile. To do that, press the Windows key + X hotkey to open the Win + X menu.

  • Then select Command Prompt (Admin) to open the Prompt’s window.
  • Input ‘net user administrator /active:yes’ in the Prompt’s window, and press the Enter key.

  • Thereafter, close the Prompt and try to install the required software.
  • You can disable the built-in admin profile by entering ‘net user administrator /active:no’ in the Command Prompt.

4. Open the Program Install and Uninstall Troubleshooter

Microsoft’s Program Install and Uninstall troubleshooter can fix installation errors. That’s especially the case if there are corrupt registry keys blocking software installation. The Program Install and Uninstall troubleshooter is not included with Windows, but you can save it to HDD by clicking the Download button on this webpage. Then open the downloaded troubleshooter shown in the snapshot below, and press its Next button to go through it.

— RELATED: How to fix error 0x80070bc2 when installing Windows 10 updates

5. Move the Installer to the C: Drive

If you’re opening the installer from an alternative drive to the one Windows is on (usually the C: drive), move the setup wizard to the C: drive. You can do that by left-clicking the installer in File Explorer and dragging it onto the C: drive. Then you’ll see a Move to tooltip as shown in the snapshot directly below. Let go off the left mouse button to move the installer. Thereafter, you can open the program’s setup wizard from the C: drive.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

6. Adjust the UAC Settings

The User Account Control (UAC) can occasionally block you installing software. Thus, switching the UAC off might also resolve the “Error 5: Access is denied” error. You can switch the UAC off as follows.

  • First, press the Windows key + X hotkey.
  • Select Run to open that accessory.
  • Enter ‘UserAccountControlSettings’ in Run and click OK to open the window shown directly below.

  • Then drag the bar on that window to Never notify.
  • Press the OK button, and restart your desktop or laptop.

7. Switch Off Antivirus Software

The “Error 5: Access is denied” could be due to third-party anti-virus software. Some anti-virus software can mistake a genuine setup wizard to be something else, which is otherwise false positive detection. So switch off your anti-virus utility to ensure that it doesn’t interfere with the installer.

You can usually temporarily switch off anti-virus software by selecting a disable option on their context menus. For example, Avast includes an Avast shield control setting on its context menu. Alternatively, you can also leave anti-virus utilities out of the Windows startup via Task Manager as follows.

  • Right-click the taskbar and select Task Manager.
  • Select the Start-up tab shown in the snapshot directly below.

  • Select anti-virus software included in the startup and press the Disable button.
  • Then restart the desktop or laptop.

— RELATED: Fix: Error 1500 Another installation is in progress in Windows 10

8. Restore Windows With System Restore

The “Error 5: Access is denied” can also be due to a corrupted system account or active directory. Restoring Windows to an earlier date will usually fix corrupted system account, so that’s another potential fix. You can roll Windows back to a restore point with the System Restore utility as follows.

  • To open System Restore, press the Windows key + R hotkey. Then input ‘rstrui’ in Run, and click the OK button.

  • Press the Next button on the System Restore window.
  • Click the Show more restore points option to expand the list of restore points.

  • Select a restore point that will restore Windows to a date when the “Error 5: Access is denied” wasn’t popping up.
  • Restoring Windows removes software installed after the selected restore point. To see what software a restore point removes, press the Scan for affected programs button.

  • Click the Next and Finish buttons to confirm your selected restore point.

Some of those resolutions will probably fix the “Error 5: Access is denied” error in Windows so that you can install required software. Aside from those resolutions, scanning the registry with registry cleaner and updating antiquated drivers might also fix Error 5.

RELATED STORIES TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Discussions