Categories
Planning

How to schedule disk cleanup in windows 7 & vista

This guide shows how to use the Disk Cleanup tool for the following Windows versions: Windows XP, Vista, 7, 8, 8.1, and 10.

The Disk Cleanup tool, part of Windows, will perform a search on the hard disk for files that can be deleted from your computer without affecting its functionality or your personal files:

  • Temporary Internet Explorer files (related: How To Clear Internet Explorer 6-to-11 Cache)
  • Java applets or ActiveX controls
  • Files from Recycle Bin if Recycle Bin has not been emptied
  • Windows temporary files (related: How to delete temporary files. You can also read how to clear the thumbnails cache and how to clear the icons cache)

Run Disk Cleanup in Windows XP

To run Disk Cleanup on a Windows XP computer, you can run it from My Computer or from Command Prompt.

Run from My Computer

Method #1

  1. Click Start
  2. Click Run
  3. Type cleanmgr
  4. Click OK or press Enter

Method #2

  1. Click Start
  2. Go to All Programs
  3. Go to Accessories
  4. Go to System Tools
  5. Click Disk Cleanup

Method #3

  1. Open My Computer
  2. Right­-click on the drive you want to run Disk Cleanup. This is usually C:\ , the drive where
    Windows XP is installed.
  3. Click Properties
  4. Go to the General tab
  5. Click Disk Cleanup

Run from Command Prompt

To open Disk Cleanup via Command Prompt, follow these steps:

  1. Open Command Prompt
  2. Type this command:

where c:\ is where Windows XP is installed.

  • Press Enter
  • How to schedule disk cleanup in windows 7 & vista

    Windows XP Disk Cleanup screen

    Run Disk Cleanup in Windows Vista and 7

    Run from My Computer

    To open Disk Cleanup on a Windows Vista or Windows 7 computer, follow these steps:

    1. Click Start
    2. Go to All Programs > Accessories > System Tools
    3. Click Disk Cleanup
    4. Choose what type of files and folders to delete at the Files to delete section
    5. Click OK
    6. To delete system files that are no longer needed, click Clean up system files. You may be
      prompted by UAC (User Account Control) to confirm the action.
    7. Click Delete Files

    To free more space, go to the More options tab:

    • Click Clean up at the Programs and Features section to remove program files that are no longer needed
    • Click Clean up at the System Restore and Shadow Copies section to remove restore points, except the last one

    Run from Command Prompt

    To open Disk Cleanup via Command Prompt (command line) on a Windows Vista or Windows 7:

    1. Open Command Prompt
    2. Type cleanmgr
    3. Press Enter

    How to schedule disk cleanup in windows 7 & vista

    Windows 7 Disk Cleanup screen

    Run Disk Cleanup in Windows 8 or 8.1

    Run from My Computer

    To open Disk Cleanup on a Windows 8 or Windows 8.1 system, follow these instructions:

    1. Click Settings > Click Control Panel > Administrative Tools
    2. Click Disk Cleanup
    3. At the Drives list, select which drive you want to run Disk Cleanup on
    4. Select which files you want to delete
    5. Click OK
    6. Click Delete files

    To delete system files that are no longer needed on your computer, click Clean up system files.

    Shadow copies and restore points (except the last ones) can be deleted by going to the More options tab > Click Cleanup.

    How to schedule disk cleanup in windows 7 & vista

    Windows 8 Disk Cleanup screen

    Run Disk Cleanup in Windows 10

    Run from My Computer

    To open Disk Cleanup on a Windows 8 or Windows 8.1 system, follow these instructions:

    1. Type Disk Cleanup in the Search Bar
    2. Press Enter
    3. At the Drives list, select which drive you want to run Disk Cleanup on
    4. Select which files you want to delete
    5. Click OK
    6. Click Delete files

    To delete system files that are no longer needed on your computer, click Clean up system files.

    Shadow copies and restore points (except the last ones) can be deleted by going to the More options tab > Click Cleanup.

    How to schedule disk cleanup in windows 7 & vista

    Windows 10 Disk Cleanup screen

    Troubleshooting

    Disk Cleanup is stuck

    If Disk Cleanup is getting stuck at a certain deletion process (deletion of temporary files or deletion of Windows updates), try any of the following tips:

    • Run Disk Cleanup as an Administrator
    • Delete the files and folders manually, but be logged in as an Administrator.If Disk Cleanup is getting stuck at deleting Internet Explorer temporary files, delete the temporary files manually. Be logged in as Administrator or as any user with administrative rights to the system when doing so.
    • Run a sfc /scannow command. To do so, follow these steps:
      1. Open Command Prompt
      2. Type sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows\ , where D:\ is your Windows drive letter, and D:\Windows is your Windows installation path
      3. Press Enter

    How to schedule disk cleanup in windows 7 & vista

    Sfc utility results screen

    More Information

    Linked Entries

    Support Links

    • Easy Recovery Essentials for Windows – our repair and recovery disk.

    It’s an easy-to-use and automated diagnostics disk. It’s available for Windows 8, Windows 7 and Windows Vista. It’s also available for Windows XP and Windows Server.

    Read more at Windows Recovery Disks.

  • The NeoSmart Support Forums, member-to-member technical support and troubleshooting.
  • Get a discounted price on replacement setup and installation discs: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10.
  • Applicable Systems

    This Windows-related knowledgebase article applies to the following operating systems:

    • Windows XP (all editions)
    • Windows Vista (all editions)
    • Windows 7 (all editions)
    • Windows 8 (all editions)
    • Windows 8.1 (all editions)
    • Windows 10 (all editions)

    When you use your computer regularly, a lot of unnecessary stuff start accumulating in the hard drive. These include temporary files, system files and files in recycle bin which you no longer need. You can remove these files and other such junk easily using Disk cleanup.

    Disk cleanup is a manual process. You have to open the disk cleanup wizard to use it. However, there is a better way to perform this task. You can actually schedule disk cleanup to run automatically at a preferred time when you are likely to be away from your PC.

    This article tells you how you can schedule it using Windows Task Scheduler. These steps apply to both Windows Vista and Windows 7.

    1. Click on “Start” button. Type “Task Scheduler” in the search box. Click the result.

    How to schedule disk cleanup in windows 7 & vista

    2. On the Task scheduler window, click on “Action”, now click on “Create Basic Task” from the drop down menu.

    How to schedule disk cleanup in windows 7 & vista

    3. On create basic task window, fill the name of task and its description. After filling, click on “Next” button.

    How to schedule disk cleanup in windows 7 & vista

    4. Select task schedule. You can select Daily, Weekly, Monthly, One time, or any other option based on your priority. Once you are done, click Next.

    How to schedule disk cleanup in windows 7 & vista

    5. Now specify the schedule and click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    6. Select “Start a program” and click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    7. Click on “Browse” button.

    How to schedule disk cleanup in windows 7 & vista

    8. In the File name area, type cleanmgr.exe and then click Open.

    How to schedule disk cleanup in windows 7 & vista

    9. You will see C:\Windows\System32\cleanmgr.exe in the Program/script box. Now click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    Click Finish. That’s it. Your computer’s disk cleanup is scheduled. It will automatically start on the time you specified in the schedule. No need to do it manually any more.

    Also, by now you would have figured out that the Windows Task Scheduler mentioned above is a pretty useful tool. You could schedule many other mundane Windows tasks using it. We will talk more about this in future posts. If you know tricks related to it, or have any suggestions then jump in to the comments!

    Last updated on 05 February, 2022

    The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

    Read Next

    • How to schedule disk cleanup in windows 7 & vistaHow to Fix Disk Cleanup Stuck on Calculating Issue in… Disk Cleanup has been helpful since ages on the Windows platform. We usually use Disk Cleanup to retrieve storage and help us in fixing various…
    • How to schedule disk cleanup in windows 7 & vistaHow to Find and Remove Harmful Software on Chrome with… Like other web browsers, Chrome too faces all sorts of issues with malicious extensions and other forms of potentially unwanted software. And for a long…
    • How to schedule disk cleanup in windows 7 & vista7 Best Ways to Fix Google Chrome’s High Disk Usage on… If you are a Windows user, you might have experienced high disk usage errors. One of the infamous apps for 100% disk usage on Windows…
    • How to schedule disk cleanup in windows 7 & vistaHow to Password Protect and Hide Disk Drives in Windows 10 We all love privacy. It gives us our peace of mind that there’s no one going through our stuff. Albeit, it’s the biggest issue in…
    • How to schedule disk cleanup in windows 7 & vista9 Ways to Solve 100% Disk Usage Error in Windows 10 You know why you are here, right? You have a lagging Windows 10 PC which is refusing to work as intended. The Task Manager shows…
    • How to schedule disk cleanup in windows 7 & vistaTop 5 Ways to Fix Disk Structure Is Corrupted and Unreadable… Windows 10 gives you alerts whenever the external storage disk goes corrupt. When this happens, accessing the corrupt drive becomes difficult and so is reading…
    • How to schedule disk cleanup in windows 7 & vista5 Best Ways to Fix Disk Management Not Loading on Windows 10 The disk management tool is responsible for running hard drives, file systems, and drive volumes. It helps initialize new drives, change drive letters, shrink partitions,…
    • How to schedule disk cleanup in windows 7 & vistaHow to Clear Scratch Disk in Photoshop CC 2019 on Windows 10 If you’ve been using Adobe Photoshop on your Windows 10 running computer, I’m sure you have come across the scratch disk error at least a…

    DID YOU KNOW

    Bugdroid was designed by Irina Blok, a graphic designer.

    How to schedule disk cleanup in windows 7 & vista

    You don’t need to always rely on a tune-up tool like CCleaner to clean up your disk. Windows has a built-in utility you can make use of. The tool is Disk Cleanup. You can open this tool either from the start menu or Command Prompt.

    Disk Cleanup is not a new tool. It has been around since Windows 98 and still available on the current Windows version, Windows 10. While you can open Disk Cleanup manually every time you think it’s time to clean up your disk, you can also make use of the Task Scheduler — another built-in utility of Windows — to regularly perform disk clean up.

    Both Disk Cleanup and Task Scheduler are available on all Windows versions, not just Windows 10. Thus, although the example below is done on Windows 10, you should also follow the same steps for other Windows versions.

    To get started, open Task Scheduler. On Windows 10, you can find this tool under the Windows Administrative Tools folder on the start menu.

    How to schedule disk cleanup in windows 7 & vista

    Once the Task Scheduler window opens, click the the Action menu and select Create Basic Task.

    How to schedule disk cleanup in windows 7 & vista

    Give your task a name and description then click the Next button.

    How to schedule disk cleanup in windows 7 & vista

    Select the schedule period. Task Scheduler offers some options that you can use. In this example, I am going to select Monthly. Click the Next button to continue.

    How to schedule disk cleanup in windows 7 & vista

    I want Task Scheduler to run Disk Cleanup on day 26 each month at 17.00 PM.

    How to schedule disk cleanup in windows 7 & vista

    On the next step — since you want to schedule Disk Cleanup — Select Start a program and click the Next button.

    How to schedule disk cleanup in windows 7 & vista

    Enter cleanmgr.exe on the Program/script field and click the Next button.

    How to schedule disk cleanup in windows 7 & vista

    On the next step, simply click the Finish button.

    How to schedule disk cleanup in windows 7 & vista

    Task Scheduler will add the task you have just scheduled on its library. The status is ready, yet is not running. You need to run it first to instruct Task Scheduler to run Disk Cleaner on the time you have specified. To do so, click the Task Scheduler Library folder on the left panel. Select your task and click the Run button on the right panel.

    How to schedule disk cleanup in windows 7 & vista

    You can edit the scheduled task. If you want to change the schedule period, simply double-click the task and Task Scheduler will bring up the Properties window where you can change the applied parameters. Select the Triggers tab to edit the schedule period.

    Final thoughts

    Both Disk Cleanup and Task Scheduler are built-in tools of Windows. These tools are available on all Windows versions, not just Windows 10. Combining them, you don’t need to use any tune-up tool to clean up your disk.

    It’s always a good idea to run regular maintenance tasks like Disk Cleanup on your Windows machine to help keep it running smoothly. Today we take a look at how to schedule a basic Disk Cleanup task, and how to use command line switches for a more advanced setup.

    Schedule Disk Cleanup Basic

    Windows includes some handy tools to help keep your machine operating smoothly. One such tool is Disk Cleanup that can remove temp and old files to help you reclaim some hard drive space. You might want to set it up to run weekly or monthly depending on what works best for you. To schedule Disk Cleanup to run on a regular basis we need to schedule a task. For this example we’re using Windows 7, but the steps are essentially the same in Vista as well.

    Click on the Start Menu and enter task scheduler into the search box and hit Enter.

    How to schedule disk cleanup in windows 7 & vista

    The Task Scheduler opens and you’ll want to click on Action then select Create Basic Task.

    How to schedule disk cleanup in windows 7 & vista

    The Create Basic Task Wizard comes up and from here type in a name for the task and a description then click Next.

    How to schedule disk cleanup in windows 7 & vista

    Now select how often you want Disk Cleanup to run…Weekly, Daily, Monthly, One Time…etc. There is not right or wrong answer to how often you run it. It’s completely up to you and you might want to try out some different schedules. In this example we’re going to select weekly.

    How to schedule disk cleanup in windows 7 & vista

    Since we set it up to run weekly we need to schedule it when to start, how often it reoccurs, and which day of the week to run it.

    How to schedule disk cleanup in windows 7 & vista

    Next under Action select Start a program

    How to schedule disk cleanup in windows 7 & vista

    In the Program/script field type in cleanmgr.exe

    How to schedule disk cleanup in windows 7 & vista

    Or you can hit browse and select Disk Cleanup which is in C:\Windows|system32\cleanmgr.exe

    How to schedule disk cleanup in windows 7 & vista

    Under Program/script you’ll see the path to Disk Cleanup as C:\Windows\system32\cleanmgr.exe

    How to schedule disk cleanup in windows 7 & vista

    Then you’re shown a summary of the scheduled task and if everything looks correct click on Finish.

    How to schedule disk cleanup in windows 7 & vista

    For this basic setting we scheduled it for a time when we know the computer will be in use. When it’s time for the Scheduled Task to occur it will pop up and you can run it by selecting the drive to clean up.

    How to schedule disk cleanup in windows 7 & vista

    Disk Cleanup starts its calculations…

    How to schedule disk cleanup in windows 7 & vista

    Now the results and you can choose the files to delete.

    How to schedule disk cleanup in windows 7 & vista

    Advanced Command Line Switches

    While the above method is effective, you may not want to interact with the Disk Cleanup utility at all. Running a couple of command line switches will allow you to select what to have cleaned up and run everything automatically. To open the Command Prompt type cmd into the search box in the Start Menu and hit Enter.

    How to schedule disk cleanup in windows 7 & vista

    With the Command Prompt open type in the following:

    That will open the Disk Cleanup Settings dialog box where you can select the items you want Disk Cleanup to delete. You’ll notice there are a lot more options here than when you go through the GUI to cleanup files.

    How to schedule disk cleanup in windows 7 & vista

    After selecting the files you want to be deleted in Disk Cleanup Settings click Ok to close out of the screen. The /sageset:1 command creates a registry key that saves the settings you entered.

    Now go in and create your Scheduled Task like we showed previously, but this time you’ll want to add in /sagerun:1 into the Add argument field.

    How to schedule disk cleanup in windows 7 & vista

    Now when Disk Cleanup runs it’ll retrieve those saved settings you created with /sageset:1 and you won’t need to interact with Disk Cleanup at all. It will run automatically and clean up the files you selected in Disk cleanup Settings.

    Task Scheduler Error

    When you launch Task Manager in Windows 7 you might get the following error message. It tells you to hit refresh but the error keeps coming back. It doesn’t seem to negatively affect anything you schedule, but it’s quite annoying.

    How to schedule disk cleanup in windows 7 & vista

    From the research I’ve done on this error, there are a handful of different solutions that have worked for different people. On our system, the Disk Defrag Schedule was turned off, so we turned it back on and resolved the issue. On a separate Windows 7 system the Disk Defrag Schedule was already on (which it is by default) and turning it off cured the error. On another machine I had to turn it off then back on to fix the error message.

    How to schedule disk cleanup in windows 7 & vista

    Since this “rub your head and pat your belly” approach worked we didn’t try any other possible fixes. If you find it doesn’t work or have found another solution let us know in the comments.

    Conclusion

    If you use the advanced switches to run Disk Cleanup it actually offers a lot more choices. In the /sageset:1 switch, “1” is just an arbitrary number. You can enter any number you want, but make sure /sagerun:”x” corresponds to the number you used in /sageset:”x”. So you can customize the switches for different types of files you want to clean in Disk Cleanup Settings.

    For example, maybe you only want to clean Temp Internet files during a cleanup session, then you could do /sageset:1 and /sagerun:1 for that. Then if you want to clean up all files you could use /sageset:10 and /sagerun:10 for that. The switches give you more flexibility in the types of files that are deleted during the Disk Cleanup session. Whichever method you use, or if you just want to run it manually, running Disk Cleanup will keep your drive free of unwanted files.

    When you use your computer regularly, a lot of unnecessary stuff start accumulating in the hard drive. These include temporary files, system files and files in recycle bin which you no longer need. You can remove these files and other such junk easily using Disk cleanup.

    Disk cleanup is a manual process. You have to open the disk cleanup wizard to use it. However, there is a better way to perform this task. You can actually schedule disk cleanup to run automatically at a preferred time when you are likely to be away from your PC.

    This article tells you how you can schedule it using Windows Task Scheduler. These steps apply to both Windows Vista and Windows 7.

    1. Click on “Start” button. Type “Task Scheduler” in the search box. Click the result.

    2. On the Task scheduler window, click on “Action”, now click on “Create Basic Task” from the drop down menu.

    3. On create basic task window, fill the name of task and its description. After filling, click on “Next” button.

    How to schedule disk cleanup in windows 7 & vista

    4. Select task schedule. You can select Daily, Weekly, Monthly, One time, or any other option based on your priority. Once you are done, click Next.

    How to schedule disk cleanup in windows 7 & vista

    5. Now specify the schedule and click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    6. Select “Start a program” and click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    7. Click on “Browse” button.

    How to schedule disk cleanup in windows 7 & vista

    8. In the File name area, type cleanmgr.exe and then click Open.

    How to schedule disk cleanup in windows 7 & vista

    9. You will see C:WindowsSystem32cleanmgr.exe in the Program/script box. Now click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    Click Finish. That’s it. Your computer’s disk cleanup is scheduled. It will automatically start on the time you specified in the schedule. No need to do it manually any more.

    Also, by now you would have figured out that the Windows Task Scheduler mentioned above is a pretty useful tool. You could schedule many other mundane Windows tasks using it. We will talk more about this in future posts. If you know tricks related to it, or have any suggestions then jump in to the comments!

    When you use your computer regularly, a lot of unnecessary stuff start accumulating in the hard drive. These include temporary files, system files and files in recycle bin which you no longer need. You can remove these files and other such junk easily using Disk cleanup.

    Disk cleanup is a manual process. You have to open the disk cleanup wizard to use it. However, there is a better way to perform this task. You can actually schedule disk cleanup to run automatically at a preferred time when you are likely to be away from your PC.

    This article tells you how you can schedule it using Windows Task Scheduler. These steps apply to both Windows Vista and Windows 7.

    1. Click on “Start” button. Type “Task Scheduler” in the search box. Click the result.

    2. On the Task scheduler window, click on “Action”, now click on “Create Basic Task” from the drop down menu.

    3. On create basic task window, fill the name of task and its description. After filling, click on “Next” button.

    How to schedule disk cleanup in windows 7 & vista

    4. Select task schedule. You can select Daily, Weekly, Monthly, One time, or any other option based on your priority. Once you are done, click Next.

    How to schedule disk cleanup in windows 7 & vista

    5. Now specify the schedule and click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    6. Select “Start a program” and click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    7. Click on “Browse” button.

    How to schedule disk cleanup in windows 7 & vista

    8. In the File name area, type cleanmgr.exe and then click Open.

    How to schedule disk cleanup in windows 7 & vista

    9. You will see C:WindowsSystem32cleanmgr.exe in the Program/script box. Now click “Next”.

    How to schedule disk cleanup in windows 7 & vista

    Click Finish. That’s it. Your computer’s disk cleanup is scheduled. It will automatically start on the time you specified in the schedule. No need to do it manually any more.

    Also, by now you would have figured out that the Windows Task Scheduler mentioned above is a pretty useful tool. You could schedule many other mundane Windows tasks using it. We will talk more about this in future posts. If you know tricks related to it, or have any suggestions then jump in to the comments!

    This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.

    Summary

    This article describes how to run the Disk Cleanup tool (Cleanmgr.exe) by using command-line switches. Cleanmgr.exe is designed to clear unnecessary files from your computer’s hard disk. You can configure Cleanmgr.exe with command-line switches to clean up the files you want. You can then schedule the task to run at a specific time by using the Scheduled Tasks tool.

    More Information

    You can start the Disk Cleanup tool by running Cleanmgr.exe, or by clicking Start, pointing to Programs, pointing to Accessories, pointing to System Tools, and then clicking Disk Cleanup. Disk Cleanup supports the following command-line switches:

    /d driveletter: – This switch selects the drive that you want Disk Cleanup to clean. Note that the /d switch is not used with /sagerun: n.

    /sageset: n – This switch displays the Disk Cleanup Settings dialog box and creates a registry key to store the settings you select. The n value is stored in the registry and allows you to specify different tasks for Disk Cleanup to run. The n value can be any integer value from 0 to 65535. To get all the available options when you are using the /sageset switch, you may need to specify the drive letter that contains the Windows installation.

    /sagerun: n – This switch runs the specified tasks that are assigned to the n value by using the \sageset switch. All drives in the computer will be enumerated, and the selected profile will be run against each drive.

    For example, in Scheduled Tasks, you could run the following command after running the cleanmgr /sageset:11 command:

    cleanmgr /sagerun:11
    This command runs Disk Cleanup with the options that were specified with the cleanmgr /sageset:11 command.

    The available options for Disk Cleanup that you can specify by using the /sageset and /sagerun switches include:

    Temporary Setup Files – These files should no longer be needed. They were originally created by a Setup program that is no longer running.

    Downloaded Program Files – Downloaded program files are ActiveX controls and Java programs that are downloaded automatically from the Internet when you view certain pages. They are temporarily stored in the Downloaded Program Files folder on your hard disk. This option includes a View Files button that allows you to see the files that would be removed. The button opens the C:\Winnt\Downloaded Program Files folder.

    Temporary Internet Files – The Temporary Internet Files folder contains Web pages that are stored on your hard disk for quick viewing. Your personalized settings for Web pages are left intact. This option includes a View Files button that displays the files to be deleted. The button opens the C:\Documents and Settings\ Username\Local Settings\Temporary Internet Files\Content.IE5 folder.

    Old Chkdsk Files – When Chkdsk checks your disk for errors, it might save lost file fragments as files in your disk’s root folder. These files are unnecessary and can be removed.

    Recycle Bin – The Recycle Bin contains files you have deleted from your computer. These files are not permanently removed until you empty the Recycle Bin. This option includes a View Files button that opens the Recycle Bin.

    Temporary Files – Programs sometimes store temporary information in a Temp folder. Before a program quits, it usually deletes this information. You can safely delete temporary files that have not been modified in over a week.

    Temporary Offline Files – Temporary offline files are local copies of recently used network files that are automatically cached for you so that you can use them when you are disconnected from the network. There is a View Files button that opens the Offline Files folder.

    Offline Files – Temporary files are local copies of network files that you specifically made available offline so that you can use them when you are disconnected from the network. There is a View Files button that opens the Offline Files folder.

    Compress Old Files – Windows can compress files that you have not used in a while. Compressing the files saves disk space while still enabling you to use them. No files are deleted. Because files are compressed at different rates, the displayed amount of disk space you will gain is approximate. There is an Options button that you can use to specify the number of days to wait before an unused file is compressed.

    Catalog Files for the Content Indexer – The Indexing service speeds up and improves file searches by maintaining an index of the files on the disk. These files are left over from a previous indexing operation and can be deleted safely.

    If you select the drive that contains the Windows installation, all of these options are available on the Disk Cleanup tab. If you select any other drive, only the Recycle Bin and Catalog files for content index options are available on the Disk Cleanup tab.

    The More Options tab contains options for cleaning up Windows components or installed programs. You can use the Windows Components option to create free space by removing optional Windows components that you do not use. Clicking the Clean Up button for this option starts the Windows Components Wizard. You can use the Installed Programs option to free more disk space by removing programs that you do not use. Clicking this Clean Up button starts the Change or Remove Programs option in the Add/Remove Programs tool.

    Additional Information

    For a Microsoft Windows XP version of this article, see 315246.

    This article describes how to run the Disk Cleanup tool (cleanmgr.exe) by using command-line switches. cleanmgr.exe is designed to clear unnecessary files from your computer’s hard disk. You can configure cleanmgr.exe with command-line switches to clean up the files you want. You can then schedule the task to run at a specific time by using the Scheduled Tasks tool.

    Applies to: В Windows Server 2008 R2 Service Pack 1, Windows 7 Service Pack 1
    Original KB number: В 253597

    Command-line switches

    You can start the Disk Cleanup tool by running cleanmgr.exe, or by selecting Start > Programs > Accessories > System Tools > Disk Cleanup. Disk Cleanup supports the following command-line switches:

    /d : – This switch selects the drive that you want Disk Cleanup to clean. The /d switch isn’t used with /sagerun:n .

    /sageset:n – This switch displays the Disk Cleanup Settings dialog box and creates a registry key to store the settings you select. The n value is stored in the registry and allows you to specify different tasks for Disk Cleanup to run. The n value can be any integer value from 0 to 65535. To get all the available options when you use the /sageset switch, you may need to specify the drive letter that contains the Windows installation.
    For more information, see Registry key information.

    /sagerun:n – This switch runs the specified tasks that are assigned to the n value by using the /sageset switch. All drives in the computer will be enumerated, and the selected profile will be run against each drive.

    For example, in Scheduled Tasks, you could run the following command after running the cleanmgr /sageset:11 command:
    cleanmgr /sagerun:11 .

    This command runs Disk Cleanup with the options that were specified with the cleanmgr /sageset:11 command.

    The available options for Disk Cleanup that you can specify by using the /sageset and /sagerun switches include:

    • Temporary Setup Files – These files shouldn’t be needed anymore. They were originally created by a Setup program that’s no longer running.
    • Downloaded Program Files – They are ActiveX controls and Java programs that are downloaded automatically from the Internet when you view certain pages. They’re temporarily stored in the Downloaded Program Files folder on your hard disk. This option includes a View Files button that allows you to see the files that would be removed.
    • Temporary Internet Files – The Temporary Internet Files folder contains Web pages that are stored on your hard disk for quick viewing. Your personalized settings for Web pages are left intact. This option includes a View Files button that displays the files to be deleted.
    • Old Chkdsk Files – When Chkdsk checks your disk for errors, it might save lost file fragments as files in your disk’s root folder. These files are unnecessary and can be removed.
    • Recycle Bin – The Recycle Bin contains files you’ve deleted from your computer. These files aren’t permanently removed until you empty the Recycle Bin. This option includes a View Files button that opens the Recycle Bin.
    • Temporary Files – Programs sometimes store temporary information in a Temp folder. Before a program quits, it usually deletes this information. You can safely delete temporary files that haven’t been modified in over a week.
    • Temporary Offline Files – Temporary offline files are local copies of recently used network files that are automatically cached for you. You can use them when you’re disconnected from the network. There’s a View Files button that opens the Offline Files folder.
    • Offline Files – Temporary files are local copies of network files that you specifically made available offline. You can use them when you’re disconnected from the network. There’s a View Files button that opens the Offline Files folder.
    • Compress Old Files – Windows can compress files that you haven’t used in a while. Compressing the files saves disk space while still enabling you to use them. No files are deleted. Because files are compressed at different rates, the displayed amount of disk space you’ll gain is approximate. You can use the Options button to specify the number of days to wait before an unused file is compressed.
    • Catalog Files for the Content Indexer – The Indexing service speeds up and improves file searches by maintaining an index of the files on the disk. These files are left over from a previous indexing operation and can be deleted safely.

    If you select the drive that contains the Windows installation, all of these options are available on the Disk Cleanup tab. If you select any other drive, only the Recycle Bin and Catalog files for content index options are available on the Disk Cleanup tab.

    The More Options tab contains options for cleaning up Windows components or installed programs. You can use the Windows Components option to create free space by removing optional Windows components that you don’t use. Selecting the Clean Up button for this option starts the Windows Components Wizard. You can use the Installed Programs option to free more disk space by removing programs that you don’t use. Selecting this Clean Up button starts the Change or Remove Programs option in the Add/Remove Programs tool.

    Registry key information

    After you run cleanmgr.exe with the /sageset:n switch, some of the registry sub keys under the the following registry key are modified:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\

    Each of the modified registry sub keys may contain a REG_DWORD type registry value StateFlagsNNNN, where NNNN is the number n specified in the switch. For example, after you run the cleanmgr /sageset:9 command, a registry value Stateflags0009 is added. The registry value can be set as one of the following values.

    • If the option box is not selected, the value is 00000000.
    • If the option box is selected, the value is 00000002.

    Under the VolumeCaches registry key, the Offline Pages Files registry sub key doesn’t have the stateflags values. There is not an option to delete these files.

    Additional information

    For a Microsoft Windows XP version of this article, see How to Automate the Disk Cleanup Tool in Windows XP.

    The Disk Cleanup tool offers a great way to quickly free up disk space by deleting temporary files that are no longer needed. It is in no way as complete or thorough as third party tools like CCleaner, but it gets the job done and does not require you to install another software on the system for that operation.

    Most users do not know that Microsoft has integrated an advanced version of the cleanup tool in the Windows operating system. The core reason for that is that it can only be started from the command prompt, and not from menus or by clicking on a program icon on the desktop.

    Update: recent versions of the Disk Cleanup tool ship with an option to run the advanced version after start. Just start the Disk Cleanup tool like you would normally, select the drive you want to clean, and on the next screen the “clean up system files” option. This repeats the process (selecting drive and all), but opens the advanced cleaning options in the end.

    How to schedule disk cleanup in windows 7 & vista

    The advanced version lists all the cleaning options described below. Update End

    Lets first take a look at the standard version of Disk Cleanup. One of the easiest methods to start Disk Cleanup on Windows is the following one:

    1. Use the shortcut Windows-r to bring up the run box.
    2. Type cleanmgr in there and tap on the enter-key afterwards.

    This opens the program right away. There are other ways to launch it, for instance by entering disk cleanup in the start menu search form.

    The standard Disk Cleanup tool can delete the following temporary files on the system. Included in the deletion are temporary files, thumbnails, or downloaded programs.

    How to schedule disk cleanup in windows 7 & vista

    Tip: Check out How To Clean Hard Drives In Windows 7 for general information about the cleanup software.

    Compare that to the options the advanced cleanup tool offers.

    How to schedule disk cleanup in windows 7 & vista

    Included in the advanced tools are options to clean debug dump files, system and user queued error reporting files, files discarded by Windows upgrade, or setup and windows upgrade log files.

    Here is how you can load the advanced Disk Cleanup Tool in Windows:

    1. Open the run prompt again with Windows-r.
    2. Now run the following command to bring up the advanced version: Cleanmgr /sageset:65535 & Cleanmgr/sagerun:65535
    3. Just click ok afterwards to load the advanced Disk Cleanup Tool interface.

    How to schedule disk cleanup in windows 7 & vista

    Note that not all items are selected by default, which means that you need to look through the options to enable and disable items until you are satisfied with the selection.

    TR and C:\$WINDOWS.

    Q folders. If you just did a Custom install recently, then you will also see the Previous Windows installations option. This would be for the C:\Windows.old folder.​

    • If you have the 64 bit Vista and have not already done this first, then you will need to do this correction and close and restart Disk Cleanup, see: How to Correct Disk Cleanup Shortcut for Vista 64 bit
    • If you have the Vista Enterprise, Ultimate, or Business edition, then all but the most recent Complete PC Backup will be deleted also if you selected the drive in step 5 that the Complete PC Backup is stored on.

    Attachments

    Brink

    • Messages 32,622
    • Reaction score 574
    • Points 123

    Digibean

    • Jul 19, 2007
  • #2
  • There’s also a way to set up a batch file to run this. First you need to go to Start -> Run and then type in CleanMgr /sageset:99 (where 99 is just a reference number to refer to your configuration of CleanMgr when you run the batch file). When you hit enter, the Disk Cleanup window will pop up (shown in step #7 above). You can change to configuration and then click ok. After that, create a text file with the following in it:

    DISM online cleanup image in Windows 7 is a command line that can be used to fix corrupted system files. For more information about it, please read this tutorial.

    By Delia / Last update May 24, 2022

    What is the DISM command?

    Deployment Image Servicing and Management(DISM.exe) is a command line utility for Windows that can be used to service and prepare Windows images, including Windows PE, Windows Recovery Environment, and Windows Setup. One of the most common uses of DISM is to check the integrity of operating system files and repair system files that are corrupted, damaged or modified.

    Need to run DISM online cleanup image in Windows 7

    Everything goes fine until you find that Windows updates and service packs fail to install or the system is having instability issues and other strange problems. Attention, corruptions may occur in system files! You should take immediate measures to repair these corrupted files.

    However, there are some users report that the DISM command isn’t available on Windows 7 and earlier version. This statement is half right. From Microsoft forum, I get that DISM does not work well on 64GB drive. If you want to use this command line, you need 128 GB or bigger drive on your Windows 7.

    Besides, there is a data loss if you make a mistake in the process. To avoid this problem, you need to backup your system in advance.

    Backup Windows 7 in case DISM fails

    One or more system backup keeps things simple. It enables you to restore the system to the previous working state when your computer goes wrong due to corrupted system files or other factors. With a system backup in hand, you don’t have to worry about DISM errors and data loss any more.

    AOMEI Backupper Standard is the most reliable utility to create system images. Anyone can download and use it without charge. It is able to backup Windows 10/8.1/8/7/Vista/XP system to internal/external hard drives, cloud drives, NAS devices and network in a few easy steps. If you’re often busy, you can configure an automatic system backup to run backup tasks automatically. When you are dangerously low on disk space, backup compression or splitting can be your best choice.

    Learn the instructions below to backup Windows 7:

    1. Download AOMEI Backupper and open it after you’ve successfully installed this freeware.

    How to schedule disk cleanup in windows 7 & vista

    2. Click Backup and System Backup subsequently.

    How to schedule disk cleanup in windows 7 & vista

    3. Change the Task Name as you like. The required system partitions are selected by default. Select a destination path (here is F:\) to store the image backup.

    How to schedule disk cleanup in windows 7 & vista

    4. Click Start Backup to begin backup.

    How to schedule disk cleanup in windows 7 & vista

    Tips:

    Options: you can enable email notification, backup compression and backup splitting here.

    Schedule: check this box to set up an auto backup based on Daily, Weekly or Monthly. To enjoy Event triggers and USB plug in modes, you should do an edition upgrade.

    Scheme: click it to delete old backup images automatically. This feature is available in Pro version and higher versions.

    Remember the steps to restore system: Home > the system backup task > Restore.

    How to use DISM online cleanup image in Windows 7?

    Use “DISM online cleanup image” to fix your corrupted files:

    1. Type cmd in the search box (in the bottom left of the taskbar) and then right click Command Prompt to choose Run as administrator. Enter the administrator username and password if prompted.

    2. Type the following command to check if there are any corrupted files and then press Enter:

    DISM /Online /Cleanup-Image /ScanHealth

    How to schedule disk cleanup in windows 7 & vista

    3. Type the command below to see if any corruption has been detected and then press Enter:

    DISM /Online /Cleanup-Image /CheckHealth

    *After running these commands, it will report if the system files are healthy, repairable or irreparable.

    How to schedule disk cleanup in windows 7 & vista

    4. If the system files are repairable, you can run the following command and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth

    *This may take about twenty minutes to complete. Do not make any changes during the repair process.

    How to schedule disk cleanup in windows 7 & vista

    Although your system performance and stability will be improved after running these commands, the repair process takes a long time. You must always be careful with those operations, as data loss might occur if you make a mistake in the process. Besides, you may meet DISM online cleanup image error 87 when using the above commands. Error 87 often indicates a syntax error in the command, even if you have written the commands correctly.

    Verdict

    When your system files get corrupted, you can repair them by running DISM /online/ cleanup image/ in Windows 7. This command line may fail sometimes. However, system backups created by AOMEI Backupper Standard eliminate your worries. More pleasing, this freeware can be used to create bootable backup for Windows 10/8/7.

    Many people know that disk fragmentation can cause performance issues. What people don’t know is out-of-the-box, Windows 7 can be configured to run its built-in defrag tool on a schedule to keep disk fragmentation down to a minimum. Here’s how to enable it.

    Over the years here at groovyPost, we’ve shown you many ways to optimize your PC. One method for PC’s which don’t have SSD drives is running a disk defragmenter. Defraggler from Piriform is a great free tool for doing just that however if you don’t like using 3rd party tools, here’s a tip for configuring Windows 7 to run the built-in Windows defrag tool on a schedule to ensure your drive stays nice and clean… and fast!

    Click the Start Button >> All Programs >> Accessories >>System Tools. Click Disk Defragmenter.

    How to schedule disk cleanup in windows 7 & vista

    Click Configure Schedule / Turn on Schedule. I recommend weekly for standard use. Also make sure that your PC needs to be on so pick a time when you will have your PC on.

    How to schedule disk cleanup in windows 7 & vista

    Once you’ve selected your time, click OK, and then close Disk Defragmenter.

    How to schedule disk cleanup in windows 7 & vista
    If you use any solid state drives, you’ll want to make sure defragmentation is disabled for them. Defragmenting an SSD is unnecessary and can decrease the life span.

    Cara praktis untuk menghapus banyak file yang tidak Anda perlukan pada hard drive adalah dengan menggunakan alat Disk Cleanup yang tepat. Apa yang dilakukan Disk Cleanup adalah menemukan file yang dapat dengan mudah dihapus untuk membebaskan beberapa ruang disk, terutama file yang mungkin tidak jelas bagi Anda, seperti file sementara yang digunakan oleh Windows atau saat menjelajah Internet.

    Untuk menjalankan Pembersihan Disk di Windows 7 dan Windows Vista, ikuti langkah-langkah ini:

    Dari menu tombol Mulai, pilih Semua Program → Aksesoris → Peralatan Sistem → Pembersihan Disk.

    Di Windows Vista, pilih opsi File Saya Saja.

    Mulailah dengan file Anda sendiri terlebih dahulu. Jika itu tidak menghapus cukup file, ulangi langkah-langkah ini dan pilih opsi File dari Semua Pengguna di Komputer Ini.

    Jika diminta, pilih perangkat penyimpanan massal yang ingin Anda bersihkan.

    Prompt muncul hanya ketika Anda memiliki banyak media penyimpanan pada PC Anda. Anda mungkin ingin memilih drive C, perangkat penyimpanan utama.

    Di kotak dialog Disk Cleanup, beri tanda centang pada semua item yang ingin Anda hapus.

    Tidak apa-apa untuk menempatkan tanda centang oleh semua item. Hal-hal itu tidak akan dicantumkan jika penting untuk pengoperasian komputer.

    Namun, ada satu pengecualian untuk menempatkan tanda centang pada semua item: Pembersih File Hibernasi. Jangan hapus item itu jika Anda menggunakan hibernasi di komputer Anda.

    How to schedule disk cleanup in windows 7 & vista

    Anda belum sampai di sana.

    Klik tombol Delete Files untuk memulai proses pembersihan.

    Tunggu sementara disk sedang dibersihkan. Ketika proses selesai, jendela hilang.

    Di Windows 7, Anda dapat mengklik tombol Bersihkan File Sistem untuk menghapus bit dan potongan yang tidak diperlukan dari berbagai pembaruan Windows yang mungkin mengotori hard drive. Klik tombol sebelum Langkah 4, dan kemudian setelah file sistem dibersihkan, Anda dapat melanjutkan dengan menghapus disk detritus lainnya.

    Anda juga dapat mengakses utilitas Disk Cleanup dari kotak dialog Properties disk drive dengan mengklik tombol Disk Cleanup pada tab General.

    เป็นความคิดที่ดีที่จะใช้งานการบำรุงรักษาตามปกติเช่นการล้างข้อมูลบนเครื่อง Windows ของคุณเพื่อช่วยให้การทำงานราบรื่น วันนี้เรามาดูวิธีกำหนดตารางเวลางานการล้างข้อมูลบนดิสก์ขั้นพื้นฐานและวิธีใช้สวิตช์บรรทัดคำสั่งสำหรับการตั้งค่าขั้นสูงเพิ่มเติม.

    กำหนดการล้างข้อมูลบนดิสก์พื้นฐาน

    Windows มีเครื่องมือที่มีประโยชน์บางอย่างเพื่อช่วยให้เครื่องของคุณทำงานได้อย่างราบรื่น หนึ่งในเครื่องมือดังกล่าวคือการล้างข้อมูลบนดิสก์ที่สามารถลบไฟล์ชั่วคราวและไฟล์เก่าเพื่อช่วยคุณเรียกคืนพื้นที่ฮาร์ดไดรฟ์บางส่วน คุณอาจต้องการตั้งค่าให้ทำงานรายสัปดาห์หรือรายเดือนขึ้นอยู่กับสิ่งที่ดีที่สุดสำหรับคุณ ในการกำหนดตารางเวลาการล้างข้อมูลบนดิสก์ให้ทำงานเป็นประจำเราต้องกำหนดเวลางาน สำหรับตัวอย่างนี้เรากำลังใช้ Windows 7 แต่ขั้นตอนก็เหมือนกันใน Vista เช่นกัน.

    คลิกที่เมนู Start และป้อน ตัวจัดตารางงาน ลงในช่องค้นหาและกด Enter.

    How to schedule disk cleanup in windows 7 & vista

    Task Scheduler จะเปิดขึ้นและคุณจะต้องคลิกที่ Action จากนั้นเลือก สร้างงานพื้นฐาน.

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    ตอนนี้เลือกความถี่ที่คุณต้องการให้ Disk Cleanup รัน . ทุกสัปดาห์, รายวัน, รายเดือน, ครั้งเดียว . ฯลฯ ไม่มีคำตอบที่ถูกหรือผิดที่คุณใช้ มันขึ้นอยู่กับคุณอย่างสมบูรณ์และคุณอาจต้องการลองตารางเวลาที่แตกต่างกัน ในตัวอย่างนี้เราจะเลือกรายสัปดาห์.

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    ในฟิลด์โปรแกรม / สคริปต์ให้พิมพ์ Cleanmgr.exe

    How to schedule disk cleanup in windows 7 & vista

    หรือคุณสามารถเลือกดูและเลือก Disk Cleanup ซึ่งอยู่ใน C: \ Windows | system32 \ cleanmgr.exe

    How to schedule disk cleanup in windows 7 & vista

    ภายใต้โปรแกรม / สคริปต์คุณจะเห็นเส้นทางไปยังการล้างข้อมูลบนดิสก์เป็น C: \ Windows \ system32 \ cleanmgr.exe

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    สวิตช์บรรทัดคำสั่งขั้นสูง

    ในขณะที่วิธีการข้างต้นมีผลบังคับใช้คุณอาจไม่ต้องการโต้ตอบกับยูทิลิตี้การล้างข้อมูลบนดิสก์เลย การรันสวิตช์บรรทัดคำสั่งสองสามตัวจะช่วยให้คุณเลือกสิ่งที่ต้องล้างข้อมูลและเรียกใช้ทุกอย่างโดยอัตโนมัติ เพื่อเปิดประเภทพรอมต์คำสั่ง cmd ลงในช่องค้นหาในเมนูเริ่มแล้วกด Enter.

    How to schedule disk cleanup in windows 7 & vista

    ที่จะเปิดกล่องโต้ตอบการตั้งค่าการล้างข้อมูลบนดิสก์ที่คุณสามารถเลือกรายการที่คุณต้องการลบการล้างข้อมูลบนดิสก์ คุณจะสังเกตเห็นว่ามีตัวเลือกมากมายที่นี่มากกว่าเมื่อคุณผ่าน GUI เพื่อล้างไฟล์.

    How to schedule disk cleanup in windows 7 & vista

    หลังจากเลือกไฟล์ที่คุณต้องการลบในการตั้งค่าการล้างข้อมูลบนดิสก์แล้วคลิกตกลงเพื่อปิดหน้าจอ / sageset: 1 คำสั่งสร้างคีย์รีจิสทรีที่บันทึกการตั้งค่าที่คุณป้อน.

    ตอนนี้เข้าไปและสร้างงานที่กำหนดเวลาไว้ตามที่เราแสดงก่อนหน้านี้ แต่คราวนี้คุณจะต้องการเพิ่ม / sagerun: 1 เข้าไปใน เพิ่มอาร์กิวเมนต์ สนาม.

    How to schedule disk cleanup in windows 7 & vista

    ตอนนี้เมื่อเรียกใช้การล้างข้อมูลบนดิสก์จะเรียกคืนการตั้งค่าที่คุณบันทึกไว้ด้วย / sageset: 1 และคุณไม่จำเป็นต้องโต้ตอบกับ Disk Cleanup เลย มันจะทำงานโดยอัตโนมัติและล้างไฟล์ที่คุณเลือกในการตั้งค่าการล้างข้อมูลบนดิสก์.

    ข้อผิดพลาดของ Task Scheduler

    เมื่อคุณเปิดตัวจัดการงานใน Windows 7 คุณอาจได้รับข้อความแสดงข้อผิดพลาดต่อไปนี้ มันบอกให้คุณกดการรีเฟรช แต่ข้อผิดพลาดจะกลับมา ดูเหมือนจะไม่ส่งผลเสียต่อสิ่งที่คุณกำหนด แต่มันค่อนข้างน่ารำคาญ.

    How to schedule disk cleanup in windows 7 & vista

    จากการวิจัยที่ฉันทำกับข้อผิดพลาดนี้มีวิธีแก้ปัญหาที่แตกต่างกันจำนวนหนึ่งที่ใช้งานได้กับคนอื่น ในระบบของเรา Disk Defrag Schedule ถูกปิดดังนั้นเราจึงเปิดใหม่และแก้ไขปัญหา ในระบบ Windows 7 แยกต่างหาก Disk Defrag Schedule เปิดใช้งานอยู่แล้ว (ซึ่งเป็นค่าเริ่มต้น) และปิดการทำงานเพื่อแก้ไขข้อผิดพลาด ในเครื่องอื่นฉันต้องปิดแล้วเปิดใหม่เพื่อแก้ไขข้อผิดพลาด.

    How to schedule disk cleanup in windows 7 & vista

    ตั้งแต่นี้ “ ถูหัวแล้วลูบท้อง” วิธีการทำงานเราไม่ได้ลองแก้ไขอื่น ๆ ที่เป็นไปได้ หากคุณพบว่ามันใช้งานไม่ได้หรือได้พบวิธีแก้ไขปัญหาอื่นแจ้งให้เราทราบในความคิดเห็น.

    ข้อสรุป

    ถ้าคุณใช้สวิตช์ขั้นสูงเพื่อเรียกใช้ Disk Cleanup จริง ๆ แล้วมันมีตัวเลือกเพิ่มเติมมากมาย ในสวิตช์ / sageset: 1 “1” เป็นเพียงตัวเลขโดยพลการ คุณสามารถป้อนหมายเลขที่คุณต้องการ แต่ให้แน่ใจว่า / sagerun:” x” ตรงกับหมายเลขที่คุณใช้ใน / sageset:” x” ดังนั้นคุณสามารถปรับแต่งสวิตช์สำหรับไฟล์ประเภทต่างๆที่คุณต้องการล้างในการตั้งค่าการล้างข้อมูลบนดิสก์.

    ตัวอย่างเช่นคุณอาจต้องการล้างไฟล์ชั่วคราวของอินเทอร์เน็ตในระหว่างการล้างข้อมูลจากนั้นคุณสามารถทำได้ / sageset: 1 และ / sagerun: 1 จากนั้นหากคุณต้องการล้างไฟล์ทั้งหมดคุณสามารถใช้ / sageset: 10 และ / sagerun: 10 สำหรับไฟล์นั้น สวิตช์ให้ความยืดหยุ่นมากขึ้นในประเภทของไฟล์ที่ถูกลบระหว่างการล้างข้อมูลบนดิสก์ ไม่ว่าคุณจะใช้วิธีใดหรือหากคุณต้องการเรียกใช้ด้วยตนเองการเรียกใช้การล้างข้อมูลบนดิสก์จะทำให้ไดรฟ์ของคุณปลอดจากไฟล์ที่ไม่ต้องการ.

    *** Please stop by the new home page for new and updated content. ***

    Main Menu

    How To Schedule Disk Cleanup To Run Automatically in Windows XP

    By Eric Vaughan

    October 20, 2003

    This guide will show you how to make Disk Cleanup a Scheduled Task in Windows XP.

    First we have to establish the parameters you want Disk Cleanup to use:

    Go to Start > Run > type cleanmgr /sageset:50 . Ensure there is a space between cleanmgr and / > click OK

    How to schedule disk cleanup in windows 7 & vista

    In the resulting screen, choose your options by checking the boxes. I choose all but the bottom two.

    How to schedule disk cleanup in windows 7 & vista

    Now that we have established what we want Disk Cleanup to do, we need to schedule it to run:

    Go to Start > Settings > Control Panel > Scheduled Tasks > Add Scheduled Task > the Scheduled Task Wizard will appear, click Next.

    How to schedule disk cleanup in windows 7 & vista

    Scroll down until you see Disk Cleanup, click on it once to highlight it and click Next

    How to schedule disk cleanup in windows 7 & vista

    Pick a name for the task, Disk Cleanup is fine. Pick how often you want the task to run. I recommend Daily. Click Next

    How to schedule disk cleanup in windows 7 & vista

    Choose a time. Make sure the time doesn’t conflict with any other tasks. Click Next.

    How to schedule disk cleanup in windows 7 & vista

    Enter the user name and password. Click Next.

    How to schedule disk cleanup in windows 7 & vista

    Verify your settings are correct.

    Check the box next to Open advanced properties for this task when I click Finish.

    Click Finish

    How to schedule disk cleanup in windows 7 & vista

    In the resulting screen you should only have to type /sagerun:50. Ensure there is a space between .exe and /.

    How to schedule disk cleanup in windows 7 & vista

    Click Apply.

    How to schedule disk cleanup in windows 7 & vista

    Enter your password. Click OK to close out the 2 screens.

    Now let’s verify we’ve done this correctly.

    Go to Start > Settings > Control Panel > Scheduled Tasks and make sure your task is there. Double click on it to make any changes.

    How to schedule disk cleanup in windows 7 & vista

    Disk Cleanup is a Microsoft software utility first introduced with Windows 98 and included in all subsequent releases of Windows. It allows users to remove files that are no longer needed or that can be safely deleted. Removing unnecessary files, including temporary files, helps speed up and improve the performance of the hard drive and computer. Running Disk Cleanup at least once a month is an excellent maintenance task and frequency.

    As the image shows, Disk Cleanup can delete temporary Internet files (associated with Internet Explorer), downloaded program files, and offline webpages. Disk Cleanup also allows you to empty the Recycle Bin, delete temporary files, and delete thumbnails.

    How to open Microsoft Disk Cleanup

    Microsoft Disk Cleanup can be opened by following these steps.

    Windows 10 and Windows 8

    1. Press Windows key + X to open the Power User Task Menu.
    2. In the menu, tap or click the Run option.
    3. In the Run text field, type cleanmgr and press Enter .

    Windows 7 and earlier

    1. Open the Start menu.
    2. Click Programs >Accessories >System Tools.
    3. In System Tools, click the Disk Cleanup utility.
    1. Open the Start menu.
    2. Click the Run option.
    3. In the Run text field, type cleanmgr and press Enter .

    What to do in Disk Cleanup

    Once Disk Cleanup opens, the initial window asks you which drive you want to clean up. Select the appropriate drive and click OK. In the next window that opens, check each of the boxes you want to clean up. To the right of each item is the disk drive space each of the items are taking up on the hard drive.

    We highly recommend users DO NOT check the option to Compress old files (if seen). Often this option causes more issues than the small amount of space it recovers is worth.

    Once each of the boxes is checked, click OK to start the cleanup process.

    Microsoft continues to push the Settings application in Windows 11 just like it has done in Windows 10. The latest victim of the replacement policy is the classic Disk Cleanup tool. Used among other things to clean up old versions of Windows to free up Gigabytes of storage space, Microsoft announced in 2018 that it would replace the classic tool with Storage Sense, which it added to the operating system’s Settings application.

    Up until now, Disk Cleanup was accessible from the Properties dialog window of drives. Microsoft replaced the link to the Disk Cleanup tool with a link to Storage Sense in the latest Windows 11 build.

    While it is still possible to load Disk Cleanup directly, it is no longer possible to open it from a drive’s properties dialog.

    How to schedule disk cleanup in windows 7 & vista

    Activation of the Storage usage button opens the Storage used on other drives page of the Settings application. The page lists the capacity of all drives and the free and used storage ratio. It takes another click to display how storage is used on the drive.

    How to schedule disk cleanup in windows 7 & vista

    Options to cleanup files are not displayed on the page. It is necessary to open the main Storage page in the settings to get that option (or select Start > Settings > System > Storage). Select Cleanup recommendations and Windows displays cleanup options on the page that follows.

    Disk Cleanup tool is the better application

    How to schedule disk cleanup in windows 7 & vista

    The entire process is not as straightforward as using the Disk Cleanup tool. Opening issues aside, Cleanup recommendations is not nearly as user friendly as the Disk Cleanup tool. Disk Cleanup offers an immediate view of all items that can be cleaned up; while you may need to click on the “clean up system files” button after the program has launched to get more cleaning options, it is faster and provides a better view of items that can be removed from the system to free up disk space.

    Disk Cleanup is still present in the latest Windows 11 build, and chance is high that it remains an option initially after Windows 11 is released.

    Windows 11 users may launch it by typing Disk Cleanup in Start. Windows 11 displays the tool as the first result and it may be opened this way. There is a chance that Microsoft is going to alter the result manually, so that the Storage settings page is opened instead.

    You may then still load it by opening the Run box with the shortcut Windows-R to launch cleanmgr.exe.

    Eventually, Disk Cleanup will be removed from Windows. Windows users who prefer the tool may use third-party alternatives instead. There is Cleanmgr+, an open source alternative that replicates the functionality, which may be used instead.

    It looks different but it offers the same cleaning options as the classic Disk Cleanup tool.

    How to schedule disk cleanup in windows 7 & vista

    Closing Words

    The replacing of the Disk Cleanup button with the link to the Storage Settings page marks another step in the removal of the Disk Cleanup tool from Windows. Thankfully, there is a third-party alternative available that works equally well and may be used by users who prefer Disk Cleanup over Microsoft’s own reinterpretation of the tool.

    Now You: do you use Disk Cleanup or other cleanup tools?

    Improve the performance of XP and Vista–at least a little bit–by running its built-in disk defragmenter with your choice of command switches.

    Former CNET contributor

    Dennis O’Reilly began writing about workplace technology as an editor for Ziff-Davis’ Computer Select, back when CDs were new-fangled, and IBM’s PC XT was wowing the crowds at Comdex. He spent more than seven years running PC World’s award-winning Here’s How section, beginning in 2000. O’Reilly has written about everything from web search to PC security to Microsoft Excel customizations. Along with designing, building, and managing several different web sites, Dennis created the Travel Reference Library, a database of travel guidebook reviews that was converted to the web in 1996 and operated through 2000.

    If it were up to me, I’d never defragment my PC’s drives. I’m one of those people who prefers to have Windows’ maintenance operations done in the background, without my direct intervention.

    So it comes as no surprise that I’m a big fan of Vista’s automatic-defrag setting. But I also know better than to put all my faith in Microsoft’s ability to keep my system healthy. Last year, I started using Auslogics’ free Disk Defrag utility, which works with Windows 2000 and up.

    If you prefer to use Windows’ defragger, you can open it by pressing the Windows key (or Ctrl-Esc), pressing R (in XP), typing defrag in Vista or dfrg.msc in XP, and pressing Enter. The interface of Vista’s Disk Defragmenter is nonexistent; the utility is clearly designed for behind-the-scenes operation. Your only options are to set the defrag schedule, select the volumes to defrag, and run the defragger.

    Vista’s Disk Defragmenter utility is a no-frills affair. Microsoft

    XP’s version of the Disk Defragmenter isn’t much more functional, although it does give you a little more graphical feedback about the state of your drives.

    You get more control over your disk defrags by running Windows’ defragger utility from a command prompt and entering command switches that modify its actions. Start by opening a command-prompt window. One way is by pressing the Windows key (or Ctrl-Esc), pressing R (in XP), typing cmd, and pressing Enter. Or click Start > All Programs > Accessories, right-click Command Prompt, and select Run as administrator.

    At the command prompt, type defrag ? to see a list of available command switches. In both XP and Vista, you can add -a to the “defrag” command to analyze the drive only, -f to force a defrag with less than 15 percent free space, -b to defrag only boot files, and -v to show a “verbose” report of the defrag.

    Vista adds a couple of other switches: -i defrags even when the PC isn’t idle, -c works on all drives, and -w processes chunks of files smaller than 64MB; without this switch, Vista’s defragger ignores all file fragments smaller than 64MB.

    Type defrag ? at a command prompt and press Enter to see a list of available command switches. Microsoft

    For example, to defrag all your Vista volumes regardless of fragment size and when there’s less than 15 percent free space, enter this line at the command prompt and then press Enter:

    defrag -c -w -f

    The utility will display a report on the selected volumes prior to beginning the defragmentation.

    Windows defrag utility will show a report on the selected volumes prior to defragmenting the drives. Microsoft

    Unfortunately, defrags run from a command prompt aren’t any faster than those conducted via the graphical interface. That’s the biggest advantage of specialty defrag programs such as Auslogics’ Disk Defrag, which is much speedier than the defragger in Windows.

    The fact is, Vista’s automated defrags were doing a great job of keeping my disk space nice and compact. I didn’t notice much of a performance improvement after I manually defragged my Vista PC, but the defrag did wonders for my ancient XP box, which I admit I had neglected to defrag for many months.

    The other day, I was talking to a guy who wanted a PC but didn’t want Vista. He asked me how long he would have to wait for new PCs running Windows 7. When I told him that such systems were still several months away, he indicated that he’d buy a machine from a company that let you “downgrade” Vista to XP.

    I didn’t say anything, but part of me thought he was crazy. I’ll take Vista over XP any day of the week. Not having to run a disk-defrag utility is only one of the reasons why. (Yes, I know you can automate disk defrags in XP via Scheduled Tasks, as Microsoft explains in this Knowledge Base article, but doing so is too much hassle for the average Windows user.)

    Michael Niehaus’ technology ramblings

    I’ve seen a variety of blogs over the years that talk about how to do this, but I never took the time to actually try it myself. No time like the present. It turns out that the process is fairly simple: Set registry values to say what you want to clean up and then launch CLEANMGR.EXE with the right command line options. Since I wanted to put this into an MDT task sequence, I also wanted to wait until the process was done.

    The bulk of the work for this was amazingly already documented by Microsoft. Combine that documentation with some sample PowerShell scripts on StackOverflow and you can see where my script was derived, I just simplified it a little:

    Get-ChildItem -Path ‘HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches’ | New-ItemProperty -Name StateFlags001 -Value 2 -PropertyType DWORD
    Start-Process -FilePath CleanMgr.exe -ArgumentList ‘/sagerun:1’ -WindowStyle Hidden -Wait
    Get-Process -Name cleanmgr,dismhost -ErrorAction SilentlyContinue | Wait-Process -Timeout 900

    (This is a three-line script, so if you copy it, make sure the first line doesn’t have a break in it.) To run that script from MDT, copy the script into your deployment share’s “Scripts” folder and set up a “Run PowerShell script” step:

    How to schedule disk cleanup in windows 7 & vista

    The script enables every cleanup item possible (line #1), starts CLEANMGR.EXE (line #2), then waits for separate CLEANMGR.EXE and DISMHOST.EXE processes to complete before exiting. I added the 15-minute (900 second) timeout because when I ran the script to test it on my server, the processes never ended, so it’s good to give up at some point.

    Now, whether it does much good during the image creation process is a separate debate. It might free up a small amount of space; don’t expect miracles.

    ‘Its a source of knowledge its provide information about Computer, Software, Hardware, New Gadgets, latest Technological changes, Interesting fact about Windows 8, Networking and many more.

    Labels

    Tuesday, October 25, 2011

    How to make a computer faster

    How can maintain my computer faster or increase my computer speed

    Create a preventive maintenance plan for your computer

    When people notice their computer’s performance slowing, the most common reason is the hard disk. Your computer’s hard disk is a non-removable area that holds all the information available from your computer. Over time, hard disks begin to lose their ability to store data efficiently.

    You should clean the hard disk of temporary files, optimize (defragment) the hard disk, and check the hard disk for errors on a weekly basis.

    How to schedule disk cleanup in windows 7 & vista Tip: In Windows 7, Windows 8 and Windows Vista, you can go directly to any of the tools mentioned in this article. Just click the Start button, and, in the Search box, type the name of the tool. When you see the name of the tool populate in the Search list, just click it. This works for the Task Scheduler tool referenced on some of the pages linked to in this article, as well.

    Clean up your hard disk

    Your computer amasses temporary files over time. These files can come from any number of sources, with the web being one of the largest offenders. After a while, these temporary files will slow down your computer. Use Disk Cleanup to:
    · Remove temporary Internet files.
    · Delete downloaded program files, such as Microsoft ActiveX controls and Java applets.
    · Empty the Recycle Bin.
    · Remove Windows temporary files, such as error reports.
    · Delete optional Windows components that you don’t use.
    · Delete installed programs that you no longer use.
    · Remove unused restore points and shadow copies from System Restore.

    Tip: Typically, temporary Internet files take the most amount of space because the browser caches each page you visit for faster access later.

    Optimize your fragmented files

    Check your hard disk for errors

    If you use your computer daily, you should run this utility once a week to help prevent data loss.

    Learnabout ReadyBoost

    If you’re using Windows 7 or Windows Vista, you can use Ready Boost to speed up your system. A new concept in adding memory to a system, it allows you to use non-volatile flash memory—like a USB flash drive or a memory card—to improve performance without having to add additional memory.

    We recently received a question about how to successfully run the Windows Disk Cleanup Tool remotely using BatchPatch. The user noted that when running cleanmgr.exe in BatchPatch on a target computer, the cleanmgr.exe would stay running indefinitely. This is essentially the same problem that we discuss in numerous places on this website when it comes to silent application deployment. If you execute a remote deployment without specifying the proper silent/quiet installation switch, the installer package attempts to run interactively, which means that it pops up dialog boxes that it expects the user to acknowledge. The problem is that when a deployment runs remotely, it is hidden. No dialog boxes will be seen, and so instead what happens is the deployment appears to hang indefinitely while the package waits for the hidden dialog boxes to be acknowledged.

    In the case of cleanmgr.exe, if you run it without any consideration for the fact that it is being run hidden and remotely, its default mode will pop a dialog that will hang indefinitely since it cannot be acknowledged. However, cleanmgr.exe does have a way of executing silently/quietly without any user interaction: The /SAGERUN switch. However, you can’t simply use /SAGERUN without some setup.

    In the above link you can see that the cleanmgr.exe tool has two important switches: /SAGESET and /SAGERUN

    The way these switches work is you manually run the following command on a particular computer at the cmd prompt:

    Note, in the above command I specified the value 123 but you can actually use any integer from 0 to 65535. The number represents a kind of “profile”, for lack of a better term, for the cleanmgr to utilize. What happens when you run the above command is you’ll be presented with the cleanmgr.exe ‘Disk Cleanup Settings’ dialog.

    How to schedule disk cleanup in windows 7 & vista

    This Disk Cleanup Settings dialog is where you would tick the various selections that you want the tool to clean for you. When you click OK, the tool creates some registry values that contain the settings/selections you chose. Then later if/when you run this command:

    The settings that you previously created for the “123” profile are used for the actual cleanup routine. So if you create multiple cleanup profiles, for example, using commands like these:

    You can then later at any time execute a cleanup that specifies one of the previously created profiles:

    Now, the tricky part here is that if you want to run the disk cleanup tool on numerous computers, you’re not going to want to log on to each computer manually to run the SAGESET command since that defeats the purpose of using BatchPatch to execute the cleanup on numerous computers without having to log on to each computer. So the trick is that you would need to write a script to create the values that the SAGESET command would create if you were to run it for the desired cleanup operations that you select.

    After I ran this command:

    …a number of registry entries were made in the following registry key:

    I’ve pasted below just a few of the keys/values, but in particular please note the StateFlags0123 REG_DWORD values that exists in the subkeys. The StateFlags0123 values were created when I ran cleanmgr.exe with the /SAGESET:123 switch. /SAGESET:124 would create registry values titled StateFlags0124.

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    How to schedule disk cleanup in windows 7 & vista

    OK, so what you can do to automate everything is run the cleanmgr tool with /SAGESET on a single computer. Then evaluate which registry values it created, and then write a script that will create the same registry values. This way you can then use a BatchPatch deployment to deploy your script, the script will create the desired StateFlagsXXXX registry values on the target computers, execute cleanmgr.exe with the appropriate SAGERUN switch to make use of the StateFlagsXXXX registry values that were set by the script, and then optionally delete the registry values it previously created.

    The script below is just a sample. You should modify it for your needs. In particular please note that it actually creates a StateFlags0123 DWORD with value of 2 in *all* of the subkeys under this registry key:

    Technology in Plain English

    Computer cleanup tecniques and fixes

    If your personal computer is rapidly running out of hard drive space, you may need to run the Disk Cleanup utility. This may sound hard, but it is actually very easy to do. Running the Disk Cleanup utility allows your PC to scan for and rid itself of temporary files such as thumbnail images and internet page files. These files (such as thumbnail images) are created as you open different computer folders and take up some space on your PC hard drive as they sit waiting for you to open the folders again later. Disk Cleanup can even free up space by removing old Windows Restore Points – automatic saves of your PC settings and some installed programs (not including personal files) that allow your to “Restore” your computer to a previous state when it becomes unstable due to an update or installation. Running the Disk Cleanup utility is very simple:

    (*Note: I do not recommend deleting the Hibernation Files from your PC – read the description in the Disk Cleanup program for more information on this particular subject.)

    Below is an image of what the Disk Cleanup user interface should look like on a Windows Vista or Windows 7 computer.

    The process and look of the program will be very similar on a computer running Windows XP.

    If you have an older PC, or if your PC is prone to collect dust, you may be in danger of overheating. If the internal temperature of a computer becomes too high the computer may shut itself off automatically in order to prevent further heat-related problems. This overheating may happen if the PC cooling fan is broken or is blocked by excessive dust. You can prevent these heat troubles by following these simple recommendations: (1) Vacuum the dust out of all the fan vents on the computer, or (2) Remove clutter from near the computer to reduce the amount of dust build-up. It is also possible that you may need to replace your PC cooling fan completely. Decreasing the chance of a PC overheating can also be a boon to your computer performance in general.

    Defragmenting. Many people have heard of the term, but maybe you are not sure how important it is. Simply put, defragmenting is running a process that helps the computer sort and organize files for faster access when you want to open a program.

    I would recommend that you schedule your computer to defragment automatically once a week using the built in Disk Defragmenter program. Depending on the condition of your computer, you may need to schedule many hours (likely overnight) for the defragmenting process to finish.

    The easy process for manually opening and running the Disk Defragmenter on a Windows OS computer is as follows:

    1. Click and open the START icon.
    2. Start a SEARCH for Disk Defragmenter
    3. Click and open the Disk Defragmenter
    4. Find and click the Defragment button to start defragmenting your computer hard drive.
    5. (On a Windows Vista or Windows 7 computer, you will also be given the option to schedule an automatic Defragmenting once a week.)

    If your computer seems slow to respond to commands, I would recommend that you first try this Disk Defragmenting process before any other actions. It may seem like a simple thing, but it can really help the performance of a computer.

    I am looking after several sites and I was wondering if there is a way to schedule a weekly task of making all PC’s logged onto the domain to both do a Disk Cleanup and a Disk Defrag without the users having to click on any of the dialog boxes etc.

    (First post so I don’t know if this is all needed information)

    Enter to win a a “Don’t Panic” inspired embroidered hand towel

    4 Replies

    • check 439 Best Answers
    • thumb_up 859 Helpful Votes
    • format_list_bulleted 1 How-to

    Command line defrag through scheduled task.

    Command line Disk Cleanup

    Deploy with GPO

    This would work with servers ranging from Windows Server 2003 to Windows Server 2012 R2?

    • check 439 Best Answers
    • thumb_up 859 Helpful Votes
    • format_list_bulleted 1 How-to

    I believe the defrag and the cleanmgr commands are the same across the versions.

    You may have to create two separate tasks to deploy in the GPO I believe they changed the way task scheduling works between versions.

    I will attempt these and then if any issues I will get back to you

    This topic has been locked by an administrator and is no longer open for commenting.

    To continue this discussion, please ask a new question.

      How to schedule disk cleanup in windows 7 & vista

    Geek Pride, Towel Day, & the Glorious 25th of May

    DKIM enabled –> Mail go to spam folder when sent to own address.

    Hi,We use exchange online. We have a third party developer that uses are own EOL to sent mails from a mailadres to its own. So from address X to address X. A colleague of mine activated DKIM. Everything works fine except that mails sent from X.

    How to schedule disk cleanup in windows 7 & vista

    Best way to handle multiple HDMI inputs for our training room

    So I am looking for some help to figure out the best way, and the simplest way to handle multiple devices without having to deal with messing with multiple cables,So the setup is a large room where the layout changes constantly, but there is the following.

    How to schedule disk cleanup in windows 7 & vista

    Spark! Pro Series – 24 May 2022

    Today in History: 24 May 1830 – “Mary Had A Little Lamb” by Sarah Josepha Hale is first published by Boston firm Marsh, Capen & Lyon 1844 – Samuel Morse taps out “What hath God wrought” in the world’s first tel.

    How to schedule disk cleanup in windows 7 & vista

    Snap! Cobolt Strike, liquid-cooled GPUs, SolarWinds, exploring Mars, & more

    Your daily dose of tech news, in brief. You need to hear this. Fake Windows exploits target infosec community with Cobalt Strike Researchers uncovered a malware campaign targeting the infoSec community with fake Proof-Of-Concept (POC) to deli.

    Sunday, 14 October 2012

    How to make a computer faster: 6 ways to speed up your PC

    By following a few simple guidelines, you can maintain your computer, help increase your PC speed, and help keep it running smoothly. This article discusses how to use the tools available in Windows 7, Windows Vista, and Windows XP Service Pack 3 to help make your computer faster, maintain your computer efficiently, and help safeguard your privacy when you’re online.

    Note: Some of the tools mentioned in this article require you to be logged on as an administrator. If you aren’t logged on as an administrator, you can only change settings that apply to your user account.
    1. Remove spyware, and help protect your computer from viruses

    Spyware collects personal information without letting you know and without asking for permission. From the websites you visit to user names and passwords, spyware can put you and your confidential information at risk. In addition to privacy concerns, spyware can hamper your computer’s performance. To combat spyware, you might want to consider using the PC safety scan from Windows Live OneCare. This scan is a free service that helps check for and remove viruses.

    Download Microsoft Security Essentials for free to help guard your system in the future from viruses, spyware, adware, and other malicious software (also known as malware). Microsoft Security Essentials acts as a spyware removal tool and includes automatic updates to help keep your system protected from emerging threats.

    The Microsoft Windows Malicious Software Removal Tool is another utility that checks computers running Windows 7, Windows Vista, Windows XP, Windows 2000, and Windows Server 2003 for infections by specific, prevalent malicious software, including Blaster, Sasser, and Mydoom, and helps remove any infection found.
    2. Free up disk space

    The Disk Cleanup tool helps you to free up space on your hard disk to improve the performance of your computer. The tool identifies files that you can safely delete and then enables you to choose whether you want to delete some or all of the identified files.

    Use Disk Cleanup to:

    Remove temporary Internet files.

    Delete downloaded program files, such as Microsoft ActiveX controls and Java applets.

    Empty the Recycle Bin.

    Remove Windows temporary files, such as error reports.

    Delete optional Windows components that you don’t use.

    Delete installed programs that you no longer use.

    Remove unused restore points and shadow copies from System Restore.

    Tip: Typically, temporary Internet files take the most amount of space because the browser caches each page you visit for faster access later.

    To use Disk Cleanup:
    Windows 7 users
    Windows Vista users
    Windows XP users
    3. Speed up access to data

    Disk fragmentation slows the overall performance of your system. When files are fragmented, the computer must search the hard disk as a file is opened (to piece it back together). The response time can be significantly longer.

    Disk Defragmenter (sometimes shortened to Defrag by users) is a Windows utility that consolidates fragmented files and folders on your computer’s hard disk so that each occupies a single space on the disk. With your files stored neatly end to end, without fragmentation, reading and writing to the disk speeds up.

    When to run Disk Defragmenter
    In addition to running Disk Defragmenter at regular intervals (weekly is optimal), there are other times you should run it, too, such as when:

    You add a large number of files.

    Your free disk space totals 15 percent or less.

    You install new programs or a new version of the Windows operating system.

    To use Disk Defragmenter:
    Windows 7 users
    Windows Vista users
    Windows XP users

    Running Disk Cleanup and Disk Defragmenter on a regular basis is a proven way to help keep your computer running quickly and efficiently. If you’d like to learn how to schedule these tools and others to run automatically, please read Speed up your PC: Automate your computer maintenance schedule.
    4. Detect and repair disk errors

    In addition to running Disk Cleanup and Disk Defragmenter to optimize the performance of your computer, you can check the integrity of the files stored on your hard disk by running the Error Checking utility.

    As you use your hard drive, it can develop bad sectors. Bad sectors slow down hard disk performance and sometimes make data writing (such as file saving) difficult or even impossible. The Error Checking utility scans the hard drive for bad sectors and scans for file system errors to see whether certain files or folders are misplaced.

    If you use your computer daily, you should run this utility once a week to help prevent data loss.
    Run the Error Checking utility:
    5. Learn about ReadyBoost

    If you’re using Windows 7 or Windows Vista, you can use ReadyBoost to speed up your system. A new concept in adding memory to a system, it allows you to use non-volatile flash memory—like a USB flash drive or a memory card—to improve performance without having to add additional memory.

    Learn more about ReadyBoost in Windows 7.

    Learn more about ReadyBoost in Windows Vista.

    6. Upgrade to Windows 7

    If you try all the previous remedies and your computer still isn’t as fast as you would like it to be, you may want to consider updating to Windows 7.

    Find out if your computer can run Windows 7 using the Upgrade Advisor.

    Compare Window 7 editions.

    Read a third-party review of Windows 7 by David Pogue of The New York Times.

    If the Windows 7 Upgrade Advisor determines that your computer can’t run Windows 7 and you still have the need for speed, it might be time for a new computer. There are some great deals on new computers right now:

    Shop for new desktop computers.

    Shop for new laptop computers.

    Shop for netbooks.

    Top of pageTop of page
    Articles you might like:

    3 stubborn PC problems you can fix

    Strategies for conserving battery power

    After using a system for several months, installing multiple hotfixes, and even upgrading the operating system, your system will have some excess file bloat. You can manually run the disk cleanup utility to cleanup the excess files, or you can automate the cleanup process.

    How to schedule disk cleanup in windows 7 & vista

    Here’s a sample PowerShell script to automate the disk cleanup utility in Windows 8.1. I have purposely written this so that it only runs on Windows 8.1, as different features may be able to be cleaned up on different operating system versions.

    In this script, we’re basically setting all the registry settings as if you had run cleanmgr.exe /sageset:12 to configure the settings. And then we run cleanmgr.exe /sagerun:12 to instruct cleanmgr to use the configured settings to run unattended.

    To create settings for a different OS or version, follow the steps in http://support.microsoft.com/kb/253597 to manually run cleanmgr.exe with the /sageset:12 switch, to set the information in the registry properly. Then navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\ key and extract the information and update the script below.

    When you run the script (as an administrator), you will see the “Disk Cleanup” utility run – sometimes I’ve seen two windows appear at the same time, cleaning two items at the same time. The script make take several minutes to run, depending on the amount of content to be purged.

    Hard Disk Properties in Windows 7

    Microsoft operating systems allow its users to manage both hardware and software using the built-in features in the Operating system. Further to this, Microsoft has been improving its tools and features to help the users in a user friendly and efficient way while making use of resources in appropriate manner.

    Microsoft Windows 7 is the latest operating system launched by Microsoft and it has brought the users with convenience in managing the system. Windows 7 Hard Disk Properties allow the user to manage the hard drive and apply required settings.

    Drive Properties

    Hard drive properties in “Windows 7” has eight main tabs to manage or customize the drive. Each tab is further elaborated as follows.

    General

    The first tab in the drive properties is named as “General” and the users get the details regarding file system, free space, used space, disk cleanup, file indexing, drive label and capacity. The users can compress the data to save disk space by checking the option as shown in the screenshot below.

    How to schedule disk cleanup in windows 7 & vista

    Disk Cleanup

    The recycle bin keeps the data of each drive and the disk cleanup utility allows users to delete that data permanently. This data includes some system log files that are temporarily logged and deleted files. These files can be deleted and users can use this disk space. Users can also view these files before deleting them through “View Files” as highlighted below.

    How to schedule disk cleanup in windows 7 & vista

    Tools

    Users are provided with disk tools for checking, defragment and back up related options. These options are further explained below.

    How to schedule disk cleanup in windows 7 & vista

    Checking

    Disk is checked for bad sectors and system errors through check disk utility and can be accessed through tools tab in drive properties.

    How to schedule disk cleanup in windows 7 & vista

    Defragment

    Users can analyze and schedule disk for defragmentation as highlighted in the screenshot below.

    How to schedule disk cleanup in windows 7 & vista

    Back up

    Users can create a system image so that they can restore the system to previous state in case there is a system failure. This tab allows users to create system image, rescue disk and set up backup.

    How to schedule disk cleanup in windows 7 & vista

    Hardware

    This is the third tab in Tools pop up window and it allows users to view or update disk drivers.

    How to schedule disk cleanup in windows 7 & vista

    Sharing

    Users can set up sharing related options through this option. It allows users to set permissions and share the selected drive. The screenshot for the advanced sharing option and sharing tab is shown below.

    Advanced Sharing

    Advanced Sharing has further two important options that are elaborated as follows.

    How to schedule disk cleanup in windows 7 & vista

    Permissions

    Users can add users and set permissions for each user or group through this option. The user may allow full control, change options and read only rights.

    How to schedule disk cleanup in windows 7 & vista

    Caching

    Caching option allows users to choose the cache mode. Users can be given either a full cache option for offline usage of shared programs and files or they can set a specific option. The screenshot below depicts these details.

    How to schedule disk cleanup in windows 7 & vista

    Security

    Sharing option allows permission settings for users in the network where as security option allows the user permissions for its own user accounts and not for the network accounts.

    Edit Security Settings

    User can apply the security settings from the available options as depicted in the picture below.

    How to schedule disk cleanup in windows 7 & vista

    Previous Versions

    Users can select and restore system through this option.

    How to schedule disk cleanup in windows 7 & vista

    Quota

    This option allows the administrator to set hard disk space limits for a specific user.

    Quota Settings

    Users can set the quota settings through this option of Quota utility in tools tab of hard drive properties.

    How to schedule disk cleanup in windows 7 & vista

    Drive Customization

    It allows customizing drive and folders that there are picture files, document files, video files or mixture of these because windows 7 allow some extra features according to type.

    Main regions
    • Worldwide (English)
    • Europe (English)
    • América Latina (español)
    • Argentina
    • Brasil
    • Canada (English)
    • Canada (français)
    • Chile
    • Colombia
    • EE.UU. (español)
    • México
    • USA (English)
    • América Latina (español)
    • België (Nederlands)
    • Belgique (français)
    • Česká republika
    • Danmark
    • Deutschland
    • España
    • France
    • Italia
    • Magyarország
    • Nederland
    • Norge
    • Polska
    • Portugal
    • Schweiz (Deutsch)
    • Slovensko (česky)
    • South Africa
    • Suisse (français)
    • Suomi
    • Sverige
    • Türkiye
    • United Arab Emirates
    • United Kingdom
    • Ελλάδα
    • ישראל
    • Казахстан
    • România
    • Россия
    • Україна (українська)
    • Украина (русский)
    • المملكة العربية السعودية
    • الدول العربية
    • Europe (English)
    • Australia
    • India
    • इंडिया (हिंदी)
    • Indonesia (English)
    • Indonesia (Bahasa Indonesia)
    • Malaysia (English)
    • Malaysia (Bahasa Melayu)
    • New Zealand
    • Philippines (English)
    • Pilipinas (Filipino)
    • Singapore
    • Việt Nam
    • 日本語
    • 대한민국
    • 简体中文
    • 繁體中文
    • ประเทศไทย
    • Worldwide (English)
    • Служба поддержки корпоративных клиентов
    • Посетить наши форумы
    • Сообщить о ложном обнаружении
    • Запрос о конфиденциальности

    Avast временно приостановил свою деятельность на территории Российской Федерации.

    При необходимости, мы будем рады помочь или ответить на ваши вопросы на странице Службы поддержки.

    Недоступность продуктов Avast в России: часто задаваемые вопросы

    כנס פורום קהלת בנושא היועמ”ש 2016- מושב פתיחה

  • כנס פורום קהלת בנושא היועמ”ש 2016- מושב פתיחה

    כשאתה משתמש במחשב שלך באופן קבוע, הרבה דברים מיותרים מתחילים להצטבר בכונן הקשיח. אלה כוללים קבצים זמניים, קבצי מערכת וקבצים בפח המיחזור שאינך זקוק להם עוד. אתה יכול להסיר קבצים אלה וזבל אחר כזה בקלות באמצעות ניקוי הדיסק .

    ניקוי הדיסק הוא תהליך ידני. עליך לפתוח את אשף ניקוי הדיסק כדי להשתמש בו. עם זאת, יש דרך טובה יותר לבצע משימה זו. אתה יכול למעשה לתזמן את ניקוי הדיסק להפעלה אוטומטית בזמן מועדף כאשר אתה צפוי להתרחק מהמחשב שלך.

    מאמר זה מספר לך כיצד ניתן לתזמן זאת באמצעות מתזמן המשימות של Windows . שלבים אלה חלים הן על Windows Vista והן על Windows 7.

    1. לחץ על כפתור “התחל”. הקלד “מתזמן משימות” בתיבת החיפוש. לחץ על התוצאה.

    How to schedule disk cleanup in windows 7 & vista

    2. בחלון מתזמן המשימות, לחץ על “פעולה”, כעת לחץ על “צור משימה בסיסית” מהתפריט הנפתח.

    How to schedule disk cleanup in windows 7 & vista

    3. ביצירת חלון משימות בסיסי, מלאו את שם המשימה ואת תיאורו. לאחר המילוי, לחץ על כפתור “הבא”.

    How to schedule disk cleanup in windows 7 & vista

    4. בחרו בתזמון המשימות. אתה יכול לבחור יומי, שבועי, חודשי, חד פעמי, או כל אפשרות אחרת על סמך העדיפות שלך. לאחר שתסיים, לחץ על הבא.

    How to schedule disk cleanup in windows 7 & vista

    5. ציין כעת את לוח הזמנים ולחץ על “הבא”.

    How to schedule disk cleanup in windows 7 & vista

    6. בחר “התחל תוכנית” ולחץ על “הבא”.

    How to schedule disk cleanup in windows 7 & vista

    7. לחץ על כפתור “עיון”.

    How to schedule disk cleanup in windows 7 & vista

    8. באזור שם הקובץ, הקלד cleanmgr.exe ולחץ על פתח.

    How to schedule disk cleanup in windows 7 & vista

    9. תראה את C: \ Windows \ System32 \ cleanmgr.exe בתיבת התוכנית / סקריפט. כעת לחץ על “הבא”.

    לחץ על סיום. זהו זה. ניקוי הדיסק של המחשב מתוזמן. זה יתחיל אוטומטית בשעה שציינת בלוח הזמנים. אין צורך לעשות זאת ידנית יותר.

    כמו כן, נכון לעכשיו הייתם מגלים כי מתזמן המשימות של Windows שהוזכר לעיל הוא כלי די שימושי. אתה יכול לתזמן משימות רבות אחרות של חלונות ארציות באמצעותו. נדבר יותר על כך בפוסטים עתידיים. אם אתה מכיר טריקים שקשורים אליו, או שיש לך הצעות כלשהן, קפוץ לתגובות!

    כיבוי מאחה הדיסק עשוי לפתור מחשב איטי, חלק 2 עוד שלוש מחשבות על כל מאחה הדיסק מאחה. האם זה באמת אשם? מה זה חשוב, אם בכלל, אחרי שנסענו לבלוגר החצוף שלנו (בדרך חזרה ביום שישי), הוא כיוון את האצבע על מאחה הדיסק של ויסטה וצעק, “

    אמנם זה תמיד רעיון טוב לבדוק באופן קבוע את הדיסק הקשיח הבריאות עבור שגיאות & רע מגזרים, חשוב באותה מידה לפקח על הדיסק הקשיח באופן קבוע, אם אתה לא רוצה להיתפס Unawares על ידי כשל דיסק קשיח ללא סיבה נראית לעין. דיסקים קשיחים בימים אלה, השתמש ניטור עצמי, ניתוח ודיווח טכנולוגיה או SMART כדי לפקח על הבריאות שלה ולשלוח אותות אם הוא נכשל.

    כדי לבדוק את המצב של הדיסק הקשיח שלך אתה יכול להשתמש WMIC או

    Is your Windows PC running slow? Is it out of space due to junk files? Is your C Drive full? Are you fed up with privacy leaks? Here is the number one tool to clean up C Drive. It protects your privacy and cleans out C Drive making your computer faster and more secure.

    Features of Disk Cleanup for Windows

    Securely Clean C Drive Windows 10 For Useless Files and Makes Your Computer Run Faster

    With time junk files, temporary files, various kinds of system files, and other items you do not need gather on your Windows computer. These worthless files take up valuable hard drive space and reduce down the speed of your computer. Disk Cleanup for Windows tool can help delete these needless files on your hard disk to free up space and make your computer run like brand new. Equipped with advanced algorithms, Disk Cleanup for Windows can scan and wipe a hard drive of useless files within seconds, making it one of the most economical disk cleaners out there.

    Cleans Internet History and Other Traces on Your Computer Protecting Your Privacy

    Disk Cleanup for Windows is a powerful tool as it can clean internet history, cache files, and cookies of search engine browsers. Additionally, it detects and cleans all the traces caused by Windows systems, components, and other applications to protect your privacy.

    Improve the Performance of your PC by Re-Arranging The Files on Your Disk

    Your hard disk drive gets fragmented over time. Disintegration makes your hard disk do extra work that can reduce the speed of your computer. The Disk Re-arrangement feature of Disk Cleanup for Windows can rearrange disintegrated data so your drive can run more effectively. The feature provides you with a clear visual chart of the selected drive, enabling you to know the drive usage. You can even use it to examine and re-arrange any external storage devices as well.

    Scheduled Disk Cleaning Automatically

    With the Disk Cleanup tool for Windows by your side, you can automatically schedule disk cleaning on a daily, weekly, and monthly basis as per your needs. Kakasoft will automatically clean C Drive in Windows 7 without formatting cleaning the useless files in the background even when the scheduled time is up. The feature enables you to clean the junk files by clicking on the icon of the Disk Cleanup for Windows.

    Why Trust Disk Cleanup for Windows

    Kakasoft has a team of experienced software developers. You can rest assured that the best efforts have been put into this Kakasoft C Drive Cleaner. It will definitely meet your needs once used. Don’t forget that this company has other premium tools that have been able to earn numerous positive reviews from users all over the world. Therefore, take your chances and download it.