Unable To Execute File In The Temporary Directory

Here’s a quick resolution to an unusual error you could encounter installing software on Windows.

“Unable to execute file in the temporary directory.  Setup Aborted.

Error 5: Access is denied.”

The domain security is preventing running the installer because it is trying to put files into the “user temp” folder.  If security cannot be changed, the quick fix is as follows:

You must be the only user logged into the machine.

In the Windows Search box type “advanced”.  Select “View advanced system settings”.

Click Environment Variables:

Note the paths for the TEMP and TMP folders (copy this and save it).

Use Windows Explorer to create a new folder.  This can be on the desktop, or off the C: drive such as C:\TEMP.  The name of the folder does not need to be TEMP.

Select each path, click EDIT and change the path to your new folder.  Click OK to save and close all windows.

Re-run the installer.

When done, change the path back to the default.