Jump to content

Suggestion RE: New "Windows SubSystems Temp Files" Option in CCleaner v5.90


lmacri

Recommended Posts

I would like to suggest that developers move the new Windows SubSystems Temp Files cleaning option introduced in CCleaner v5_90 from the "System" section to the "Advanced" section (i.e., to the same section as Windows Event Logs cleaning) and remove the word "Temp" from the descriptor "Windows SubSystems Temp Files".

Please see my 20-Feb-2022 thread Question RE: New Windows SubSystems Temp Files Cleaning in Cleaner v5.90 about how this new option wants to clean files in my C:\Window\System32\SRU folder, as well as comments about the relationship of the SRUJet to the Diagnostic Policy Service (DPS).  As of today no one from Piriform / Avast has replied in my thread and explained exactly what folders will be cleaned when this Windows SubSystems Temp Files option is enabled, or why the contents of these folders might need to be purged.

2111753046_CCleanerPortablev5_90_9443CustomCleanNewWindowsSubSystemsTempFilesOption20Feb2022.png.515ca5127dd9f3d5cdf14b2146d02aa8.png

 

From what little information I've been able to find about the SRUJet, the SRU.log and SRUDB.dat files will be be re-created by Windows if they are deleted from C:\Window\System32\SRU folder.  I'm not sure it's appropriate to categorize all the files in this folder as "temporary" files, since "temporary" implies these files are no longer required by the system and that cleaning them can be done on a regular basis to free up disk space.

As an analogy, I know that certain problems with Windows Update can be fixed by clearing or renaming the C:\Windows\SoftwareDistribution folder and allowing Windows to re-create the necessary folders and files.  However, I wouldn't suggest that anyone do this on a regular basis just to free up disk space, and I wouldn't recommend that they purge this folder before stopping their Windows Update Service (wuauserv) and Background Intelligent Transfer Service (bits) as instructed in Windows Central article How to Clear the 'SoftwareDistribution' Folder on Windows 10 and Make Updates Happen Again.
-----------
64-bit Win 10 Pro v21H2 build 19044.1526 * Firefox v97.0.1 * Microsoft Defender v4.18.2201.10-1.1.18900.3 * Malwarebytes Premium v4.5.4.168-1.0.1599 * CCleaner Portable v5.89.9401
Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620

Link to comment
Share on other sites

i don't like that this new cleaning of the "windows subsystems temp files" ie the "SRU" folder has been added to ccleaner's cleaning.

virtually all of the files within the "SRU" folder are updated on a daily basis, suggesting that they shouldn't be being removed.

it doesn't seem like cleaning the SRU folder is needed. the files there don't use much space.

 

 

Link to comment
Share on other sites

Just for your information:

The directory "C:\Windows\System32\sru" contains the database for recording the network data usage.

Here you can find more information about it:
https://www.thewindowsclub.com/manage-the-data-usage-limit-on-windows-10
https://www.thewindowsclub.com/clear-data-usage-in-windows-10

The Winapp2.ini file has contained this for a very long time. However, CCleaner's new entry does not delete the database itself, but only the temporary files of the database.

Link to comment
Share on other sites

2 hours ago, APMichael said:

... However, CCleaner's new entry does not delete the database itself, but only the temporary files of the database.

I must correct myself, it also deletes the database "SRUDB.dat". (The temporary files of the database would be only "*.jrs" and "*tmp.log".)

If the database is deleted, it is better to delete the entire contents of the folder and rename the entry to "Data Usage".

Link to comment
Share on other sites

3 hours ago, APMichael said:

...The directory "C:\Windows\System32\sru" contains the database for recording the network data usage...

Hi APMichael:

Thank you for letting me know that files in the C:\Window\System32\SRU folder are used to track data usage on your internet connection.

Knowing this, here are additional questions for Avast / Piriform:

  • Instead of enabling this new "Windows SubSystems Temp Files" option, can users achieve the same thing by going to Settings | Network & Internet | Network Status | Data Usage and then scrolling down to the end of the list and clicking the Reset Usage Stats button (see image below)?
  • Is it necessary (and safe) for the "Windows SubSystems Temp Files" option to delete all files in the C:\Window\System32\SRU folder, including the SRUDB.dat?
  • Assuming that the new "Windows SubSystems Temp Files" cleaning option only deletes the files in this one particular C:\Window\System32\SRU folder (which appears to be the case on my Win Pro 10 machine as shown in my image in my original post), could Piriform / Avast rename this option something like "Reset Internet Data Usage Stats" so users understand its purpose, or does Piriform / Avast plan to expand the scope of this "Windows SubSystems Temp Files" cleaning in the future so that it deletes the content of other C:\Windows subfolders?

1662175729_Win10Prov21H2SettingsNetworkAndInternetClearDataUsageStats27Feb2022.png.2d364284828694d74860ba7488456496.png

-----------
64-bit Win 10 Pro v21H2 build 19044.1526 * Firefox v97.0.1 * Microsoft Defender v4.18.2201.10-1.1.18900.3 * Malwarebytes Premium v4.5.4.168-1.0.1599 * CCleaner Portable v5.90.9443
Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620

Link to comment
Share on other sites

  • 1 month later...
On 27/02/2022 at 07:21, APMichael said:

I must correct myself, it also deletes the database "SRUDB.dat". (The temporary files of the database would be only "*.jrs" and "*tmp.log".)

If the database is deleted, it is better to delete the entire contents of the folder and rename the entry to "Data Usage".

The release notes <here> for CCleaner v5.92 (rel. 11-Apr-2022) state in part that "We’ve renamed the ‘Windows SubSystems Temp Files’ rule to “Network Data Usage” to make it clearer that this rule removes historical, statistical data about your network usage" so kudos to Avast / Piriform for the name change.

I tested the latest CCleaner Free Portable v5.92 and confirmed that enabling this option still deletes the SRUDB.dat database in addition to .jrs and .log files in the C:\Windows\System 32\SRU folder.  I commented in my 25-Feb-2022 post <above> that "from what little information I've been able to find about the SRUJet, the SRU.log and SRUDB.dat files will be be re-created by Windows if they are deleted from C:\Window\System32\SRU folder" so I don't believe this is a major concern, but users should just be aware that all their historical network usage data will be deleted if they enable this option.

1192488740_CCleaner5_92CustomCleanRenameFromSubSystemsTempFilestoNetworkDataUsage13Apr2022.png.88d0372734e5afb2549a350e73cddc70.png
-----------
64-bit Win 10 Pro v21H2 build 19044.1586 * Firefox v99.0.1 * Microsoft Defender v4.18.2203.5-1.1.19100.5 * Malwarebytes Premium v4.5.7.186-1.0.1645 * CCleaner Free Portable v5.92.9652
Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.