New
#261
Deleting them could cause system stability problems as they are also stored in the reguistry:
You can try this command:Stores the names of files to be renamed when the system restarts.
This entry consists of pairs of file names. The file specified in the first item of the pair is renamed to match the second item of the pair. The system adds this entry to the registry when a user or program tries to rename a file that is in use. The file names are stored in the value of this entry until the system is restarted and they are renamed.
dism /online /Cleanup-Image /spsuperseded
Mike you could try the "thorough" version of SFC/DISM and see if it makes them smaller(less PFRs) reboot after:
fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c:&Dism.exe /online /Cleanup-Image /StartComponentCleanup&&sfc /scannow&Dism.exe /Online /Cleanup-Image /RestoreHealth&sfc /scannow&Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase&pause
It used to be disk cleanup would clean out Windows Updates, but now DISM is suppose to take care of that(it's part of automatic maintenance).
My PendingDeletes & PendingRenames are both empty. Normally the folders are cleaned by TrustInstaller when the system is idle or by scheduled maintenance and these files are locked so you cannot manually delete them. Check the dates on these files. If they are old:
- Try running Disk Cleanup in extended mode from Admin Command. Put a check mark on everything except "Setup Logs Files"
%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535- If 1 does not work, download Sysinternals PendMoves and MoveFile . Run from Admin Command and add each file to the list using this syntax: Movefile xxxx "" where xxxx is the file you want to delete in PendingRenames and "" is empty destination. Run Pendmoves to display the list of files to be deleted on next reboot.
- step 2 should do the job but when all else failed, I use Linux Mint/UBUNTU as last resort
NOTE: I assume, you've already have a backup image with Mac, just in case.
The only folder with files is my pendingrenames folder, it has over 30,000 files and is about 939mb in size. These files are only about two weeks old. I did try option #1 with no success. Option #2 I have not tried, and don't think I want to tag over 30,000 files, so I'll pass on that option. My last backup was on Dec 17th, with MR. If I did restore that backup, my pendingrenames folder would be empty. Just would have to do a couple updates, if I restore that last backup.
I am curious on just how you use Linux Mint.....I do have one on a USB stick, that I can boot up. But I can also wait for our next update from MS and that should remove those files also.
30,000 files ??? Did you upgrade from 10240 to 10586 ?.
I use Linux Mint since it does not impose any security from Windows. Just boot up with Mint, open My Computer and use the file explorer to navigate to the folder and delete the content.
Since you've already have the backup, you can try it. Worst case is to restore from backup.
Nope...all I did was run SFC /scannow maybe 3 or 4 times within the last 2 weeks that's it......I hate having to run SFC as it always does a lousy job cleaning up after itself. oh well.....easy way is to restore....which I already knew, was just trying to see if anyone had a better idea on how to make Windows cleanup its self.....:)
There must be some glitches with your current Windows i.e maybe some background process suppose to run to take care of the clean up is not running. If your Windows is running correctly, you should not have any leftover from those 2 folders. Had nothing to do with sfc.Nope...all I did was run SFC /scannow maybe 3 or 4 times within the last 2 weeks that's it......I hate having to run SFC as it always does a lousy job cleaning up after itself. oh well.....easy way is to restore....which I already knew, was just trying to see if anyone had a better idea on how to make Windows cleanup its self.....:)