Unable To Execute Files In The Temporary Directory - TechCult

[SOLVED] Unable To Execute Files In The Temporary Directory

Users have reported experiencing this error when trying to run a setup file which means the main cause of this problem is the user’s permission. What I mean to say is that at some point your system might have got corrupted and because of which your user doesn’t get the permission to run the setup file.

While the causes of this error are not limited to user’s permission as in some cases, the main problem was with the Temp folder of Windows, which was found corrupted. The Error “Unable To Execute Files In The Temporary Directory” won’t let you install the executable file even if you close the Pop-up box, which means a serious issue for a user. Now there are few solutions which help fix this error, so without wasting any more time let’s see them.

Note: Make sure to create a system restore point in case you accidentally mess up something in Windows.

[SOLVED] Unable To Execute Files In The Temporary Directory

Before trying the below-listed methods, make sure you first try to run the Program (Which you are trying to install) as Administrator and if you still see this error then continue. So without wasting any time let’s see How to Fix Unable To Execute Files In The Temporary Directory error with the help of the below-listed guide.

Method 1: Fix security permissions on your Temp folder

1. Press Windows Key + R then type %localappdata% and hit enter.

2. If you can’t reach to an above folder, then navigate to the following folder:

3. Right-click on the Temp folder and select Properties.

4. Next, switch to Security tab and click advanced.

5. On the permission window, you will see these three permission entries:

3. Right-click on the Temp folder and select Properties.

4. Next, switch to Security tab and click Edit.

5. Click Add and type Everyone then click on Check Names. Click Ok to close the window.

6. Make sure that the Full Control, Modify and Write box is checked then click OK to save the settings.

7. Finally, you may Fix Unable To Execute Files In The Temporary Directory as the above method gives full control over the Temp folder to all the users of your system.

Method 3: Creating a New Temp Folder

1. Press Windows Key + R then type “C:” (without quotes) and hit enter to open C: drive.

Note: The Windows must be installed on C: Drive

2. If you have a problem with the above step, then simply navigate to C: drive your PC.

3. Next, right-click in an empty space in the C: folder and click New > Folder.

4. Name the new folder as Temp and close the window.

5. Right-click This PC or My Computer and select Properties.

6. From the left pane window, click on Advanced system settings.

7. Switch to the Advanced tab and then click Environment Variables.

8. In the User variables for your Username, double-click the TMP variable.

 Note: Make sure it’s TMP, not the TEMP variable

9. Replace the Variable value to C:\Temp and click OK to close the window.

10. Again try to install the program, which would work this time without any problem.

Method 4: Miscellaneous Fixes

1. Try to Disable your Antivirus and Firewall to see if this work or not.

2. Disable HIPS (Host-based Intrusion Prevention System HIPS).

That’s it you have successfully Fix Unable To Execute Files In The Temporary Directory, but if you still have any queries regarding this guide, please feel free to ask them in the comment’s section.

By