Installer folder cleanup. Clean msp & msi patches marked as superseded

Page 1 of 4 123 ... LastLast

  1. Posts : 11
    Win10 Pro x64 Version 1909 OS Build 18363.720
       #1

    Installer folder cleanup. Clean msp & msi patches marked as superseded


    Has anyone tried this script ?
    Presenting… StartComponentCleanup for MSI (including Office) | My Digital Life Forums

    It cleaned up about 6Gb of files in my windows\installer directory most of them was old Office 2016 patches.

    Is there a downside of cleaning up old and marked as superseded msp & msi patches in installer directory ?

    Win 10 version 2004
      My Computer

  2. Paul Black's Avatar
    Posts : 12,982
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @gvp9000,

    Have you seen this Tutorial? => Clean Up Component Store (WinSxS folder) in Windows 10

    I hope this helps!
      My Computer


  3. Posts : 11
    Win10 Pro x64 Version 1909 OS Build 18363.720
    Thread Starter
       #3

    The winsxs folder is not the installer folder.

    The tutorial is great but it doesn't reduce the size of the c:\windows\installer folder.
      My Computer

  4. Callender's Avatar
    Posts : 4,277
    20H2 64 Bit Home
       #4

    gvp9000 said:
    Has anyone tried this script ?
    Presenting… StartComponentCleanup for MSI (including Office) | My Digital Life Forums

    It cleaned up about 6Gb of files in my windows\installer directory most of them was old Office 2016 patches.

    Is there a downside of cleaning up old and marked as superseded msp & msi patches in installer directory ?

    Win 10 version 2004
    There's no info in your link without crating an account. Or at least for me content is hidden.

    Consider this:

    PatchCleaner - safely clean your windows installer directory | homedev - software development out of the box

    When applications are installed and updated on the Windows Operating System a hidden directory "c:\Windows\Installer" is used to store the installer (.msi) files and the patch (.msp) files.
    Generally these files are important as during updating, patching or uninstalling software it will use the .msi/.msp files. If you blanketly delete all the files in this folder, you will find yourself needing to rebuild windows.
    Note warnings here:

    Download PatchCleaner - MajorGeeks

    It is best to use the "move the files to another drive" option just in case.
      My Computer

  5. eLPuSHeR's Avatar
    Posts : 2,504
    Windows 10 Home x64
       #5

    Good day.

    Unfortunately, Patchcleaner hasn't been updated in some time and may lead to breaking something. Use it with care.
      My Computer

  6. EdTittel's Avatar
    Posts : 4,148
    Windows 10
       #6

    I've stopped recommending PatchCleaner as a cleanup tool at Win10.Guru for that reason. I believe that DISM /online /cleanup-image /startcomponentcleanup does more or less the same cleanup work anyway.
    Thanks for sharing that important observation @eLPuSHeR.
    --Ed--
      My Computers


  7. Posts : 11
    Win10 Pro x64 Version 1909 OS Build 18363.720
    Thread Starter
       #7

    EdTittel said:
    I've stopped recommending PatchCleaner as a cleanup tool at Win10.Guru for that reason. I believe that DISM /online /cleanup-image /startcomponentcleanup does more or less the same cleanup work anyway.
    Thanks for sharing that important observation @eLPuSHeR.
    --Ed--
    DISM /online /cleanup-image/startcomponentcleanup does NOT touch installer directory.
    PatchCleaner breaks newer office and adobe installations.
    I've run this script (took a full backup first) and until now everything is fine.
    I'll report back if something goes wrong.
      My Computer

  8. EdTittel's Avatar
    Posts : 4,148
    Windows 10
       #8

    OK thanks, @gvp9000. Good to know. I wonder if the homedev guys got tired of keeping PatchCleaner up-to-date. I see it's now up on SourceForge but it hasn't been touched since November of 2016 (2 years, 7 months).
    Thanks again,
    --Ed--
      My Computers

  9. EdTittel's Avatar
    Posts : 4,148
    Windows 10
       #9

    I found a useful story named "4 ways to safely delete unused MSI and MSP files from Windows Installer..." The author provides a link to a free (and easily accessible) tool named WICleanup (Windows Installer UnUsed Files Cleanup Tool). Like @Callender, I was not permitted to access the MyDigitalLife item. But this tool is readily available and appears to do the job, and runs as an .exe file.
    HTH,
    --Ed--
    Last edited by EdTittel; 25 Jun 2020 at 15:28. Reason: fix typo
      My Computers

  10. Compumind's Avatar
    Posts : 2,776
    Windows 10 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #10

    Hmm...

    There doesn't appear to be a problem, so why create one?
    You could use CCleaner (free) to perform a registry scan and delete old entries it deems are safe.

    That's about it. Doesn't clean those files you are seeking though. Look at the Custom Clean options.

    Some people reload their systems and start fresh.
    Just make a restorable (and verifiable) backup before doing that.

    HTH



    P.S. If you are short on space, I could understand, if not, no worries.
      My Computer


 
Page 1 of 4 123 ... LastLast

  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 14:22.
Find Us




Windows 10 Forums