Table of Contents
Today, this article will show you how to Fix “Make Sure Your Temp Folder Is Valid” Error on windows. Some users have seen a warning message pop up that says, “Error writing temporary file.” When installing or removing software on Windows, make sure your temp folder is real. Fixing this Error is pretty easy, and we’ve listed a couple of ways to do it below.
When we double-click an installer file or right-click an app to remove it, we usually don’t expect any problems. But sometimes, an error sign that says “Error writing temporary file” may pop up on our screen. Make sure that your temporary folder works.” If you can’t get rid of the annoying message in Windows 10 or Windows 11, one of the following solutions will work.
First of all, We want to make it clear that this error happens with all apps, not just Team Viewer. This error can happen when installing any program. It has nothing to do with installing the program. It’s just that you need to fix some settings on your computer. Now, let’s get back to the cause of this mistake. When you try to install software on a Windows computer, it looks for the temp folder to store some data while it writes the registry.
Disable Read-Only Access
- Launch File Explorer
- Navigate to C:\Users\UserName\AppData\Local
- Right-click the Temp folder and select Properties
- Open the Security tab
- Select your username and click the Edit button
- Check the Allow option next to Full control
- Click Apply > OK
- Restart your computer
- Check if the problem is now solved
Run Windows Memory Diagnostic Tool
- Press the Windows key + S to open the Start Menu search bar
- Type Windows Memory Diagnostic and select the Best match
- From there, you should see two options: Restart now and check for problems and Check for problems the next time I start my computer
- To troubleshoot memory problems right away, select the Restart now and check for problems option on the Windows Memory Diagnostic screen
Delete Temporary Files
- Click on the magnifying glass icon located in the taskbar to open the search tool
- Type Storage Sense in the search box
- Select Turn on Storage Sense from the search results
- Click the Storage Sense toggle switch to turn it on
- Click on the > arrow on the Storage Sense option to bring up the settings directly below
- Select the Keep Windows running smoothly by automatically clearing up temporary system and app files checkbox
- Turn on the Automatic User Cleanup content option
- Click the Run Storage Sense drop-down menu to select an automatic cleanup schedule for deleting temporary files
- Select the Every day option for the most regular scheduling
- To manually delete temporary files with Storage Sense, press the Run Storage Sense now button
Compress the .exe File
- Right-click the EXE file
- Select Send to > Compressed (Zipped)
- Windows will create a zipped folder with the same name
- Open the zipped folder
- Launch the installer from the zipped folder
Try Clean Boot
- Open the Search menu, type in system configuration, and press Enter
- Under the Services tab, tick the Hide all Microsoft services box
- Click on Disable all button
- Head over to the Startup tab and click on Open Task Manager
- Select a third-party program and click on Disable at the top
- Repeat this step to disable all third-party apps and programs
- Restart your PC to enter the clean boot state and see if the issue persists
- If the issue disappeared in the clean boot state, then you can be certain that a third-party app is causing it
- Go through all recently installed apps or programs and remove them one by one
Reset Windows
If none of the other options work, you might want to try resetting Windows. Keep in mind that this is a long process because resetting Windows will delete all your apps and require you to restart them. If you want to know more information about this Visit Official Microsoft Support site.
- Open the Start Menu and click on Settings
- Press on Update & security
- Click on Recovery in the left pane
- In the right pane, click on Reset PC next to Reset this PC
- Click on either Keep my files (if you want the computer to be reset without losing any of the user data stored on it) or Remove everything (if you want the computer to be reset and any and all user data stored on it to be deleted
- If presented with a warning, simply click on Next
- When prompted to do so, click on Reset
What Is NSIS Error Writing Temporary File and Why It Occurs
The “writing temporary file” NSIS error usually happens when you try to run an installer file, uninstall a program, or restart the computer. This message means that Windows can’t read or write to the temp folder. Nullsoft Scriptable Install System (NSIS) problems mean that the.EXE file of an application has become corrupted for some reason, which affects the Windows Installer file and makes it impossible to make changes to the application. This error can happen for a number of reasons, and here you can see the most usual ones.
- The temporary file is corrupted.
- A misconfiguration in the temp folder prevents you from accessing the temp folder.
- Your computer is infected by viruses or there is malware in the PC.
- The installer is pirated. An incorrect installer can also result in the error message “Make sure your temp folder is valid”.