Jump to content

Massive Win10 c:\Windows\Installer leavings. Old "PatchCleaner" no longer available.


Recommended Posts

I used to use "PatchCleaner" to get the garbage out of c:\Windows\Installer.
I suggest that CCleaner is a good place to put this functionality back!

 

 

"The directory c:\Windows\Installer is a protected system folder that becomes only visible if you disable the "hide protected operating system files (Recommended)" option in the Folder options. Depending on the age of the system, these orphaned files may take up a considerable amount of space (the most I have seen is 17 Gigabyte)."

The windows operating system holds a list of current installers and patches, that can be accessed via WMI calls, (Windows Management Instrumentation ).

PatchCleaner obtains this list of the known msi/msp files and compares that against all the msi/msp files that are found in the c:\Windows\Installer directory. Anything that is in the folder but not on the windows provided list is considered an orphaned file and is tagged to be moved or deleted"

 

 

See:
https://www.ghacks.net/2015/12/13/patchcleaner-remove-orphan-windows-installer-files-to-free-up-disk-space/

https://www.homedev.com.au/Free/PatchCleaner

 

 

 

 

Link to comment
Share on other sites

  • Moderators

You should note that that ghacks article is from December 2015.
It's 4 years old and the Windows OS has changed a lot since then.

Note where, even back then, it says:

Quote

Some of these files are required during updates or removals and should not be deleted

A warning that is also repeated on the software site itself.

Windows 10 handles updates and update/installation files differently to previous Windows versions and deleteing those files prematurely can 'break' Windows 10.

That was the reason that cleaning of 'Windows.old' was removed from CCleaner in 2018.
https://forum.piriform.com/topic/52360-changes-in-v545-and-your-feedback/?page=3&tab=comments#comment-298665

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

  • Admin
On 06/08/2019 at 10:10, nukecad said:

You should note that that ghacks article is from December 2015.
It's 4 years old and the Windows OS has changed a lot since then.

Note where, even back then, it says:

A warning that is also repeated on the software site itself.

Windows 10 handles updates and update/installation files differently to previous Windows versions and deleteing those files prematurely can 'break' Windows 10.

That was the reason that cleaning of 'Windows.old' was removed from CCleaner in 2018.
https://forum.piriform.com/topic/52360-changes-in-v545-and-your-feedback/?page=3&tab=comments#comment-298665

For this reason, we strongly recommend against using old CCleaner versions prior to 5.46 on Windows 10.  Indeed, Microsoft has already disabled older versions of CCleaner (prior to version 5.35) with Windows 10 updates, and is expected to extend this up to CCleaner 5.45 at some point in the future, requiring users to upgrade their CCleaner to a "safe" version.

Piriform Homepage - [CCleaner - CCleaner Mac - CCleaner Android - CCleaner Browser - Recuva - Speccy - Kamo] - Product Support

Looking for your licence key, expiry date or download link? Check here first: https://www.ccleaner.com/support/license-lookup
To find out how we protect your privacy - read CCleaner's Data Factsheet.
What's new? Check the latest CCleaner for Windows release notes

Link to comment
Share on other sites

  • Moderators

Have you run the buit in Disk Clean-up with the 'system files' option?

It can take a while to clean up old installs and update files.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

  • Moderators

As previously said Windows 10 is the best/safest option to deal with it's own installation files.
Using anything else may 'break' your computer.

You say you've already run Disk Clean-up. - Have you also tried running 'Storage Sense' from the Windows 10 settings?

The options/menus are slightly different depending on your Win10 version. This is the sequence for 1903, older versions have similar but slightly different labels:(Settings>System>Storage>"Configure storage sense or run it now" then on the new window "Clean now")

PS. I don't even have a hidden 'C:\Windows\installer' folder on my 5 year old laptop, despite numerous version updates. (Started as 8.1 now 10v1903).
I've never done anything to remove it, other than run those 2 built-into Windows cleaning tools at least once a month.
 

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

i take a look in c:\windows\installer...

 

i found also a lot of temorary empty folders with no function for w8.1 -> i think this behavior of windows is the same in w10 too and diskcleanup dont work correctly how it seems

 

"msif761.tmp-" (122 of this kind of empty folders from year 2016) -> i can delete it safely but manually

 

i mean it would be nice if ccleaner can take it to nirvana

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

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.