HOME

TheInfoList



OR:

Disk Cleanup (cleanmgr.exe) is a computer maintenance utility included in
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
designed to free up disk space. It was introduced in
Windows 98 Windows 98 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of Microsoft Windows operating systems. It was the second operating system in the 9x line, as the successor to Windows 95. It was Software ...
and has been a part of Microsoft Windows ever since. In 2018, Microsoft introduced a second cleanup utility 'Storage Sense' in the Settings app with Windows 10 version 1803, but Disk Cleanup remained with Windows. , it is not marked as deprecated. Windows 11 introduced "Cleanup recommendations" as an 'easy to use' alternative to Disk Cleanup, replacing Storage Sense.


Overview

The utility searches files that are no longer of any use, and enables the user to delete them. The candidates for deletion are categorized as: * "Windows Update Cleanup": Copies of Windows updates that are already installed * "Microsoft Defender Antivirus": Temporary files that Microsoft Defender Antivirus no longer needs * "Windows Update log files":
Log file In computing, logging is the act of keeping a log of events that occur in a computer system, such as problems, errors or broad information on current operations. These events may occur in the operating system or in other software. A message o ...
s that Windows update has created for troubleshooting * "Downloaded Program Files" (deprecated): ActiveX controls and Java applets that
Internet Explorer Internet Explorer (formerly Microsoft Internet Explorer and Windows Internet Explorer, commonly abbreviated as IE or MSIE) is a deprecation, retired series of graphical user interface, graphical web browsers developed by Microsoft that were u ...
has downloaded from the Internet. * "DirectX Shader Cache": Created by video games that use
DirectX Microsoft DirectX is a collection of application programming interfaces (APIs) for handling tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with "Direct" ...
to speed up execution * "Delivery Optimization Files": Files (temporary or otherwise) that Delivery Optimization has downloaded * "Device driver packages": Used to install device drivers and otherwise unnecessary * "Language Resource Files": Removed if they are redundant * "Recycle Bin": Content of the Windows Recycle Bin for the current user only * "Temporary Files": Files in the Windows TEMP folder that are not in use and have been created at least 48 hours ago The above list, however, is not exhaustive. For instance, 'Temporary Remote Desktop files' and 'Temporary Sync Files' may appear only under certain computer configurations, differences such as Windows Operating System and use of additional programs such as
Remote Desktop In computing, the term remote desktop refers to a software- or operating system feature that allows a personal computer's desktop environment to be run remotely from one system (usually a PC, but the concept applies equally to a server or a sma ...
. The option of removing hibernation data may not be ideal for some users as this may remove the hibernate option. Aside from removing unnecessary files, users also have the option of compressing files that have not been accessed over a set period of time. This option provides a systematic compression scheme. Infrequently accessed files are compressed to free up disk space while leaving the frequently used files uncompressed for faster read/write access times. If after file compression, a user wishes to access a compressed file, the access times may be increased and vary from system to system. In addition to the categories that appear on the Disk Cleanup tab, the More Options tab offers additional options for freeing up hard drive space through removal of optional Windows components, installed programs, and all but the most recent
System Restore System Restore is a feature in Microsoft Windows that allows the user to revert their computer's state (including system files, installed applications, Windows Registry, and system settings) to that of a previous point in time, which can be used ...
point or Shadow Copy data in some versions of Microsoft Windows.


Storage Sense

Starting with Windows 10 version 1803, Microsoft integrated some of Disk Cleanup's capabilities into the Settings app. Dubbed Storage Sense, this new tool can automatically run when the disk space becomes scarce. In
Windows 11 Windows 11 is a version of Microsoft's Windows NT operating system, released on October 5, 2021, as the successor to Windows 10 (2015). It is available as a free upgrade for devices running Windows 10 that meet the #System requirements, Windo ...
, this tool was subsumed under "Cleanup recommendations" as an 'easy to use' alternative to Disk Cleanup, replacing Storage Sense. Despite the new additions to Windows, Disk Cleanup remained with Windows. , it is not marked as deprecated.


See also

* Desktop Cleanup Wizard *
Disk space analyzer A disk utility is a utility program that allows a user to perform various functions on a computer disk, such as disk partitioning and logical volume management, as well as multiple smaller tasks such as changing drive letters and other mount ...


References


External links


Microsoft Help and Support - Description of the Disk Cleanup Tool in Windows XP

Creating a Disk Cleanup Handler
{{Windows Components Windows components Windows-only proprietary software Utilities for Windows