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
    2016-10-13T21:22:41+00:00

    I am having the same "Error 5" problem with a different software (Wondershare PDFElement). I have tried your suggestions and it did not work for me. I got errors trying to set the permissions inheritance feature (Access denied). I am logged in as the admin (always). Any thing else I can do? Remove entries from registry? Attributes?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-11-01T19:53:26+00:00

    All these settings were as you suggested.  I still cannot get a program to install, lsrshsetup.exe, and continue to receive the error 5, unable to create the directory (user directory /temp), even when run as administrator.

    Any other suggestions please.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-11-20T13:10:04+00:00

    This is a real song and dance kinda thing but it works for me....

    1st I get this issue when doing an Nvidia driver update through the nvidia experience option, so I'm quite sure I'm not installing malware...well 98% sure. Also it stops Google drive from loading at startup. Some dll error popup thing.

    -Make sure all processes are closed 

    -Delete folder Temp

    -Some files might still be in use by other processes

     (I installed LockHunter, 5% sure its safe) It's helpful but not necessary.

    -Somehow some dodgy files are created you can't delete. They come and go.

     Cut and paste them somewhere else Desktop maybe, a reminder how billions of

     Dollars don't mean perfect workmanship.

    -Try Delete Temp Folder

    -I usually create New Folder rename it to Temp, also not necessary I think but

     today I tried ticking that inherit box mentioned at the beginning of this forum.

    Now I'll wait an see till the next driver update or dll error thing. If it happens again it'll be rinse repeat, rinse repeat, till some underpaid low life coder decides to fix this and go unrecognised into the future.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2017-05-11T17:41:31+00:00

    All my accounts are inheriting permission from the right account but I'm still getting error 5. I'm not trying to install any programs I'm just trying to start the diagnostic policy service that was stopped for some reason so I can connect to the internet so I can update my drivers so my LCD screen can work. Is there any other reason why error 5 will appear?

    Was this answer helpful?

    0 comments No comments