The Windows Update Agent downloads ALL content to %windir%\SoftwareDistribution\Download. If you’re downloading from the Microsoft Download Center, IE may be writing the temporary file into the cache before copying to the final destination.
How do I delete Windows Update temp files?
To delete Update cache, go to – C:\Windows\SoftwareDistribution\Download folder. Press CTRL+A and press Delete to remove all files and folders.
Where does Windows 10 keep temporary files?
Temporary files are stored in several different places, depending on what has created them. Those created by the system are stored in C:\Windows\Temp However, applications also create temporary files, and those are stored in your user folder in the application’s App Data directory.
Is it safe to delete Windows Update files?
Windows Update Cleanup: When you install updates from Windows Update, Windows keeps older versions of the system files around. This allows you to uninstall the updates later. This is safe to delete as long as your computer is working properly and you don’t plan on uninstalling any updates.
Can I delete C :\ Windows SoftwareDistribution?
Usually, if you’re having trouble with Windows Update, or after updates have been applied, it’s safe to empty the content of the SoftwareDistribution folder. Windows 10 will always re-download all the necessary files, or re-create the folder and re-download all the components, if removed.
Can deleting temp files cause problems?
Reputable. Deleting temporary files shouldn’t cause you any problems at all. Deleting registry entries can cause tons of trouble to the point where you have to reinstall your OS.
Is it OK to delete temp files in Windows 10?
Because it’s safe to delete any temp files that aren’t open and in use by an application, and since Windows won’t let you delete open files, it’s safe to (try to) delete them at any time.
Is it OK to delete temp files?
It’s completely safe to delete temporary files from your computer. The job is usually done automatically by your computer, but it doesn’t mean that you can’t perform the task manually.
Does Disk Cleanup delete important files?
Disk Cleanup helps free up space on your hard disk, creating improved system performance. Disk Cleanup searches your disk and then shows you temporary files, Internet cache files, and unnecessary program files that you can safely delete. You can direct Disk Cleanup to delete some or all of those files.
Why does Windows Update cleanup take so long?
And that’s the cost: You need to spend a lot of CPU time to do the compression, which is why the Windows Update Cleanup is using so much CPU time. And it’s doing the expensive data compression because it’s trying very hard to free up disk space. Because that’s presumably why you are running the Disk Cleanup tool.
Can I delete Catroot2 folder?
Deleting the contents of the Catroot2 folder has been known to fix Windows Update errors or problems. Deleting the Catroot and Catroot2 is for Advanced Users Only. If you remove the Catroot folder, your computer won’t boot. If you delete Catroot2, the folder is automatically created when you reboot.
Can Windows SoftwareDistribution download folder be deleted?
The method shown below to delete the SoftwareDistribution folder manually is generally safe as Windows Update will download all update files again when needed. If you decide deleting the SoftwareDistribution folder, you will lose the Windows Update history which might be usuful to trace down problematic updates.
Is it safe to delete prefetch files?
Yes, you can delete everything in Prefetch folder. These are cached files that contain information about the environment and applications you run. They are loaded first when an application starts up. It helps make your apps load just a little quicker.
Does deleting temp files speed up computer?
Delete temporary files. Temporary files like internet history, cookies, and caches take up a ton of space on your hard disk. Deleting them frees up valuable space on your hard disk and speeds up your computer.
Is it safe to delete temp files in AppData local?
When the program session is closed all temp files can be deleted without harm to the program. The .. \AppData\Local\Temp folder is used by other applications as well, not only by FlexiCapture. If temp files are in use, then Windows will not allow to remove them.
What happens if I delete temporary files Windows 10?
Yes, perfectly safe to delete those temporary files. These generally slow down the system. Yes. Temp files deleted with no apparent problems.
Is it safe to delete C :\ Windows temp?
In general, it’s safe to delete anything in the Temp folder. Sometimes, you may get a “can’t delete because the file is in use” message, but you can just skip those files. For safety, do your Temp directory deleting just after you reboot the computer.
Can I delete temp files in Windows?
To delete temporary files: In the search box on the taskbar, type disk cleanup, and select Disk Cleanup from the list of results. Select the drive you want to clean up, and then select OK. Under Files to delete, select the file types to get rid of.
How long does it take to delete temporary files?
Manually cleaning out the Temp folder in Windows usually takes less than a minute but it could take longer depending on how large the collection of temporary files is.
How do I clean up temporary files?
Clear your junk files On your Android device, open Files by Google . On the bottom left, tap Clean . On the “Junk Files” card, tap. Confirm and free up. Tap See junk files. Select the log files or temporary app files you want to clear. Tap Clear . On the confirmation pop up, tap Clear.
What temporary files can I delete in Windows 10?
Delete temporary files on Windows 10 version 1809 and earlier Windows upgrade log files. System created Windows Error Reporting files. Windows Defender Antivirus. Windows Update Cleanup. Thumbnails. Temporary files. Recycle Bin. Temporary Internet Files.
Are temporary files important?
Temporary files are needed when you are using programs or applications, as this is when additional storage must be created to accommodate extra memory and existing file usage. Now, they are supposed to delete themselves once the task or program you have been working on is completed.
April 9, 2016 updated by
Leave a reply »
The update cache is a temporary folder used by Windows Update to store the temporary installation files. By default, Windows Update automatically cleans out the cached updates at a regular interval. But the temporary files will not be deleted when Windows Update fails or refuses to install an update.
Sometimes the obsolete update cache can take up Gigabytes of space and this can run out of disk space on C:\ drive. When you run into space issue or Windows Update doesn’t work properly, you can use this method to safely delete Windows Update cache in Windows 10, 8 and 7.
How to Delete Windows Update Cache to Free Space?
In previous post we’ve covered how to delete temporary Windows installation files ($WINDOWS.~BT) using Disk Cleanup. But that utility doesn’t include an option for purging Windows Update cache. So we need to delete the update cache manually. Before getting started, make sure no update process is running, or your update will fail to install.
- The first step is to temporarily turn off the Windows Update service. Press the Windows key + R to open the Run box. Type cmd and press Enter.
- When the Command Prompt opens, type the command below to stop the Windows Update service.
net stop wuauserv - Open the Windows Explorer and navigate to the following folder and delete all its content (not the folder itself).
C:\Windows\SoftwareDistribution\Download - Once you’ve deleted the update cache, open the Command Prompt again and run the following command to start the Windows Update service.
net start wuauserv
- Previous Post: 2 Ways to Recover iTunes Backup Password on Mac OS X
- Next Post: Fix: “Burn disc image” Option Missing for ISO Context Menu
Download Windows Speedup Tool to fix errors and make PC run faster
There may be times when your Windows Update may give you problems on your Windows 11/10 computer. You may even see Pending Windows Updates which refuse to install for some reason in spite of several attempts. In such cases, you should consider deleting the failed and pending Windows Updates that are downloaded incompletely to your computer and then try to restart the installation once again as soon as you restart your computer.
1] Delete the contents of the Temporary folder
You can delete all the downloaded, failed and pending Windows 10 updates by using the ‘Run’ command.
Open the ‘Run’ dialog box by pressing Win+R in combination and in the dialog box that opens, type %temp% and hit Enter. In the folder that opens before you select all the files and folders within the Temp folder and then delete them.
%temp% is one of many environment variables in Windows that can open the folder designated by Windows as your Temporary folder, typically located at C:\Users\[username]\AppData\Local\Temp.
2] Remove pending.xml file
Navigate to C:\Windows\WinSxS\ folder, search for a pending.xml file and rename it. You may even delete it. This will allow Windows Update to delete pending tasks and build a fresh new update check. See if this helps.
3] Delete contents of SoftwareDistribution folder
You need to delete all the contents of the Software Distribution folder. The Software Distribution folder in the Windows operating system is a folder located in the Windows directory and used to temporarily store files that may be required to install Windows Update on your computer. It is thus required by Windows Update and maintained by WUAgent. It also contains your Windows Update History files, and if you delete them, chances are you will lose your Update history. Also, the next time you run Windows Update, it will result in a longer detection time.
To delete the contents of the Software Distribution folder, in Windows 10, from the WinX Menu, open Command Prompt (Admin). Type the following one after the other and hit Enter:
net stop wuauserv
net stop bits
This will stop the Windows Update Service and the Background Intelligent Transfer Service.
Now browse to the C:\Windows\SoftwareDistribution folder and delete all the files and folders inside.
You may press Ctrl+A to Select All and then click on Delete.
If the files are in use, and you are unable to delete some files, restart your device. After rebooting, run the above commands again. Now you will be able to delete the files from the mentioned Software Distribution folder.
After you have emptied this folder, you may restart your computer, or you may type the following commands, one at a time in the CMD, and hit Enter to restart the Windows Update related Services.
net start wuauserv
net start bits
Now that folder has been flushed; it will now get populated afresh once you restart your PC and run Windows Update.
4] Reset the catroot2 folder
Resetting the catroot2 folder has been known to fix several Windows Update problems.
Catroot and catroot2 are Windows operating system folders that are required for the Windows Update process. When you run Windows Update, the catroot2 folder stores the signatures of the Windows Update package and helps in its installation. The Cryptographic service makes use of the %windir%\System32\catroot2\edb.log file for the updating process. The updates are stored in the SoftwareDistribution folder which are then used by Automatic Updates to carry out the updating process.
NOTE: Please do not delete or rename the Catroot folder. The Catroot2 folder is automatically recreated by Windows, but the Catroot folder is not recreated if the Catroot folder is renamed.
TIP: You can also use the Show or hide updates troubleshooter to block updates that refuse to install or give you trouble. But you have to remember to not block important security updates. If you are facing issues, you may use the Windows Update Troubleshooter.
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP (2006-16) & a Windows Insider MVP (2016-2022). Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.
Reader Interactions
There are numerous cases where Windows Update induces problems in itself and fails to update the components which it downloaded. You might see the ‘pending changes’ notification on your update module which refuse to install despite attempting several times. In cases like these, it is recommended that you delete the already downloaded windows update files.
The update module will check if it has the files present. If it doesn’t, it will reinitialize the entire process and start downloading the updates again. The update files getting downloaded partially is not something and this will fix that issue.
Method 1: Deleting contents of the temporary folder
The temporary folder on your computer holds the files when they are being downloaded and the installer fetches the files from this folder when attempting to install them to the correct directory. The installer never downloads files to the same folder where the installation is selected to happen.
We can try deleting the contents of the temporary folder to fix whatever issue you are having by accessing it using the Run terminal.
- Press Windows + R, type “%temp%” in the dialogue box and press Enter.
- In the directory, you will see hundreds of entries if you haven’t cleared your temp folder ever. It is also advisable that you make a copy of this folder to another location so you can restore if anything wrong happens.
Select all the items, right-click them, and select Delete.
- Power cycle your computer after this and see if this action fixed whatever problem you were having.
Method 2: Deleting content of SoftwareDistribution folder
SoftwareDistribution is a folder located in windows directory which is used to temporarily store files which may be required to install the latest windows updates on your computer. This is a requirement for the update module and the read/write operation to this is managed by WUagent.
Deleting the contents of this folder will delete your update history. Deleting the history can have its own perks, for example, the update module will no longer take large amounts of time to initialize. Before we delete the contents, we have to disable the update module.
- Press Windows + S, type “command prompt” in the dialogue box, right-click on the application and select “Run as administrator”.
- In the command prompt, type “net stop wuauserv” and “net stop bits”. Don’t close the command prompt yet, we may need it later on.
Now we will navigate to Windows Update directory and delete all the updated files already present. Open your file explorer or My Computer and follow the steps.
- Navigate to the address written below. You can also launch the Run application and copy paste the address to reach directly.
C:\Windows\SoftwareDistribution
- Delete everything inside the Software Distribution folder (you can also cut paste them to another location in case you want to place them back again).
Note: You can also instead rename the software distribution folder. Name it something like “SoftwareDistributionold”.
Now we have to turn the Windows Update service back on and launch it again. Initially, the Update Manager might take a few minutes to compute details and prepare a manifest for the download.
- Press Windows + S, type “command prompt” in the dialogue box, right-click on the application and select “Run as administrator”.
- In the command prompt, type “net start wuauserv” and “net start bits” and press Enter.
- Now restart your computer and try doing the activity which prompted you to delete the Windows update files.
Solution 3: Deleting the XML files
Windows maintains an XML file to keep track of all the update files downloaded, or currently in queue to be downloaded. When we delete this XML file, all the list be lost and when Windows will find the list missing, it will create a new one and reinitialize all the operations.
Note: Instead of deleting the list, it is wise to cut paste the file to another location so you always have the option to restore if anything goes wrong.
- Press Windows + R, type “C:\Windows\WinSxS\” in the dialogue box and press Enter.
- Search the directory for a pending XML file and delete
- Restart your computer properly and check if windows update files are deleted successfully.
Solution 4: Resetting the CatRoot2 folder
Catroot and catroot2 are folders which are essential for Windows Update operation. These are used to store the signatures of the update packages and they help in its installation process. Resetting the catroot2 folder is a known fix for several Windows update problems.
Note: Do not delete or rename the catroot2 folder. This folder is automatically recreated by Windows but it isn’t recreated if the latter is done.
- Press Windows + S, type “cmd” in the dialogue box, right-click on the application, and select Run as administrator.
- Once in elevated command prompt, execute the following command statements one by one:
net stop cryptsvc md %systemroot%\system32\catroot2.old
Now delete all the contents of catroot2 folder and after deleting, execute the following command:
net start cryptsvc
The catroot folder will be reset whenever you launch Windows update again.
Bill Wilson
Bill is a certified Microsoft Professional providing assistance to over 500 remotely connected employees and managing Windows 2008 to 2016 servers.
There are some temp folders in Windows which hold the files for temporary use. Over the time these could take a lot of space and may slow down the PC performance. So time to time we require to delete unnecessary files from the system. Let’s see what are the temporary files, and how to delete temp files in Windows 10.
What is Temp file?
As the name (Temp) tells the story; temp files are Temporary files created by either an installer or application / services for temporary use. Once the application or installer closes, these temp files become useless. Because these temp files are associated for the particular session only. Once you open the application again, it will create new files for that session. So we can say, we should clean the temp files regularly to keep our computer clean.
Where are the temp files located?
In Windows 10 temp folder is located at 2 places. One for all users and one is user specific. Windows update keeps its files at different location. And there is another folder named as Prefetch. Below table will show the path of the each folder. Location are related to Windows installed in C drive. If you have installed Windows in different drive change the drive accordingly.
Temp folder Locations:
| Description | Location | Commands |
| Temp folder location for current user only | C:\Users\<user profile>\AppData\Local\Temp | %temp% |
| Temp folder location for all users | C:\Windows\Temp | temp |
| Prefetch folder location | C:\Windows\Prefetch | prefetch |
| Windows update temp files | C:\Windows\SoftwareDistribution\Download | No command |
Various methods to delete Temp Files in Windows
- How to delete temp files through Windows 10 settings
- How to delete temp files using disk cleanup utility
- How to delete temp files manually
- How to Remove prefetch temp files manually
- How to delete Windows update temporary downloaded files
1. Delete Temporary Files through Windows 10 Settings
The first method is to delete temporary files using inbuilt windows 10 settings. Let’s see how to do it?
- With this in mind, press the Win+I combination. Once you’re there, click on System.
- Then, you must click on Storage. Immediately, the partition where the system is installed will be displayed. In addition, you will see several other options. However, the one we are interested in is the one related to temporary files. Therefore, click on ‘Temporary Files’.
- Then the wizard will start scanning the storage for temporary files. This process may take a few minutes, depending on system congestion. Well, below is a list with various types of files. Consequently, select the one corresponding to the temporary files and click on Remove files.
2. Delete Temp Files Using Disk Cleaner
Microsoft’s own system has a simple utility that allows us to get rid of temporary files stored on the computer using Windows built-in cleanup utility. To do this, follow the following steps:
- Press the combination Win+Q and type Disk Cleanup in the search bar.
- The wizard will then determine the amount of space that can be released. In addition, a list of files is displayed. Therefore, you only have to select those you want to delete by checking the corresponding box. Finally, click on Clean up system files.
3. Delete temp files manually
There is another direct option to delete temp files which is manual removal of temp files.
It is to open the Windows File Explorer and access the folder C:\Windows\Temp and C:\Users\<user profile name>\AppData\Local\Temp. Consequently, we will be able to delete them manually in a more direct way. However, the user must have administrator privileges. This is logical, since temporary files will be deleted from all users.
To remove the temp file manually, follow the following instructions:
- Press Windows + R key from your keyboard. It will open up the run box.
- Type temp in the run box and click on OK. This will open up the windows main temp folder.
- Once you are there (C:\Windows\Temp), delete all the files from there.
- Then close this window.
- Press Windows + R key again from your keyboard to open up the run box.
- Now type %temp% to open up the current user profile temp folder.
- Once you are there (C:\Users\<user profile name>\AppData\Local\Temp), delete all the files from there.
- That’s it.
What is Prefetch: Whenever an application is executed on a computer, the Windows operating system generates Prefetch file that includes information on the files loaded by your application. Prefetch file information is used to reduce the program loading time the next time you run it. Seems like a browser cache. Eventually, we should remove them so that it can be recreated automatically, so that it can enhance your computer performance.
To remove prefetch files, follow the following instructions:
- Press Windows + R key from your keyboard. It will open up the run box.
- Type prefetch in the run box and click on OK. It will open up this location: C:\Windows\Prefetch or you may go to the following location directly from Windows Explorer.
- Once you are there (C:\Windows\Prefetch). Select all the files by pressing Ctrl + A keys together and delete them.
- That’s it.
How to delete Windows Update Temp files
As we know Windows-Update downloads lots of files into the computer and then installs them one by one.
Do you know what happens after successfully installing the windows updates? Are these downloaded files deleted automatically or are they still stored on the computer? Yes, all the files are still stored on the computer as temporary files.
So come to the main point, we should delete these Windows update temporary files as well. The Windows update temporary files are stored in (C:\Windows\SoftwareDistribution\Download
) in this folder is is auto generated folder by windows update service. if you delete this folder it will be auto generated once the computer restarted Windows try to download the latest update.
So let’s check how to delete the windows and update temporary files.
-
- Open the services page.
- Stop the Windows update service.
- Open ThisPC and navigate the following location:
C:\Windows\SoftwareDistribution\Download
- Delete all the files and folders in the download folder.
- That’s it.
Alright, we have seen 5 methods to remove temporary files (temp files) in Windows 10. We definitely recommend doing this on a regular basis. But these days this can be done automatically by using system optimizer or system cleaner software. These days even some antivirus software also provide functionality to regularly run the system cleanup utility.
