The WinReducer Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The WinReducer ProjectLog in

FORUM

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image Empty[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
Hi winter.
Have you seen this parameter for DISM in Windows 8.1?

/StartComponentCleanup
The StartComponentCleanup task was created in Windows 8 to regularly clean up components automatically when the system is not in use. This task is set to run automatically when triggered by the operating system. When run automatically, the task will wait at least 30 days after an updated component has been installed before uninstalling the previous versions of the component.

Apparently it should be used with /ResetBase. See this MS Technet article.

Also, could you add the command as a task via WinReducer?
http://technet.microsoft.com/en-us/library/dn251565.aspx
I will look into this on my PC when I get home tonight. Usually Task Scheduler creates a file on OS level for each task, so it might be just as easy as copying and pasting this file, but maybe not Smile


Also, maybe you could implement the steps from this MS Technet article into WinReducer:
Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image
....
....
6. Analyze the size of the component store. For example:
   Dism /Image:C:\test\offline /Cleanup-Image /AnalyzeComponentStore

7. If the component store cleanup was recommended in the displayed report, then you can start cleanup of the image. For example:
   Dism /Image:C:\test\offline /Cleanup-Image /StartComponentCleanup

8. You can reduce the size of the component store further by adding the /ResetBase parameter. For example:
   Dism /Image:C:\test\offline /Cleanup-Image /StartComponentCleanup /ResetBase

Maybe you can run the analysis in step 6, and based on that, perform step 7 and/or step 8.

I think that would be a better way of doing /ResetBase??
Thx.
theKramer

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
Hey,

I'm aware of this option, but never had a look at it ! So maybe you are right, I need to try this as soon I could !

Thanks.

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
Hi winter.
So I ran these commands on my default image which has all the latest updates and is not reduced.

I found that I saved 700MB

Step 1

Code:

Dism.exe /online /Cleanup-Image /AnalyzeComponentStore

Component Store (WinSxS) information:

Windows Explorer Reported Size of Component Store : 5.16 GB

Actual Size of Component Store : 5.02 GB

    Shared with Windows : 3.59 GB
    Backups and Disabled Features : 1.14 GB
    Cache and Temporary Data : 289.12 MB

Date of Last Cleanup : 2014-07-06 14:00:01

Number of Reclaimable Packages : 4
Component Store Cleanup Recommended : Yes


Step 2

Code:

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase


Step 3

Code:

Dism.exe /online /Cleanup-Image /AnalyzeComponentStore

Component Store (WinSxS) information:

Windows Explorer Reported Size of Component Store : 4.44 GB

Actual Size of Component Store : 4.39 GB

    Shared with Windows : 3.59 GB
    Backups and Disabled Features : 594.71 MB
    Cache and Temporary Data : 222.48 MB

Date of Last Cleanup : 2014-07-13 13:56:02

Number of Reclaimable Packages : 0
Component Store Cleanup Recommended : No

The operation completed successfully.

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
Really Interesting !!!  Very Happy 

So I need to try 2 things : run on an offline ? run on a reduced ISO ?

This seems to be an interesting thing for people who just want updates ...  Smile

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
It took about 15 to 20 minutes to run both commands online.
It took about 15 to 20 minutes to run both commands offline also.

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
More and more interesting !  Very Happy

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
Also, this is applicable for everyone.
What it does I think, is analyze the winSXS directory and remove any previous versions of udpates, if possible, and cleans the temporary update files.

I'm not sure what is best, to do it during the removing process or to setup a task.

It would probably add about 15/20 minutes to the removing process.

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
I've tried during the removing process, and, as I suspected, it didn't work because of pending updates, but I think that should be a good idea to use it with unattended part ... I will add this new option in v1.13 !  Wink 

It will save space in the installed system, so it could fit with the project !

description[PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image EmptyRe: [PENDING] Analyze and clean up the Component Store (WinSxS folder) in an offline Windows image

more_horiz
POST UPDATED WITH PENDING STATUS !
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum