Access is Denied error while installing software on Windows

If while installing new software on Windows, you receive an Access is Denied error message, this article may help you in troubleshooting and fixing the Windows Installer Access Denied error. This is one of the most common errors we get when we try to install any application on Windows 10/8/7. There are a few reasons why we may get to see this error message. In this article, we’ll discuss a few tips to resolve this problem.

Access is Denied error while installing software

Scenario 1: One of the common reason is lack of administration rights. If you are logged in as a Standard user, the installation will give you this error. So make sure you’re logged in as a Local Administrator. When I mean Local administrator, I mean that to say that you need to log in as Local administrator – not Domain administrator. Because even if you are a Domain administrator, sometimes Domain policies will restrict access to certain locations. For instance, if you are installing Microsoft SQL Server, it’s highly recommend that you ensure that you are logged into the machine as a Local administrator; otherwise, you might get a lot of error message including Microsoft SQL Service Fails to start.

Scenario 2: The other most common reason is User Account Control. Sometimes UAC will restrict you from accessing certain file locations or registry locations. The best practice is to always right-click on the setup and click on “Run as administrator”. By doing so, setup will elevate with full administrator rights. In some cases, however, we may need to disable UAC temporarily, until you finish the installation.

To do so, go to Start under search type in “UAC”.

access is denied

Click on “Change User Account Control settings”.

Access is Denied

Make sure you drag the bar all the way to “Never Notify” then click OK and reboot the system and try to install it again. Do remember to change back the UAC settings, after you have completed the installation.

Scenario 3: If it does not help, you may next try to disable your security software – because this software can be very tricky sometimes. It may restrict access to a specific path or specific registry location. Unfortunately, there is no easy way to find it out. So it’s better to disable the security software completely and then try to install the software. Again, do remember to re-enable your security software, once your installation completes successfully.

Scenario 4: There are some common locations which sometimes we are denied permissions. So far, the locations I have seen are Temp and Installer folder. So go to C:\Windows\Installer and %temp% and Take Ownership of these folders. Then try again.

Scenario 5: The last steps you could try is to enable the built-in administrator account:

To do this, click the Windows Start button and type in CMD.

Right-click on CMD, click on Run as administrator and execute the following command:

net user administrator /active:yes

You will get a message “Command ran successfully”.

Next, execute the following command:

net user administrator <Password>

Please replace the <Password> tag with your passwords, which you want to set to an administrator account.

To disable the administrator account, you will have to use:

net user administrator /active:no

Now install the software via this account and see.

Related read: Windows Installer Service could not be accessed or started.

How to open an encrypted file if Access is Denied in Windows may also interest you.

Posted by on , in Category Windows with Tags
Shyam aka “Captain Jack” is a Microsoft MVP alumnus and a Windows Enthusiast with an interest in Advanced Windows troubleshooting. Suggestions made and opinions expressed by him here are his personal one's and not of his current employers. He blogs at


  1. Olcay Demirhan

    its great work….keep going and thanks…:::)))

  2. Denise

    Thanks! Changing the UAC settings worked for me.

  3. akhil vaghasiya

    thanks.. it works well. 🙂

  4. ali

    thanks. it worked 4 me.

  5. David

    i get error 5 access denied message from out of nowhere like when i’m playing my games then i get massive lag what can be causing this?

  6. danyela

    Thank you!! I have been looking all day for a solution to this stupid problem on my hp laptop (windows 8).

  7. fckdoff

    didn’t do shit!!!!

  8. Mads

    Spent over an hour on the phone with a Microsoft support guy. Not once did he think to disable my security program (Trend Micro). As soon as I got off the phone, I tried it as a last resort… and hey presto, it worked.

  9. Thanks for sharing this post, keep it up and i hope you will share more articles related to computer problems. online Tech Support

  10. James DiGriz

    Very helpful – Thank you!

  11. ra232

    Why doesn’t windows go scre** itself? Unix and its kid Linux figured it out decades ago? But no Windows has to be to MORON of the Century. The disowned idiot child who runs around being stupid.

  12. Apur

    I had a problem with permission on %temp% folder. After giving write permission, my problem was resolved.

  13. Love Flower

    Install Application .exe file, access denied. The file.exe is very long name, after change to short name is still the same error. Install application from C:temp

  14. Marco Campagnucci

    Thanks from Brazil. It helped me a lot!

  15. Janii Porever

    it worked! scenario 5. thanks!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

8 + 4 =