Just use Disk Clean up Tool from within the Windows Administrative Tools in Start Menu. After starting the Disk Cleanup tool, just select that you like to clean up the Windows System Files Etc. too by click on More Options and check the required.
once save cleanup settings with: Code: cleanmgr /sageset:1 activate all items and run (on demand any time later) Code: cleanmgr /sagerun:1 after that do a Code: dism /online /cleanup-image /startcomponentcleanup /resetbase to remove old updates
If you do the cleanmgr stuff that replicant said above, make sure that you DON'T select "Windows ESD Installation Files" or you will lose the ability to install ".net framework 3" or use "reset my pc" without downloading the full windows installer again.
or Dism.exe /online /Cleanup-Image /StartComponentCleanup or run this in Powershell dism /online /cleanup-image /RestoreHealth