Error 5: Access is denied error in Windows 10 [FULL FIX]

Matthew Adams
by Matthew Adams
Windows & Software Expert
0 Comments
Download PDF
Affiliate Disclosure

  • Error 5: Access is denied will prevent the installation of certain programs and apps.
  • This is usually related to certain admin rights, so we'll show you how to adjust a few settings to fix the error.
  • We've got a whole collection of Windows 10 troubleshooting articles that you can read in the Errors section.
  • To get a better grasp of Microsoft's latest OS, check out our Windows 1o Hub.
Fix Access is denied software installation error

Error 5: Access is denied is primarily a software installation error message.

Consequently, when this error message pops up, users can’t install certain software. The cause is usually account permissions.

In this article, we explain how to change permissions and troubleshoot the mentioned error.

How can I fix Error 5: Access is denied on Windows 10?

  1. Switch off or change the antivirus software
  2. Run the installer as admin
  3. Switch your user account to an admin profile
  4. Enable the built-in admin account via Command Prompt
  5. Open the Program Install and Uninstall troubleshooter
  6. Move the installer to the C: Drive
  7. Adjust the UAC settings
  8. Restore Windows with System Restore

1. Switch off or change the antivirus software

Error 5: Access is denied could be due to third-party antivirus software. Some programs can mistake a genuine setup wizard to be something else, which is otherwise false positive detection.

The best solution would be to use an antivirus that detects few false positives or none at all. In the latest tests, Vipre scored excellent in terms of incorrect detection of normal software or false warnings.

This is why we recommend this antivirus that will not impede the installation of software that doesn’t pose a threat to your system.

Besides, you’ll see that Vipre offers extremely reliable real-time protection without slowing down the functioning of other processes or programs.

Vipre Antivirus Plus

Vipre Antivirus Plus

Don't be put off by intruding antivirus software. With Vipre you can install and use your favorite software at ease.
Free trial Visit website

If you prefer using your current antivirus, switch it off temporarily to ensure that it doesn’t interfere with the installer.

You can temporarily switch off antivirus software by selecting a disable option on the 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.

  1. Right-click the taskbar and select Task Manager.
  2. Select the Start-up tab shown in the snapshot directly below.
  3. Select anti-virus software included in the startup and press the Disable button.
  4. Then restart the desktop or laptop.

If you want to know how to add or remove startup apps on Windows 10, check out this simple guide.


2. 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.

This is a straightforward fix, but it often does the trick.


Nothing happens when you click on Run as administrator? We’ve got the right fix for you.


3. 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:

  1. Open Run by pressing the Win key + R hotkey.
  2. Input netplwiz in the text box, and press its OK button.
  3. Select your user profile, and press the Properties button.
  4. Then select the Group Membership tab to open the options menu.
  5. Select the Administrator option, and press the Apply and OK buttons.

You can’t open Control Panel? Take a look at this step-by-step guide to find a solution.


Learn everything there is to know about the admin account and how to enable/disable it right here!


4. Enable the built-in admin account via Command Prompt

  1.  Press the Windows key + X hotkey.
  2. Then select Command Prompt (Admin).
  3. Input the following command and press Enter: net user administrator /active:yes
  4. Thereafter, close the Prompt and try to install the required software.
  5. You can disable the built-in admin profile by entering net user administrator /active:no

5. 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.

This tool is not included in Windows 1o, but you can save it by clicking the Download button on this webpage.

Then open the downloaded troubleshooter, and press the Next button to run it.


6. 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.

Let go of the left mouse button to move the installer. Thereafter, you can open the program’s setup wizard from the C: drive.


7. Adjust the UAC Settings

  1. First, press the Windows key + X hotkey.
  2. Select Run to open that accessory.
  3. Enter UserAccountControlSettings and click OK.
  4. Then drag the bar on that window to Never notify.
  5. Press the OK button, and restart your device.

If you need more information about what is User Account Control and how to manage it, check out this dedicated guide.


8. Restore Windows with System Restore

  1. To open System Restore, press the Windows key + R hotkey.
  2. Then input rstrui and click the OK button.
  3. Press the Next button on the System Restore window.
  4. Click the Show more restore points option to expand the list of restore points.
  5. Select a restore point that will restore Windows to a date when the Error 5: Access is denied wasn’t popping up.
  6. 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
  7. Click the Next and Finish buttons to confirm your selected restore point.

The Error 5: Access is denied message can pop up as a result of corrupted system account or active directory, as well. Restoring Windows to an earlier date will fix such issues.


If System Restore isn’t working, don’t panic. Check this useful guide and set things right once again.


The solutions mentioned above will help you fix the Error 5: Access is denied error in Windows so that you can install the required software.

Aside from those resolutions, scanning the registry with a registry cleaner.

Updating antiquated drivers might also fix the issue.

As always, if you have any other questions or suggestions, don’t hesitate to leave them in the comments section below and we’ll be sure to check them out.

Editor’s Note: This post was originally published in May 2018 and was completely revamped and updated in October 2020 for freshness, accuracy, and comprehensiveness.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!