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
- Click on "Start" Menu.
- Click on "Run"
- Type "CMD" in the run box; Press Enter. This will bring up the DOS Prompt Window.
- Type "CLEANMGR /sageset:n"; Press Enter. where n is an arbitrary number from 0 through 65535.
- 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.
- Click "OK" when you are finished selecting.
Method 2 of 5:
Disk Cleanup Second Phase
- Click on "Start" Menu.
- Click on "All Programs"
- Click on "Accessories"
- Click on "System Tools"
- Click on "Scheduled Tasks"
- Double-Click "Add Scheduled Task" The schedule task wizard will open.
- Click "Next"
- Click "Browse"
- Browse to "C:WINDOWSSystem32" Please note that if you do not have a "C:WINDOWS" look for "C:WINNT" instead.
- Click "cleanmgr.exe"
- Click "Weekly"
- Click "Next"
- Choose Run Time that is convenient for you. Sunday at 2AM is a good setting.
- Enter the Admin User/Password
- Check "Open advanced properties"
- Click "Next"
- 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
- 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.
- Return the Focus to the DOS Prompt Window, by clicking the Window Border.
- Type "notepad"; Press Enter.
- Type echo y|chkdsk C: /f/r
- echo y|chkdsk for each additional drive letter: /f/r
- shutdown /r
- When finished save the file by Clicking on "File"
- Click "Save As"
- In the "File Name" line type "checkdisk.bat" with the Double-Quotation Marks.
Method 4 of 5:
Disk Check Second Phase
- Return the Focus to the "Scheduled Tasks"
- Double-Click "Add Scheduled Task" The schedule task wizard will open.]
- Click "Next"
- Click "Browse"
- Browse to the location where you save the file "checkdisk.bat"
- Click "Weekly"
- Click "Next"
- Choose Run Time that is convenient for you, Monday at 2AM is a good setting.
- Enter the Admin User/Password
- Check "Open advanced properties"
- Click "Next"
- 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.
- Return the Focus to the "Scheduled Tasks"
- Double-Click "Add Scheduled Task" The schedule task wizard will open.
- Click "Next"
- Click "Browse"
- Browse to "C:WINDOWSSystem32" Please note that if you do not have a "C:WINDOWS" look for "C:WINNT" instead.
- Click "defrag.exe"
- Click "Weekly"
- Click "Next"
- Choose Run Time that is convenient for you, Tuesday at 2AM is a good setting.
- Enter the Admin User/Password
- Check "Open advanced properties"
- Click "Next"
- From the "Task" Tab update the Run line with the following: "C:WINDOWSsystem32defrag.exe C"
- From the "Settings" Tab, under "Power Management" check off the "Wake the Computer"
- 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
You should read it
- 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
May be interested
- How to Set a Schedule on a Buffalo LinkStationif you don't want your buffalo linkstation to be running all the time, you may want to explore setting up a schedule for it to run. if there's no set schedule, the linkstation will either always stay on or off. it's advisable to set a...
- How to Set up Remote Desktop Web Connection with Windows XPinstall the necessary software on the host computer. remote desktop web connection is an optional world wide web service component of internet information services (iis), which is included by default in windows xp professional. iis...
- How to Rebuild a Windows XP PCthis page provides information on rebuilding a typical windows xp computer, with pointers to really useful and lightweight freeware. rebuilding your computer every so often keeps the startup and shutdown times low and wipes out any...
- How to Repair Wi Fi Connection After Windows Service Pack 2 Upgradewhen service pack 2 of windows xp was launched, microsoft sent through a hotfix (q815485) that kills wireless adapters from working with the new system files. you can resolve this problem in one of three ways, depending on whether you use...
- How to Transfer Themes from Windows 98do you have an old windows 98 computer? do you like the themes? do you want to take the themes with you to your new computer? this article will show you how. turn both computers on.
- How to Create an Administrative Installation Point for Installing Entrust Security Provider for Windowsan administrative installation point is a method of installing software to multiple computers on a network using microsoft's install engine. this is advantageous to administrators of a large group of users. it allows the administrator to...