why Dism.exe with /StartComponentCleanup doesn't work ?


  1. Posts : 476
    windows 7 ultimate 64bit
       #1

    why Dism.exe with /StartComponentCleanup doesn't work ?


    hi
    after every windows update , i always open cmd as administrator and let windows 10 or 8.1 run this command


    Code:
    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
    why it doesn't work under windows 7 64bit ?

    thanks
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Because the version of DISM in W7 does not have a StartComponentCleanup switch under the Cleanup-Image switch.

    Look at:
    Code:
    Dism.exe /Online /Cleanup-Image /?
      My Computer


  3. Posts : 476
    windows 7 ultimate 64bit
    Thread Starter
       #3

    UsernameIssues said:
    Because the version of DISM in W7 does not have a StartComponentCleanup switch under the Cleanup-Image switch.

    Look at:
    Code:
    Dism.exe /Online /Cleanup-Image /?
    hi
    thanks
    is there a simail command line for windows 7 to cleanup WinSxS after Windows Update?
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    Windows Disk Cleanup should remove some of those WinSxS files. However, the cleanup steps below can take more than an hour to complete (or just a few minutes)... during which time, the computer cannot be used.


    Start > search for Disk Cleanup.

    Right click on the shortcut that the search should locate.

    Select run as admin from the context menu.

    Pick a drive letter (if need be) and let it scan.

    Check everything and click on OK.

    Agree to delete the files.

    After the cleanup progress bar window goes away, restart the computer to complete the cleanup.
      My Computer


  5. Posts : 58
    windows
       #5

    old thread but couldn't find a more recent one
    drugo said:
    hi
    after every windows update , i always open cmd as administrator and let windows 10 or 8.1 run this command


    Code:
    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
    why it doesn't work under windows 7 64bit ?

    thanks
    because Dism has no 'startcomponentcleanup' option, that's just a myth that started who knows when & then spread over the web - even windows 8.1 doesn't have it (I know, tried it: option not recognized)

    maybe it's a win10 thing only, dunno


    ps. and the "disk cleanup" feature's just another built-in useless piece of garbage that only gains you a few Mb at most, waste of time. I know, cause I tried it too
    it certainly never freed up several gigs, for anyone

    in win7 there is no way to delete the backup/restore files for the updates (to make it irreversible & thus gain drive space) ditto for win8.1
    if you want to gain space you have to uninstall the updates themselves
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:01.
Find Us