N/APosted on - 05/21/2014
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.
Setup was unable to create the directory
Error 5: Access is denied.
Setup was unable to create the directory error 5
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.
Navigate to “C:Users<your_username>AppDataLocal”.
Right-click on “Temp” folder and select “Properties”.
Open “Security” tab.
Click “Advanced” button >> “Owner” tab.
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.