![]() ![]() Use /SPSuperseded to remove any backup files created during the installation System-recovery scenario to perform recovery operations on a Windows imageĭISM.exe /Image:C:testoffline /Cleanup-Image /RevertPendingActions ![]() WARNING! You should use the /RevertPendingActions option only in a Of course, there are more options possible with DISM and maybe you need to change the switch options a bit, here is the help output for /Cleanup-Image: Deployment Image Servicing and Management tool Also a sidenote here, you cannot remove the service pack anymore after using this command. The /SPSuperseded switch option removes all backup components needed to uninstall the service pack. This one is useful after installing a service pack on your system. dism /online /Cleanup-Image /SPSuperseded But this option will not block the uninstallation of service packs or updates installed later on. A warning if you want to use it on systems in production: All existing service packs and updates cannot be uninstalled after this command is completed. The /ResetBase switch option also deletes all superseded versions of every component in the component store. This one is my favorite to use after installing a new system. dism /online /Cleanup-Image /StartComponentCleanup /ResetBase If had used the task, it will only clean up if the updated components are longer then 30 days installed on the system. This option is the same as using the Task Scheduler method, but now the updated components are immediately deleted. Here I will show 3 options to clean up the system: dism /online /Cleanup-Image /StartComponentCleanup And after no more updates are available we used DISM to clean up everything. There are a few methods that can be used, such as using Disk Cleanup GUI and select Windows Update Cleanup, or run the StartComponentCleanup (found under MicrosoftWindowsServicing) in Task Scheduler but using the CLI to achieve this is much cooler and you have stronger options.Īs shown in the picture, we have updated the computer with all latest patches with PowerShell, see my previous post. After making a reference image of a Windows 8.1 installation and updating it, we wanted to clean up the installation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |