Note on archived topics.
12-03-2013 05:06 AM
I've recently noticed that there are over 73,000 files in this folder and would like to know if it is safe to delete them? I'm running Windows 8.1 Pro with MC x64.
TIA for any input on this.
Product name: HP ENVY dv7-7233nr Notebook PC
Product number: C2N68UA#ABA
12-10-2013 06:01 PM
Run Disk Cleanup.Click on the button "Clean up system files". Also choose "Windows Update Cleanup".
**Click Accept as Solution on a Reply that solves your issue**
***Click the Thumbs-Up button as a way to say Thanks!***
04-22-2014 09:57 AM
I know it's been a long time since this thread was started. However, I had the same issue recently and found the rather simple answer while searching the web. The problem is, I can't find the link at the moment to give proper credit.
Here's the basics:
The entries in Pending Renames are put there by running the SFC.exe /scannow application. SFC doesn't do a good job of cleaning up after itself. It leaves tons of entries in that folder. If you were to open the folder and run SFC.exe /scannow, you will see it in action.
The TrustedInstaller app will go into "scavenge mode" after it installs a program/update. After an install/upgrade, it waits for an idle period of approx 5-10 minutes and then runs the scavenge mode. This will cleanup the files.
To clear out that directory, install something such as telnet which will invoke the TrustedInstaller. You can see the process running in task manager. Then, don't run any apps at all for about 10 mins and you'll notice the directory has been magically cleared.
The key is to get TrustedInstaller running and have the PC idle for more than 5 minutes. In this fast paced world, I would think we're installing programs and want to run them immediately. Because there normally isn't an idle time, TrustedInstaller doesn't always get to do its magic.
This only works for pending renames. It won't do anything for the other files in the winsxs\temp directories.
As I said, I found an excellent writeup on the web for this and wish I could give credit but alas, cannot find it again.
I hope this will help someone
08-27-2014 05:41 AM - edited 08-27-2014 05:46 AM
I know this solution has already been described, I thought to include a bit more info followed by a step-by-step explaination for folks who need the further help.
The "C:\Windows\winsxs\Temp\PendingRenames" subfolder is also used by Windows Update to store files temporarily when the existing files are in use by the system and is normally cleared when files are updated during a system restart, but occasionally they do not get deleted and remain in the folder. Sometimes running Windows Disk Cleanup (see below) will trigger Windows to complete the task.
* If you are not on the start screen, tap on the Windows-key, or selectStart.
* In the Search programs and files, which is where the cursor will be blinking by default, type Disk Cleanup and select "Free up disk space by deleting unnecessary files".
* Click on "Clean up system files". The application restarts and additional cleanup options become available.
* Look for the entries "Previous Windows installation(s)" - if you have upgraded from a previous version - and "Windows Update Cleanup". Select these and any others you want to clean. It's quite safe to select all available options.
Note: If you select the above two options, you'll be unable to restore a previous version of Windows [if you upgraded windows] or uninstall previous windows updates.
After running Disk Cleanup perform a system restart and then repeat the procedure, restarting again.