![]() I originally thought I’d just remove the hard disks to prevent any old personal data from falling into the wrong hands. I figured that this was a good way to dispose of my excess computer collection while doing some good for the community. I recently donated several older desktop computers to a halfway house that was looking for used computers to set up with a typing tutorial program for training the residents. For more info, visit our Terms of Use page.ĭefend your network with Microsoft outside-in security services This may influence how and where their products appear on our site, but vendors cannot pay to influence the content of our reviews. We may be compensated by vendors who appear on this page through methods such as affiliate links or sponsored partnerships. No need to track down a third-party hard drive wipe utility. The Disk Cleanup Utility – with the additional options set – will run every month to keep your disk clean.How to perform a secure disk wipe with Windows 10’s Format command The Monthly Disk Cleanup Properties box will open where you will get to see details like Triggers, History, General Settings, Actions, and Conditions. Select the Open Properties box and click Finish. As we have saved the disk cleanup setting using the number ‘1’, we are using the same number ‘1’ here. Since we want to run the Disk Cleanup Utility, write C:\Windows\system32\cleanmgr.exe and Add argument as /sagerun:1. Since we have selected Monthly, fill in the other required details, and click Next.Īs Action, select Start a program and click Next. Select the Trigger in this case the frequency. This post on How to Schedule a Task in Windows will give you more details about it. To do so, open Task Scheduler from the Control Panel. If you would like to schedule Disk Cleanup Utility to run automatically, every once in a while, you can do so using the Task Scheduler. That is, open Run box and type the following and hit Enter: cleanmgr /lowdisk Schedule and Automate running of Disk Cleanup Utility TIP: To start the Disk Cleanup Tool with all the options pre-selected, use the /lowdisk switch. The disk cleanup operation will start right away. If you want to run this “Enhanced” Disk Cleanup Utility right away, type cleanmgr /sagerun:1 in the cmd window and hit Enter.Īlternatively, you could type C:\Windows\system32\cleanmgr.exe /sagerun:1 in a Run window and hit Enter. When you schedule it using cleanmgr /sagerun:1 to run through the Task Scheduler, it will take these settings for Disk Cleanup. After you click OK, the settings (selection) will be stored in the Registry for future use. Select the ones you want and click OK to save them. System queued Windows error reporting files.System archived Windows error reporting files.Per-user queued Windows error reporting files.Per user archived Windows error reporting files.You may be surprised to see so many options being available and wonder why Microsoft chose not to make accessing them easier! The options offered may vary depending on your system, however. Command-line version of Disk Cleanup offers more cleaning options When you open it using sageset, as mentioned above, you will see the following clean-up options. If you have noticed, these are the options available in Cleanmgr.exe when you run it manually. This will open the Command Line version of Disk Cleanup Utility offering many more cleanup options. Let’s begin with executing the following command: cleanmgr /sageset:1 In effect the /sagerun:n switch will run the specified tasks that are assigned to the n value by using the /sageset switch. The number denotes the settings which will be stored in the Registry when your run sagerun switch later on – and basically lets you make shortcuts to different stored configurations or schedule automatic cleanup in the Task Scheduler. This switch /sageset displays the Disk Cleanup Settings dialog box and creates a registry key to store the settings. To begin, open an elevated command prompt, type cleanmgr /sageset:n – where n can be any integer between 1 and 255. Command-line version of Disk Cleanup Utility or Cleanmgr.exe Use Task Scheduler to run it automatically using sageset and sagerun arguments. We will see how to use the Command line version of Disk Cleanup Tool or Cleanmgr.exe with more cleaning options. In this tutorial, we will see how to activate some additional cleaning options and automate the cleanup operation, so that you don’t need to run the Disk Cleanup Utility or Cleanmgr.exe in Windows 11/10/8/7 manually, every time. Just earlier today, we saw how we could force Disk Cleanup Utility to delete ALL temporary files, including those temporary files created in the last 7 days. You may be aware that the command-line version of the Disk Cleanup Utility in Windows offers many more clean-up options. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |