As usual, mostly for new users, there are a lot of errors messages and notifications encountered every day, especially on Windows 10. This particular fix has to do with helping you resolve the error encountered when trying to create a temporary directory on Windows 10.

  • Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).

  • Click Start Scan to find Windows issues that could be causing PC problems.

  • Click Repair All to fix issues affecting your computer’s security and performance

  • Restoro has been downloaded by 0 readers this month.

Having an error when trying to create a temporary directory connotes that there is a challenge with the permissions of your user account. This error is usually displayed with a message – unable to execute files in the temporary directory.

This issue is usually encountered when a software solution is installed through an executable file. When the error message is displayed, you just have to close it, but this won’t permit you to proceed with the installation. This error can be encountered on Windows 7, 8, and 10.

This error message means that your system had been configured to block the setup. No need to panic, because this is only a configuration error and not a major error. Nevertheless, to enable you to continue with the installation process, there are a few things that you can do to fix this error. Below are few methods that can be utilized to clear off the error message.

What to do if you can’t create a temporary directory on PC

Solution 1: Select Run as administrator

This should be a very quick fix for you in case you are in a hurry to get your installation done and have no time for more extensive solutions. As said earlier, the error signal means there is a problem with the permissions.

This can be easily bypassed with these few steps:

  • Look for the executable file that you want to install
  • Right click on it and from the context menu, select Run as administrator.

This solution should be able to help you clear the error message and make you install your software without any issue.

— RELATED: How to open Temporary Internet Files in Windows 10

Solution 2: Create a new Temp folder and change the variables

Creating a new Temp folder and changing the variables is the best option if the error signal clearly says that there is a problem with the temporary directory. Follow these steps carefully and get the error out of your way:

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.Click here to download and start repairing.

Expert tip:

SPONSORED

  • Enter the C: drive and create a new folder, rename it as Temp (switch C: with the drive your OS is installed)
  • Right-click on This PC and select Properties from the menu context
  • You’ll see an Advanced Settings link on the left side, click on it
  • Click on the Advanced Tab in the window, and click on the Environment Variables
  • Double click TMP in the User variables
  • The value you will see should be %USERPROFILE%AppDataLocalTemp. Change that to C:Temp. Then, close the window by pressing OK.

After all, try to install the program, it should be able to work perfectly without any issue.

Solution 3: Change the control over the TEMP folder

  • In the drive where your OS is installed, enter your user’s folder and search for the AppData folder, in which you will find a local in the, if your OS is installed in the C: partition and your username will be User, also the address in the File Explorer should be “C:UsersUserAppDataLocal”
  • Search for the Temp folder inside, right-click and select properties from the menu
  • In the properties window, click on Security
  • In the security window, click on Everyone
  • Click on Edit and ensure that all the Full Control box is selected, then click on OK to save.

This should give you full access to the Temp folder and resolve the error 5 permission problem.

— RELATED: How to delete temporary files using Disk Cleanup on Windows 10, 8, 7

Solution 4: Confirm the Include inheritable permissions in the Temp folder

Just like the previous solution, follow these steps:

  • In the drive where your OS is installed, enter your user’s folder and search for the AppData folder, in which you will find a local in the, if your OS is installed in the C: partition and your username will be User, also the address in the File Explorer should be “C:UsersUserAppDataLocal”
  • Search for the Temp folder inside, right-click and select properties from the menu
  • In the properties window, click on Security
  • Click on Advanced to view the permissions.
  • In the permissions, there should be SYSTEM, Administrator and User. All these must have full control and inherited from the C:UsersUser
  • Look for the Include inheritable permissions from this object’s parent selection, click Continue, click on Apply and then press OK to save the setting.

By now, you should already have access to write to the directory which provides you an instant remedy this error.

Handling Windows’ permissions can be very complicated for an individual that doesn’t know much about it. Being able to set up permissions properly will help you not allow you against making serious damage to the OS.

Notwithstanding, these proffered solutions, when followed properly will enable you to fix the error of not being able to create temporary directory encountered on Windows 10.

RELATED GUIDES YOU NEED TO CHECK OUT:

  • How to reset temporary internet files location to default

  • How to turn off reserved storage in Windows 10 19H1

  • Delete Outlook Temporary Files on Windows 10

  • windows 10 fix

Email *

Commenting as . Not you?

Comment