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: Most helpful
  1. Anonymous
    2018-04-05T15:52:20+00:00

    I have the same error when I try to download an app.  can't create a temp file access denied.  What do I do to get past this?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-04-05T07:59:54+00:00

    Article too technical for the novice.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-03-31T15:38:57+00:00

    after ticking the "replace all child object permission and trees with inheritable permissions entries from this object" nothing is changing. still hit with "setup was unable to create the directory..." when trying to install a program. the 3 principals - system, admin and username - all say full control, and all are inherited from C:\Users'username'....

    please, what am i doing wrong? this is becoming a serious issue because i've realized i haven't been able to install anything for a minute now.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-03-29T03:04:07+00:00

    I cant install a new app or program an eror5 Access denied "C\user\nan

    me\appdata\local\Temp

    Was this answer helpful?

    0 comments No comments