How to Run Windows XP System Maintenance With Automated Scripts

Method 1 of 5:

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

  1. How to Run Windows XP System Maintenance With Automated Scripts Picture 1
    Click on "Start" Menu.
  2. How to Run Windows XP System Maintenance With Automated Scripts Picture 2
    Click on "Run"
  3. How to Run Windows XP System Maintenance With Automated Scripts Picture 3
    Type "CMD" in the run box; Press Enter. This will bring up the DOS Prompt Window.
  4. How to Run Windows XP System Maintenance With Automated Scripts Picture 4
    Type "CLEANMGR /sageset:n"; Press Enter. where n is an arbitrary number from 0 through 65535.
  5. How to Run Windows XP System Maintenance With Automated Scripts Picture 5
    Check the boxes of the files you wish to clean up.
    1. 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.
  6. How to Run Windows XP System Maintenance With Automated Scripts Picture 6
    Click "OK" when you are finished selecting.
Method 2 of 5:

Disk Cleanup Second Phase

  1. How to Run Windows XP System Maintenance With Automated Scripts Picture 7
    Click on "Start" Menu.
  2. How to Run Windows XP System Maintenance With Automated Scripts Picture 8
    Click on "All Programs"
  3. How to Run Windows XP System Maintenance With Automated Scripts Picture 9
    Click on "Accessories"
  4. How to Run Windows XP System Maintenance With Automated Scripts Picture 10
    Click on "System Tools"
  5. How to Run Windows XP System Maintenance With Automated Scripts Picture 11
    Click on "Scheduled Tasks"
  6. How to Run Windows XP System Maintenance With Automated Scripts Picture 12
    Double-Click "Add Scheduled Task" The schedule task wizard will open.
  7. How to Run Windows XP System Maintenance With Automated Scripts Picture 13
    Click "Next"
  8. How to Run Windows XP System Maintenance With Automated Scripts Picture 14
    Click "Browse"
  9. How to Run Windows XP System Maintenance With Automated Scripts Picture 15
    Browse to "C:WINDOWSSystem32" Please note that if you do not have a "C:WINDOWS" look for "C:WINNT" instead.
  10. How to Run Windows XP System Maintenance With Automated Scripts Picture 16
    Click "cleanmgr.exe"
  11. How to Run Windows XP System Maintenance With Automated Scripts Picture 17
    Click "Weekly"
  12. How to Run Windows XP System Maintenance With Automated Scripts Picture 18
    Click "Next"
  13. How to Run Windows XP System Maintenance With Automated Scripts Picture 19
    Choose Run Time that is convenient for you. Sunday at 2AM is a good setting.
  14. How to Run Windows XP System Maintenance With Automated Scripts Picture 20
    Enter the Admin User/Password
  15. How to Run Windows XP System Maintenance With Automated Scripts Picture 21
    Check "Open advanced properties"
  16. How to Run Windows XP System Maintenance With Automated Scripts Picture 22
    Click "Next"
  17. How to Run Windows XP System Maintenance With Automated Scripts Picture 23
    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
  18. How to Run Windows XP System Maintenance With Automated Scripts Picture 24
    From the "Settings" Tab, under "Power Management" check off the "Wake the Computer"
Method 3 of 5:

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.

  1. How to Run Windows XP System Maintenance With Automated Scripts Picture 25
    Return the Focus to the DOS Prompt Window, by clicking the Window Border.
  2. How to Run Windows XP System Maintenance With Automated Scripts Picture 26
    Type "notepad"; Press Enter.
  3. How to Run Windows XP System Maintenance With Automated Scripts Picture 27
    Type echo y|chkdsk C: /f/r
    1. echo y|chkdsk for each additional drive letter: /f/r
    2. shutdown /r
  4. How to Run Windows XP System Maintenance With Automated Scripts Picture 28
    When finished save the file by Clicking on "File"
  5. How to Run Windows XP System Maintenance With Automated Scripts Picture 29
    Click "Save As"
  6. How to Run Windows XP System Maintenance With Automated Scripts Picture 30
    In the "File Name" line type "checkdisk.bat" with the Double-Quotation Marks.
Method 4 of 5:

Disk Check Second Phase

  1. How to Run Windows XP System Maintenance With Automated Scripts Picture 31
    Return the Focus to the "Scheduled Tasks"
  2. How to Run Windows XP System Maintenance With Automated Scripts Picture 32
    Double-Click "Add Scheduled Task" The schedule task wizard will open.]
  3. How to Run Windows XP System Maintenance With Automated Scripts Picture 33
    Click "Next"
  4. How to Run Windows XP System Maintenance With Automated Scripts Picture 34
    Click "Browse"
  5. How to Run Windows XP System Maintenance With Automated Scripts Picture 35
    Browse to the location where you save the file "checkdisk.bat"
  6. How to Run Windows XP System Maintenance With Automated Scripts Picture 36
    Click "Weekly"
  7. How to Run Windows XP System Maintenance With Automated Scripts Picture 37
    Click "Next"
  8. How to Run Windows XP System Maintenance With Automated Scripts Picture 38
    Choose Run Time that is convenient for you, Monday at 2AM is a good setting.
  9. How to Run Windows XP System Maintenance With Automated Scripts Picture 39
    Enter the Admin User/Password
  10. How to Run Windows XP System Maintenance With Automated Scripts Picture 40
    Check "Open advanced properties"
  11. How to Run Windows XP System Maintenance With Automated Scripts Picture 41
    Click "Next"
  12. How to Run Windows XP System Maintenance With Automated Scripts Picture 42
    From the "Settings" Tab, under "Power Management" check off the "Wake the Computer"
Method 5 of 5:

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.

  1. How to Run Windows XP System Maintenance With Automated Scripts Picture 43
    Return the Focus to the "Scheduled Tasks"
  2. How to Run Windows XP System Maintenance With Automated Scripts Picture 44
    Double-Click "Add Scheduled Task" The schedule task wizard will open.
  3. How to Run Windows XP System Maintenance With Automated Scripts Picture 45
    Click "Next"
  4. How to Run Windows XP System Maintenance With Automated Scripts Picture 46
    Click "Browse"
  5. How to Run Windows XP System Maintenance With Automated Scripts Picture 47
    Browse to "C:WINDOWSSystem32" Please note that if you do not have a "C:WINDOWS" look for "C:WINNT" instead.
  6. How to Run Windows XP System Maintenance With Automated Scripts Picture 48
    Click "defrag.exe"
  7. How to Run Windows XP System Maintenance With Automated Scripts Picture 49
    Click "Weekly"
  8. How to Run Windows XP System Maintenance With Automated Scripts Picture 50
    Click "Next"
  9. How to Run Windows XP System Maintenance With Automated Scripts Picture 51
    Choose Run Time that is convenient for you, Tuesday at 2AM is a good setting.
  10. How to Run Windows XP System Maintenance With Automated Scripts Picture 52
    Enter the Admin User/Password
  11. How to Run Windows XP System Maintenance With Automated Scripts Picture 53
    Check "Open advanced properties"
  12. How to Run Windows XP System Maintenance With Automated Scripts Picture 54
    Click "Next"
  13. How to Run Windows XP System Maintenance With Automated Scripts Picture 55
    From the "Task" Tab update the Run line with the following: "C:WINDOWSsystem32defrag.exe C"
  14. How to Run Windows XP System Maintenance With Automated Scripts Picture 56
    From the "Settings" Tab, under "Power Management" check off the "Wake the Computer"
  15. How to Run Windows XP System Maintenance With Automated Scripts Picture 57
    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.
4 ★ | 1 Vote

May be interested

  • 6 Tasks You Should Do Regularly on Your Windows Computer6 Tasks You Should Do Regularly on Your Windows Computer
    given the workload that windows computers handle, they need maintenance to run smoothly. without regular maintenance, performance can suffer, security can be at risk, and hardware issues can go unnoticed.
  • Which time is reasonable for automobile maintenance?Which time is reasonable for automobile maintenance?
    for cars to be durable, beautiful and smooth, the most important thing not to be missed is periodic maintenance. so what are the timelines that require car owners to pay attention?
  • Maintain conditioning and things you need to rememberMaintain conditioning and things you need to remember
    after a period of use, air conditioner needs to be cared and maintained periodically to help more stable operation, increase life expectancy as well as save maintenance costs for the family. here is all you need to know about conditioning maintenance and some experiences to remember.
  • Test on system maintenance P1Test on system maintenance P1
    all devices and machines can only operate in the best state when maintained, regularly maintained and the computer is no exception. below the network administrator will send you questions about the topic of system maintenance. invite you to consult.
  • Maintain Windows effectively with 5 professional softwareMaintain Windows effectively with 5 professional software
    the maintenance and optimization of windows operating system will help the computer after a long time of use get high performance, creating stability during use.
  • Test on maintenance of P3 systemTest on maintenance of P3 system
    the multiple choice questions on system maintenance will give you lots of useful information around this topic. let's try our questions below.
  • Testing about P2 system maintenanceTesting about P2 system maintenance
    multiple choice questions on system maintenance will give you lots of useful information around this topic. set of 10 questions with 4 answers to choose from.
  • How to automate Photoshop with Photoshop ScriptsHow to automate Photoshop with Photoshop Scripts
    today, this article will show you how to use photoshop scripts. it gives you the ability to change the behavior of a running script - something that photoshop actions can't do!
  • Automate maintenance tasks for Windows computersAutomate maintenance tasks for Windows computers
    this article will provide information on how to create and automate a maintenance schedule to keep your computer running 'smoothly'.
  • CleanMyPC - the tool that takes care of all PC maintenance tasksCleanMyPC - the tool that takes care of all PC maintenance tasks
    every windows user knows that this operating system will accumulate garbage over time. windows has a number of tools for maintaining computers, but they don't offer as many features as professional tools. cleanmypc is an application that provides features for computer maintenance, helping to operate better.