Is it safe to manually delete files in WinSxS\Temp folder?


  1. Posts : 15
    Windows 10
       #1

    Is it safe to manually delete files in WinSxS\Temp folder?


    So, some background before I ask about the WinSys\Temp folder. I have an HP Stream 11 32GB SSD with Windows 10 Home, Version 1607 (Anniversary Update, Aug2016), OS Build 14393.2214, 64-bit operating system, x64-based processor. It was an emergency purchase when my previous laptop unexpectedly died and I needed something immediately. My previous laptop was an HDD spinner with tons of internal memory, and since I never had any space-related problems that particular specification wasn't even on my radar when I needed a new laptop. I've since learned the painful truth that buying a laptop with only a 32GB hard drive was a terrible choice on my part. But at the time I just didn't know any better. I don't do gaming or anything intensive like that, so I thought any basic laptop would be fine - but I now know how wrong I was.

    I've been able to survive with this laptop past 6 years by cleaning it on a regular basis, weekly and even daily if necessary. I don't have any formal training in computers, what I know I've just learned over the years from having problems and trying to figure out how to fix them. Unfortunately I don't have enough space to do anything that might permanently help with the ongoing problems. I can't do a Windows Update or Reset This PC or use the Media Creation Tool for a clean OS install. I can't afford a new or better laptop, so I've just had to learn to work with what I've got.

    After many years of dealing with the limitations of this laptop, I think I know just about every trick in the book to free up space. I've gotten pretty good at working with just 1.5-2GB free space on my C drive at any given time. I've compressed the OS, turned off system restore and disabled hibernation. I run Disk Cleanup regularly and keep an eye on any other things that might crop up with SpaceSniffer. But now I'm down to 900MB free space, even with my regular cleaning procedures. I can't even run Chrome and Office at the same time anymore, the programs either lock up or crash, so I have to just use them one at a time which really slows me down.

    And I truly am using the absolute bare minimum of programs on this laptop: Google Chrome, HP printer, WPS Office, Malwarebytes and VLC Player - that's it. I've also uninstalled most of the factory apps that came with the laptop (using Geek uninstaller). A couple years ago I had this thing called TWINUI take over as the default player for all of the factory apps and some others I had download from the Microsoft Store. It made the apps completely unusable and I never figured out how to fix it, so I just uninstalled most of the apps to free up some space on the C drive.

    And now to the contents of the WinSxs\Temp folder, which I found is around 1GB using SpaceSniffer. The Temp folder contains 3 subfolders -- InFlight 84MB, PendingDeletes 3MB, and PendingRenames 900MB. Clearly it's the PendingRenames that is taking up most of the space, which I'd like to get back. I've tried using Disk Cleanup and DISM, all run as Admin, but that doesn't delete anything in those 3 folders. I am working within an Administrator account (versus a local user account) and have run DISM with the StartComponentCleanup, RestoreHealth and ResetBase switches, but nothing seems to get rid of the files in that Temp Folder. I ran SFC /ScanNow, but that's doesn't help with the situation. I also ran all of these commands in Safe Mode as well, but that didn't make any difference.

    Every article I've read on the subject says never to manually delete files in WinSxS folder, that it can fatally damage the Windows OS. But I was wondering if it was safe to manually delete the files in the Temp folder? I mean, a folder named "Temp" sort of implies that it's safe to delete those contents. But in reading a lot of articles and threads, I haven't found anything that specifically addresses the safety of deleting the contents of just the WinSxS\Temp folder. This laptop is a real pain in the ass, but it is still working as of right now and I wouldn't want to do anything the jeopardize that. Any suggestions or advice would be greatly appreciated!
      My Computer


  2. Posts : 33,225
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    radeksgrl said:
    ....And now to the contents of the WinSxs\Temp folder ..... I am working within an Administrator account (versus a local user account) and have run DISM with the StartComponentCleanup, RestoreHealth and ResetBase switches, but nothing seems to get rid of the files in that Temp Folder....
    The /startcomponentcleanup switch should work. That was the one that cleared out the WinSxS/temp/pendingdelete folder in this thread.

    WindowsSxS Temp Files

    I routinely use Dism.exe /online /Cleanup-Image /StartComponentCleanup after every cumulative update and none of my PCs have anything in their pendingdelete folder.

    Just in case you were not aware of it, note that it is quite safe to delete the contents of the C:\Windows\servicing\LCU folder. This folder will contain a backup copy of the latest cumulative update after it has installed. This can be 900MB or so. I also routinely delete the contents of LCU after each new CU.
      My Computers


  3. Posts : 15
    Windows 10
    Thread Starter
       #3

    Bree said:
    The /startcomponentcleanup switch should work. That was the one that cleared out the WinSxS/temp/pendingdelete folder in this thread.

    WindowsSxS Temp Files

    I routinely use Dism.exe /online /Cleanup-Image /StartComponentCleanup after every cumulative update and none of my PCs have anything in their pendingdelete folder.

    Just in case you were not aware of it, note that it is quite safe to delete the contents of the C:\Windows\servicing\LCU folder. This folder will contain a backup copy of the latest cumulative update after it has installed. This can be 900MB or so. I also routinely delete the contents of LCU after each new CU.
    For whatever reason, the Dism.exe /online /Cleanup-Image /StartComponentCleanup didn't work for me. As I mentioned in my OP, I ran this command in both normal and safe mode, but it didn't delete any files in that Temp folder. Also, the C:\Windows\servicing\LCU folder you mentioned does not exist on my laptop. I did a search in Explorer for "LCU" for my entire C drive and it didn't find anything, maybe because I don't have enough memory to do a Windows Update. Like I said above, I'm running Windows 10 Home Version 1607, that's the last update I was able to do and that was years and years ago.
      My Computer


  4. Posts : 24,539
    Win 10 Home ♦♦♦19045.5198 (x64) [22H2]
       #4

    radeksgrl said:
    For whatever reason, the Dism.exe /online /Cleanup-Image /StartComponentCleanup didn't work for me. As I mentioned in my OP, I ran this command in both normal and safe mode, but it didn't delete any files in that Temp folder. Also, the C:\Windows\servicing\LCU folder you mentioned does not exist on my laptop. I did a search in Explorer for "LCU" for my entire C drive and it didn't find anything, maybe because I don't have enough memory to do a Windows Update. Like I said above, I'm running Windows 10 Home Version 1607, that's the last update I was able to do and that was years and years ago.


    If you can find the exact model number, you can see if there's a larger SSD you can use...
    HP - Compaq HP Stream | Memory & SSD Upgrades | Crucial.com
    There's also a scanner there, in case you can't find the model number.

    That laptop uses something like... 32 GB eMMC storage
    There might be a compatible... 64GB version?


    You could also just replace it with a real laptop... $200 range, new.

    https://www.newegg.com/p/pl?N=100006...400072&Order=1



    Refurbished laptops...

    https://www.newegg.com/p/pl?N=100006...204016&Order=1
      My Computer


  5. Posts : 33,225
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #5

    radeksgrl said:
    So, some background before I ask about the WinSys\Temp folder. I have an HP Stream 11 32GB SSD with Windows 10 Home, Version 1607 (Anniversary Update, Aug2016), OS Build 14393.2214....
    radeksgrl said:
    Also, the C:\Windows\servicing\LCU folder you mentioned does not exist on my laptop. I did a search in Explorer for "LCU" for my entire C drive and it didn't find anything, maybe because I don't have enough memory to do a Windows Update. Like I said above, I'm running Windows 10 Home Version 1607, that's the last update I was able to do and that was years and years ago.
    I think the LCU folder first appeared in a later version of windows 10, 1607 didn't use it.

    There were so many different models with the name 'HP Stream 11', it's difficult to know exactly which you have. But if it is one with a Clover Trail Intel Atom then that would explain why you could not get any more upgrades after 1607.

    Microsoft confirmed this week that devices running Intel Clover Trail (Atom) processors would not be receiving support for Microsoft’s most recent release of Windows 10, called the Creators Update. Instead, Microsoft promises to support these older processors using the previous Windows 10 Anniversary Update release, version 1607. In addition, Microsoft promises to provide security updates until January 2023, which coincides with the end of the support schedule for Windows 8....

    ....click Start > Settings > System > About and look at the processor information for details. ... if yours says Intel Atom with the designations Z2760, Z2580, Z2560, or Z2520, you are unfortunately on the “no” list for future feature upgrades.
    It's Official: Intel Atom Clover Trail PCs Can't Upgrade to Windows 10 Creators Update


    If so, then your laptop will get no further security updates from Microsoft now that support for these notebooks with Clover Trail Intel Atoms has officially ended. It's really time to think about getting a replacement.

    Microsoft said:
    After January 10, 2023, Microsoft will no longer provide security updates or technical support for Windows 10 on devices based on Intel's discontinued Atom Clover Trail series processors. If you have such devices running Windows 10, Microsoft recommends a new PC with Windows 11 for continued security support....

    Will my computer still work?

    If you continue to use your PC with an Intel Clover Trail chipset running Windows 10 after support has ended, your PC will still work but it will be more vulnerable to security risks and viruses. Your PC will continue to start and run, but will no longer receive software updates (including security updates) from Microsoft.
    https://support.microsoft.com/en-us/...c-59a8168fe4bb
      My Computers


  6. Posts : 30
    Windows 10
       #6

    After cleaning up with Dism.exe /online /Cleanup-Image /StartComponentCleanup WinSxS still weight 7.2 GB. Anyting else i can do to lower the size?

    Also missing the temporary files option under Storage

    Example from internet:
    Is it safe to manually delete files in WinSxS\Temp folder?-4.jpg

    My System reports 4.2GB Temporary files:
    Is it safe to manually delete files in WinSxS\Temp folder?-1.png

    but not showing
    Is it safe to manually delete files in WinSxS\Temp folder?-2.png
      My Computer


  7. Posts : 44,972
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    You've presumably done this:
    Compress or Uncompress Windows 10 with Compact OS
    and used NTFS compression where appropriate.

    To see how your space is used, try Wiztree (free) - provides both a tree representation and a very useful 3D cushion map representation. Here's a portable version you can run from a flash drive.
    WizTree Portable (disk space analyzer) | PortableApps.com

    I found this revealed various dmp, wer and log files that took up space in unexpected places.

    Which leads to another idea- use portable apps/programs stored on a flash drive...

    But given the time you've used this for and the price of a decent 2nd hand device with a much larger SSD...

    E.g. this t440s laptop with a 256GB SSD which I've had for about 6 years cost me £200 - with Win 10 Pro.
      My Computers


 

  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 20:04.
Find Us




Windows 10 Forums