cancel

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
FlyingHorse Tutor
Tutor
10 3 0 0
Message 1 of 4
11,124
Flag Post
HP Recommended

C:\Windows\WinSxS\Temp\PendingRenames

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.

Best regards,
FlyingHorse

Product name: HP ENVY dv7-7233nr Notebook PC
Product number: C2N68UA#ABA
0 Kudos
3 REPLIES 3
Provost Provost
Provost
44593 44329 3329 13940
Message 2 of 4
11,094
Flag Post
HP Recommended

C:\Windows\WinSxS\Temp\PendingRenames

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!***

0 Kudos
simpk5 Honor Student
Honor Student
1 1 0 1
Message 3 of 4
10,761
Flag Post
HP Recommended

C:\Windows\WinSxS\Temp\PendingRenames

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 fix:

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

 

 

Intern
Intern
28 26 1 2
Message 4 of 4
10,347
Flag Post
HP Recommended

C:\Windows\WinSxS\Temp\PendingRenames

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.

 

 

be-well
0 Kudos

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation