

A View Files button opens the Offline Files folder. These files are automatically cached so that you can use them after you disconnect from the network. Temporary Offline Files - Temporary offline files are local copies of recently used network files. You can safely delete temporary files that have not been modified within the last week. Before a program quits, the program usually deletes this information. Temporary Files - Programs sometimes store temporary information in a Temp folder. Note: A Recycle Bin may appear in more than one drive, for example, not just in %SystemRoot%. This option includes a View Files button that opens the Recycle Bin. These files are not permanently removed until you empty the Recycle Bin. Recycle Bin - The Recycle Bin contains files that you have deleted from the computer. Old Chkdsk Files - When Chkdsk checks a disk for errors, Chkdsk might save lost file fragments as files in the root folder on the disk. This option also includes a View Files button, which opens the C:\Documents and Settings\Username\Local Settings\Temporary Internet Files\Content.IE5 folder. Disk Cleanup removes these page but leaves your personalized settings for Web pages intact. Temporary Internet Files - The Temporary Internet Files folder contains Web pages that are stored on your hard disk for quick viewing. The button opens the C:\Winnt\Downloaded Program Files folder. This option includes a View Files button so that you can see the files before Disk Cleanup removes them. These files are temporarily stored in the Downloaded Program Files folder on the hard disk. Temporary Setup Files - These are files that were created by a Setup program that is no longer running.ĭownloaded Program Files - Downloaded program files are ActiveX controls and Java programs that are downloaded automatically from the Internet when you view certain pages. The options for the files that you can specify for Disk Cleanup by using /sageset and /sagerun include: Run with the default settings, no user prompts. Run /sageset and /sagerun for the same n. All drives on the computer are enumerated and the selected profile runs against each drive. Runs the specified tasks that are assigned to the n value if you use the /sageset option. The n value can be any integer value from 0 to 9999. The n value, which is stored in the registry, allows you to specify tasks for Disk Cleanup to run. NOTE: The /d option is not utilized with /sagerun:n.ĭisplays the Disk Cleanup Settings dialog box and also creates a registry key to store the settings that you select. Specifies the drive that you want Disk Cleanup to clean. You can then schedule the task to run at a specific time by using the Scheduled Tasks tool. You can use command-line options to specify that Cleanmgr cleans up Temp files, Internet files, downloaded files, and Recycle Bin files.
#Clean disk 2012 windows
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012, Windows Server 2008 R2Ĭlears unnecessary files from your computer's hard disk.
