| Automate System Maintenance in Window XP |
|
|
|
| Written by Siamkia | |||||
| Monday, 11 February 2008 | |||||
|
It is very common and common a system will become slower and slower after some time. Some people have a practice to format their pc after some period, but this is not a good solution because whenever you format it, you need to redo all the application installation, all the customized settings and even recover some data. The right answer to keep your system performance should be periodic system maintenance and not periodicly format your system. System maintenance can be heavy job if you will need to perform it manually, because you will need to trigger the job manually and wait for its completion. Most of the time, people tends to forget this manual and boring task to keep system performance.Hence, why don't we automate system maintenance and let the system maintain itself? In Window XP,there are 3 system maintenance tasks that need to perform - Disk Cleanup, Check Disk and Disk Defragment. Disk CleanupThe command to perform disk cleanup is Cleanmgr.exe.Cleanmgr.exe is used to clear unnecessary files from your computer's hard disk.The files that are able to clear are as following:
For detail usage of cleanmgr.exe, please refer How to Automate the Disk Cleanup Tool in Windows XP in Microsoft.
Check Disk UtilityCheck Disk Utility is an embeded tool in Window XP to help detect file system corruption as well as bad sector.For normal non-system disk, Check Disk can run in Window mode, but for system disk that stored Windows, it will only be able to run after restart before the window was launched. Hence, sometime, you will need to initialize shutdown command so that your system will be restart automatically to perform check disk in system disk. For detail explanation of command for check disk, please refer Chkdsk from micosoft To run chkdsk in command prompt, follow the below sterps.
Disk DefragmenterDisk Defragmenter is the tool in Window XP that can locates and consolidates fragmented boot files, data files, and folders on local volumes. This process is the key point to make your system maintain at the speed near to the speed you just build up the system. For details usage of defrag command, please refer Defrag in Microsoft To execute disk defragmenter in command prompt, you can follow the following steps.
Automate All Together - Complete System Maintenance SolutionThe ideal sequence of running those maintenance tools is to run Disk Cleanup to clear the unnecessary space in the disk first, then run check disk utility to fix any file system error ,and lastly execute disk defragmenter to consolidates fragmented boot files, data files, and folders on local volumes.Check Disk on system drive will need to reboot. Hence, the sequence to automate full maintenance should be as following.
Siamkia.com provides a sample script that automate check disk, disk cleanup, and disk defragmentation together. Users can download it from Download Center and edit the script to fix your system volume.You can get the script for free at here. |
|||||
| Last Updated ( Tuesday, 12 February 2008 ) | |||||
| < Prev |
|---|


















