Error 5: Access Denied: Setup unable to create the directory ...

Anonymous
2010-07-26T06:54:43+00:00

I am trying to install a program "Advanced System Care" I get a error message, Setup was unable to create the directory "C:\users\arthur\appdata\local\temp\is-rukl.temp  

error 5 Access denied

I realized today I believe I have gotten this error on several things I have tried to install recently.  I thought it was a problem with the actual program installer.

I have no idea where to even start.  Thank you for any help you can give me

***************************************************************************************************

MODERATOR NOTE 12 JULY 2018

This 8-year-old thread has long since run its course and is now locked.

If the marked Answer doesn't help you, please read the following articles and ask your own new question including details about your system and your specific problem.  Please ask your question in the section of Microsoft Community appropriate for your version of Windows.

How to begin your own, new thread about your computer & your problem

How to ask a question

If you're getting a problem trying to install Advanced System Care (as in the original question from July 2010), note than some antivirus/antimalware programs consider Advanced System Care to be a "potentially unwanted program" and may not let you install it.  See, e.g., the 20 Sept. 2014 post from mrphster on page 2 of this exceedingly long thread.  Also see https://forums.malwarebytes.com/topic/197749-advanced-system-care-10/

******************************************************************************************************

Windows for home | Previous Windows versions | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2013-04-10T19:00:51+00:00

The problem is with the security permissions on your profile temp folder. To fix it navigate to %temp% or C:\Users[Username]\AppData\Local and right click on the Temp folder and choose properties, then click the security tab and click advanced.

On the permissions tab you should see the permissions that are there. There should 3 which are:

'SYSTEM' with Full control which applies to 'This folder, subfolders and files'

'Administrators' with Full control which applies to 'This folder, subfolders and files'

'Your Username' with Full control which applies to 'This folder, subfolders and files'

and all 3 should be inherited from the C:\Users[Username]\ folder.

If you don't have the 'Include inheritable permissions from this object's parent' option ticked, then tick it and click continue if there are any problems, then remove the permissions that aren't inherited.

Once you click 'Apply' and click 'OK' you should have the permissions to write to the directory and you won't get those error messages any more.

Hope this solves your problem

Was this answer helpful?

500+ people found this answer helpful.
0 comments No comments

62 additional answers

Sort by: Oldest
  1. Anonymous
    2015-05-08T13:23:05+00:00

    if you're trying to install a program that says error 5 access denied, move your installer to local disc C. 

    I found THIS to be the answer to my "Unable to create directory" issue...and, to those of you who say they are still having problems, I suggest you try it.

    But this solution gives rise to a couple of questions:

    1 - Why should I need to move the installer to the C: drive when it's never been an issue in the past? And;

    2 - What can I do to eradicate THAT problem?

    On the upside - I'm so happy to have found the answer to a problem that has been stumping me for so long!

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-06-12T13:20:58+00:00

    It did not work

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-07-23T09:30:38+00:00

    Hi , 

       How to do this programatically ?

     In windows 10 , i want to "Enable Inheritance" for a folder, During the installation of the service.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-08-18T19:20:25+00:00

    Dear Moogle,

    I made the mistake of deleting temporary files manually (I must have deleted an important file) and I got the Error: access denied message dialog box. The problem was compounded when I can't save new Word and other applications data and documents nor modify and save them anymore, and cannot download word or PDF files.

    I tried your reply sequentially, I was able to make the changes, and the Error: access denied message dialog did not appear anymore. In addition, I was able to save new documents and data.

    Thank you ever so much,

    Gereon

    Was this answer helpful?

    0 comments No comments