Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

27 Feb 2016   #1
drugo

windows 7 ultimate 64bit
 
 
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 System SpecsSystem Spec
.
27 Feb 2016   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

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 System SpecsSystem Spec
27 Feb 2016   #3
drugo

windows 7 ultimate 64bit
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
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 System SpecsSystem Spec
.

27 Feb 2016   #4
UsernameIssues

W7 Pro SP1 64bit
 
 

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 System SpecsSystem Spec
10 Mar 2018   #5
7point5

windows
 
 

old thread but couldn't find a more recent one
Quote   Quote: Originally Posted by drugo View Post
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 System SpecsSystem Spec
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
DISM error 87 "DISM /online ""command not recognized""
Hey, So im trying to clean up my PC, FRESH install w/current updates followed @BRINK guide to DISM and keep getting this error
Performance & Maintenance
acer aspire 4738' s bluetooth doesn't work but wifi work?
Acer aspire's Bluetooth doesn't work since I bought it I've installed drivers too but it doesn't work what should I do. In its specs it has Bluetooth . But there is no Bluetooth device found in device manager how to repair this. Please HELP!!
Hardware & Devices
My bluetooth doesn't work. bttray doesn't open.
Hello. I am quite new here, but I've been wanting to get this problem solved for a long time, and I haven't seemed to get any answer. So here's my problem: I bought my Asus N53SV for around a year ago, and it worked great. But for some reason something changed. When I try to open bluetooth,...
Software
HELP: power option doesn't work - screen saver doesn't start!
I have an ASUS notebook running windows 7 64-bit. I am using the QuietOffice power profile, however the screensaver won't kick in no matter what I do, and the display does not turn off even though I set it to be after 5-minutes of inactivity. I don't know if there is something running in the...
General Discussion
LIBusb, USB ports doesn't work. Safe mode also no work
After I install LIBusb I could work futher. But after I put him off en reboot an hour later my wired mouse en keyboard didn't work anymore. When I restart in safe mode both still doesnt work. OS: W7 Home Premium 64b Computer: HP Pavilion p6250 Please Help!!
Drivers


Our Sites

Site Links

About Us

Find 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 16:24.
Twitter Facebook Google+