Is It Safe to Delete Everything in Windows’ Disk Cleanup?
The Disk Cleanup tool included with Windows can quickly erase various system files and free up disk space. But some things–like “Windows ESD Installation Files” on Windows 10–probably shouldn’t be removed.
For the most part, the items in Disk Cleanup are safe to delete. But, if your computer isn’t running properly, deleting some of these things may prevent you from uninstalling updates, rolling back your operating system, or just troubleshooting a problem, so they’re handy to keep around if you have the space.