Basic Routine XP Maintenance - Batch File

I wanted to schedule some basic maintenance tasks for my laptop to run once a week, so I decided to write this batch file for Windows XP to run Disk Clean Up and then do a Defrag. Once Off Setup: Extract the files to a folder of your choice Then click on: Start Run Type […]

I wanted to schedule some basic maintenance tasks for my laptop to run once a week, so I decided to write this batch file for Windows XP to run Disk Clean Up and then do a Defrag.

Once Off Setup:

  1. Extract the files to a folder of your choice
  2. Then click on:
    1. Start
    2. Run
    3. Type In: cleanmgr /sageset:11
    4. Click OK
    5. Then select which option you would like Disk Cleaner to run each time
    6. Click OK
  3. Then if your hard drive letter is not c: then you need to edit the file:
    1. Right Click on pc_maintenance.bat
    2. Click on Edit
    3. Then scroll down to the Defrag Section
    4. Enter the drive letter (More instruction available in this section of the file)
    5. Save the file
  4. Schedule the task:
    1. Click on Start
    2. Control Panel
    3. Scheduled Tasks
    4. Click on Add Schedule Task
    5. Click Next
    6. Click on Browse
    7. Navigate and find the folder that you have extracted and select the file named pc_maintenance.bat
    8. Then enter a name for the task and select how often you would like to run the task (I suggest not running the task less than once a week)
    9. Then click next until you have completed the setup

Download:

  PC_Maintance_Windows_XP (3.1 KiB, 61 hits)
You need to be a registered user to download this file.

Author: admin

See all posts by (18)

Leave a Reply