![]() ![]() The n value can be any integer value from 0 to 65535. The n value is stored in the registry and allows you to specify different tasks for Disk Cleanup to run. sageset: n - This switch displays the Disk Cleanup settings dialog box and creates a registry key to store the settings you select. Here's an explanation of the /sageset: n and /sagerun: n switches. And when used with the /sageset: n and /sagerun: n switches, you can save multiple configurations that can be used in a shortcut or as a scheduled task. Then type the following into the command prompt to run Disk Cleanup.ĭisk Cleanup can also be used with command-line switches, further expanding on its features. How to open a Command Prompt with Administrator privileges in Windows 10 ![]() The first thing you will need to do is open an Administrative Command Prompt. When you run it with switch /sageset: n, you will get even more options than the system settings. When you run Disk Cleanup without any switches, it opens with the system options selections. You can run Disk Cleanup with or without command-line switches. ![]() How to run Disk Cleanup from an administrative command prompt Use this carefully, as you cannot get back any restore points once they are deleted. Selecting System Restore and Shadow Copies will delete all but the most recent restore point. Programs and Features will take you to the Control Panel, where you can uninstall programs or add/remove Windows features. Under More Options, you will find other options, Programs and Features and System Restore and Shadow Copies. It will also have a second tab on top called More Options. This time Disk Cleanup will now include system files that can be removed. When you do this, Disk Cleanup will close and rescan your computer. To activate the system options, you will need to select Clean up system files in the lower left-hand corner. You can now choose which user files you would like to delete. If you have more than one ( 1) drive, you will be prompted on which drive you want to clean up.ĭisk Cleanup will scan your system for files that it can remove and open with the available user options. Scroll down to Windows Administrative Tools and left-click to expand.How to run Disk Cleanup from the Start menu These options include all user and system options plus a few more, like old chkdsk files, Windows Update Cleanup, and Windows ESD installation files. But you will have to run it at an administrative command prompt to configure these options. When you do this, you get the maximum options available. With system options, you can also clean up Windows system files like Windows temporary files, device driver packages, and previous installations of Windows, just to name a few.ĭisk Cleanup command line options in Windows 10ĭisk Cleanup can also be run using command line switches. When you run Disk Cleanup with user options, you can clean up user-specific files such as downloaded program files, temporary Internet files, and the recycle bin. When you use a built-in shortcut, you will have two ( 2) different sets of options, user and system.ĭisk Cleanup system options in Windows 10 The first way to run it is from any of the shortcuts built into Windows ( Start menu or disk properties). ![]() Disk Cleanup can be run two ( 2) different ways and can have three ( 3) different sets of options. But did you know that one of the best ones comes with Windows 10? Here's how to clean up your Windows 10 computer with Disk Cleanup.ĭisk Cleanup has been included with Windows since Windows XP and is part of my regular scheduled maintenance. There are a lot of programs out there that can clean up your Windows 10 computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |