How to Run Windows XP System Maintenance With Automated Scripts
A computer needs a few things done to it on a regular basis to ensure that it continues running smoothly. This guide will show you how to set your Windows XP computer to automatically take care of it self using the task scheduler and batch...
Disk Cleanup First Phase
Disk Cleanup - Windows bundled tool that performs Disk Space Cleanup of no longer needed files. To run this task you will need Administrative privileges
-
Picture 1 of How to Run Windows XP System Maintenance With Automated Scripts Click on "Start" Menu. -
Picture 2 of How to Run Windows XP System Maintenance With Automated Scripts Click on "Run" -
Picture 3 of How to Run Windows XP System Maintenance With Automated Scripts Type "CMD" in the run box; Press Enter. This will bring up the DOS Prompt Window. -
Picture 4 of How to Run Windows XP System Maintenance With Automated Scripts Type "CLEANMGR /sageset:n"; Press Enter. where n is an arbitrary number from 0 through 65535. -
Picture 5 of How to Run Windows XP System Maintenance With Automated Scripts Check the boxes of the files you wish to clean up.- A window will appear similar to the screen shot] - What you are doing is telling the computer that when you run CLEANMGR with the Registry Entry n, to clean these files.
-
Picture 6 of How to Run Windows XP System Maintenance With Automated Scripts Click "OK" when you are finished selecting.
Disk Cleanup Second Phase
-
Picture 7 of How to Run Windows XP System Maintenance With Automated Scripts Click on "Start" Menu. -
Picture 8 of How to Run Windows XP System Maintenance With Automated Scripts Click on "All Programs" -
Picture 9 of How to Run Windows XP System Maintenance With Automated Scripts Click on "Accessories" -
Picture 10 of How to Run Windows XP System Maintenance With Automated Scripts Click on "System Tools" -
Picture 11 of How to Run Windows XP System Maintenance With Automated Scripts Click on "Scheduled Tasks" -
Picture 12 of How to Run Windows XP System Maintenance With Automated Scripts Double-Click "Add Scheduled Task" The schedule task wizard will open. -
Picture 13 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 14 of How to Run Windows XP System Maintenance With Automated Scripts Click "Browse" -
Picture 15 of How to Run Windows XP System Maintenance With Automated Scripts Browse to "C:WINDOWSSystem32" Please note that if you do not have a "C:WINDOWS" look for "C:WINNT" instead. -
Picture 16 of How to Run Windows XP System Maintenance With Automated Scripts Click "cleanmgr.exe" -
Picture 17 of How to Run Windows XP System Maintenance With Automated Scripts Click "Weekly" -
Picture 18 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 19 of How to Run Windows XP System Maintenance With Automated Scripts Choose Run Time that is convenient for you. Sunday at 2AM is a good setting. -
Picture 20 of How to Run Windows XP System Maintenance With Automated Scripts Enter the Admin User/Password -
Picture 21 of How to Run Windows XP System Maintenance With Automated Scripts Check "Open advanced properties" -
Picture 22 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 23 of How to Run Windows XP System Maintenance With Automated Scripts From the "Task" Tab update the Run line with the following: "C:WINDOWSsystem32cleanmgr.exe /sagerun:n" using the same n that was set in the Disk Cleanup First Phase Section -
Picture 24 of How to Run Windows XP System Maintenance With Automated Scripts From the "Settings" Tab, under "Power Management" check off the "Wake the Computer"
Disk Check First Phase
Check Disk - Windows bundled tool for checking for errors and repairing them on your hard drive, the next time the computer is rebooted.
-
Picture 25 of How to Run Windows XP System Maintenance With Automated Scripts Return the Focus to the DOS Prompt Window, by clicking the Window Border. -
Picture 26 of How to Run Windows XP System Maintenance With Automated Scripts Type "notepad"; Press Enter. -
Picture 27 of How to Run Windows XP System Maintenance With Automated Scripts Type echo y|chkdsk C: /f/r- echo y|chkdsk for each additional drive letter: /f/r
- shutdown /r
-
Picture 28 of How to Run Windows XP System Maintenance With Automated Scripts When finished save the file by Clicking on "File" -
Picture 29 of How to Run Windows XP System Maintenance With Automated Scripts Click "Save As" -
Picture 30 of How to Run Windows XP System Maintenance With Automated Scripts In the "File Name" line type "checkdisk.bat" with the Double-Quotation Marks.
Disk Check Second Phase
-
Picture 31 of How to Run Windows XP System Maintenance With Automated Scripts Return the Focus to the "Scheduled Tasks" -
Picture 32 of How to Run Windows XP System Maintenance With Automated Scripts Double-Click "Add Scheduled Task" The schedule task wizard will open.] -
Picture 33 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 34 of How to Run Windows XP System Maintenance With Automated Scripts Click "Browse" -
Picture 35 of How to Run Windows XP System Maintenance With Automated Scripts Browse to the location where you save the file "checkdisk.bat" -
Picture 36 of How to Run Windows XP System Maintenance With Automated Scripts Click "Weekly" -
Picture 37 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 38 of How to Run Windows XP System Maintenance With Automated Scripts Choose Run Time that is convenient for you, Monday at 2AM is a good setting. -
Picture 39 of How to Run Windows XP System Maintenance With Automated Scripts Enter the Admin User/Password -
Picture 40 of How to Run Windows XP System Maintenance With Automated Scripts Check "Open advanced properties" -
Picture 41 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 42 of How to Run Windows XP System Maintenance With Automated Scripts From the "Settings" Tab, under "Power Management" check off the "Wake the Computer"
Disk Defrag Phase
Disk Defrag - Windows bundled tool that reorganizes files more efficiently. Windows is very sloppy when it comes to handling files. Instead of saving them where they belong on your hard drive Windows sticks them where ever it's most convenient. Over time this will slow your computer down.
-
Picture 43 of How to Run Windows XP System Maintenance With Automated Scripts Return the Focus to the "Scheduled Tasks" -
Picture 44 of How to Run Windows XP System Maintenance With Automated Scripts Double-Click "Add Scheduled Task" The schedule task wizard will open. -
Picture 45 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 46 of How to Run Windows XP System Maintenance With Automated Scripts Click "Browse" -
Picture 47 of How to Run Windows XP System Maintenance With Automated Scripts Browse to "C:WINDOWSSystem32" Please note that if you do not have a "C:WINDOWS" look for "C:WINNT" instead. -
Picture 48 of How to Run Windows XP System Maintenance With Automated Scripts Click "defrag.exe" -
Picture 49 of How to Run Windows XP System Maintenance With Automated Scripts Click "Weekly" -
Picture 50 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 51 of How to Run Windows XP System Maintenance With Automated Scripts Choose Run Time that is convenient for you, Tuesday at 2AM is a good setting. -
Picture 52 of How to Run Windows XP System Maintenance With Automated Scripts Enter the Admin User/Password -
Picture 53 of How to Run Windows XP System Maintenance With Automated Scripts Check "Open advanced properties" -
Picture 54 of How to Run Windows XP System Maintenance With Automated Scripts Click "Next" -
Picture 55 of How to Run Windows XP System Maintenance With Automated Scripts From the "Task" Tab update the Run line with the following: "C:WINDOWSsystem32defrag.exe C" -
Picture 56 of How to Run Windows XP System Maintenance With Automated Scripts From the "Settings" Tab, under "Power Management" check off the "Wake the Computer" -
Picture 57 of How to Run Windows XP System Maintenance With Automated Scripts Repeat this process for each additional drive letter replacing C for the current drive that you wish to defrag, and add a day to the Schedule.
You should read it
- How to check and manage disk space in Linux
- Check and fix hard drive errors with chkdsk on Windows
- How to check the drive in Windows 10
- How to fix the Disk I / O error in Windows
- How to use ncdu to check disk space in Ubuntu
- What is a disk signature? Fix disk signature conflict error
- What is RAM Disk? How does it work?
- How to Create Disk Images with Disk Utility (Mac OS)
- Difference between Recovery Disk and Repair Disk
- How to Create a Boot Disk
- How to check the speed of read and write drives by CrystalDiskMark
- How to Delete a Drive Partition on PC or Mac
Maybe you are interested
Discovered a potential glacier near the surface of Mars, suitable as a base for future astronauts Useful Apps Every Person With Hearing Problems Should Have On Their Phone How to check Vietnamobile's SIM SIM card is covered Download the original Nokia 8 Sirocco wallpapers Foods that make you more alert than drinking coffee How to remove scratches on plastic lenses?