Windows 10 Recovery Tools - Bootable Rescue Disk

  1. OldMike65's Avatar
    Posts : 108,107
    Windows10 Pro (x64) 20H2 19042.985
       #261

    Kyhi said:
    I Dunno.....
    Well at least I'm not the only one.....that makes be feel a little better....Thanks anyhow for trying Kyhi
      My Computers

  2. Cliff S's Avatar
    Posts : 25,682
    Win10 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #262

    Deleting them could cause system stability problems as they are also stored in the reguistry:
    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.
    You can try this command:
    dism /online /Cleanup-Image /spsuperseded
      My Computers

  3. OldMike65's Avatar
    Posts : 108,107
    Windows10 Pro (x64) 20H2 19042.985
       #263

    Cliff S said:
    Deleting them could cause system stability problems as they are also stored in the reguistry:

    You can try this command:
    dism /online /Cleanup-Image /spsuperseded
    Nope.....didn't even reboot this time because I got this msg after running that command Cliff

    Windows 10 Recovery Tools - Bootable Rescue Disk-cliffs.png
      My Computers

  4. Cliff S's Avatar
    Posts : 25,682
    Win10 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #264

    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 Computers

  5. Kyhi's Avatar
    Posts : 3,573
    Windows 3.1 to Windows 10
    Thread Starter
       #265
      My Computer

  6. topgundcp's Avatar
    Posts : 2,778
    Linux Mint 20.1 Win10Prox64
       #266

    OldMike65 said:
    Question Kyhi, No matter what I seem to try I cannot empty my PendingRenames folder. I use to run this Dism command.
    Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
    This does not remove any of those files now. Its up to over 650mb. Tried turning on trustedinstaller and let it run for 5 to 10 mins
    and that didn't work either. This has always been a problem for me trying to clean up this folder after running SFC /Scannow.
    Do you have any tricks on how to make Windows cleanup this folder???
    Mike....
    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:

    1. 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
    2. 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.
    3. 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.
      My Computer

  7. OldMike65's Avatar
    Posts : 108,107
    Windows10 Pro (x64) 20H2 19042.985
       #267

    topgundcp said:
    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:

    1. 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
    2. 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.
    3. 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.
      My Computers

  8. topgundcp's Avatar
    Posts : 2,778
    Linux Mint 20.1 Win10Prox64
       #268

    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.
      My Computer

  9. OldMike65's Avatar
    Posts : 108,107
    Windows10 Pro (x64) 20H2 19042.985
       #269

    topgundcp said:
    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.....:)
      My Computers

  10. topgundcp's Avatar
    Posts : 2,778
    Linux Mint 20.1 Win10Prox64
       #270

    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.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 22:10.
Find Us




Windows 10 Forums