Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied.
-
Tuesday, May 17, 2011 6:31 PM
Hi Everyone,
Whenever I install some new software in my new laptop I get this error:-
Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied.
I have tried synchronizing the clocks but it doesn't remove the problem.
These softwares work on another laptop that i have, which also runs windows 7.
Can someone please tell me the solution as this is extremely urgent.
Thanks In Advance.
-Michael
All Replies
-
Tuesday, May 17, 2011 7:04 PM
explore to the temporary directory, right click and select security, check that you have permissions to write to that directory.- Marked As Answer by Juke ChouMicrosoft Contingent Staff, Moderator Monday, May 30, 2011 6:11 AM
-
Sunday, October 14, 2012 4:11 PM
Access denied? I have a same problem of you, but long path tool help me in this situation. So you can download a latest version of “Long Path Tool" for solve this problem.
-
Monday, November 19, 2012 11:57 PM
Right click and run as Admin.This is a temporary fix and Microsoft needs to patch it up in their updates- Proposed As Answer by Atcold Wednesday, December 19, 2012 11:14 PM
-
Tuesday, December 18, 2012 9:20 PMthis really works, thanks a lot.
-
Wednesday, April 10, 2013 6:59 PM
I've found the right solution to this problem. The other answers work but they seem like a quick fix rather than actually fixing the actual problem.
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
- Edited by Moogles Wednesday, April 10, 2013 6:59 PM

