Setup was unable to create the directory error 5

Asked By 40 points N/A Posted on -
qa-featured

Hello friends,

When I try to install an application, I ended up with an error message. I got this error while it tries to create a directory. Then I tried to reinstall it again but at the same point, I got this error message. How do I install an application without this error? Please guide me. Your help is great. Thanks.

Error

Setup was unable to create the directory

“C:UsersHasanAppDataLocalTempis-D22Q9.TMP”.

Error 5: Access is denied.

 

SHARE
Answered By 70 points N/A #188025

Setup was unable to create the directory error 5

qa-featured

In order to fix this issue, you have to fix the permission of the TEMP folder of your user account. If the security permission of the folder is incorrect, you will be facing such error.

  1. Navigate to “C:Users<your_username>AppDataLocal”.
  2. Right-click on “Temp” folder and select “Properties”.
  3. Open “Security” tab.
  4. Click “Advanced” button >> “Owner” tab.
  5. Click “Edit”.
  6. Select your username >> press “Apply” >> press “OK”.

You can also use this registry patch to add “Take Ownership” context menu on your Windows Explorer. Download the patch, install the registry, right-click on the folder and select “Take Ownership”.

Now, the folder is yours and you have the right to do everything with that. Now, run the setup from your user account. This should run without any issue.

Login/Register to Answer

Related Questions