Defragmenting a hard drive, combined with clean up of Temporary Files keep your computer running fast. It'd be nice to configure your computer to carry out these tasks automatically without you lifting a finger.
- Click Start, Run
- Type the following: cleanmgr.exe /d C: /sageset:50
- C: is the drive containing your Windows installation.
- :50 is a label that identifies this particular config. It can be any integer value from 0 to 65535.
- Look at it in terms of having the ability to configure cleanmgr.exe many different ways, and you can create a Task in Task Scheduler to run each variant at a different time of your choice. If you don't understand what I just said, just read on.
- The command cleanmgr.exe /d C: /sageset:50 opens a Disk Cleanup Settings window. Check whatever you want to clean up.
- Click OK.
- Your config is now saved in the registry, and identified by the label :50.
- To run it, just do Start, Run, and type
C:\WINDOWS\system32\cleanmgr.exe /sagerun:50- Let's say for cleanmgr.exe /d C: /sageset:50, you only put checkmarks in "Temporary Internet Files" and "Temporary Setup Files". You can create another config, e.g. cleanmgr.exe /d C: /sageset:51, and check other options, e.g. "Downloaded Program Files". To run it, you would issue the command C:\WINDOWS\system32\cleanmgr.exe /sagerun:51.
- cleanmgr.exe /d C: /sagerun:50 will clean "Temporary Internet Files" and "Temporary Setup Files".
- cleanmgr.exe /d C: /sagerun:51 will clean only "Downloaded Program Files".
- Your config is now saved in the registry, and identified by the label :50.
How to automate Disk Cleanup
- Start, All Programs
- Accessories, System Tools
- Scheduled Tasks
- Add Scheduled Task
- Next
- Disk Cleanup, Next
- Type a name for the task, e.g. "Disk Cleanup".
- Select how often to run
- Next
- Configure Start time
- Check day(s)
- Next
- Enter password, and re-type password.
- Next
- Check Open advanced properties
- Finish
- Under Run:, enter one of the above configs, e.g. "C:\WINDOWS\system32\cleanmgr.exe /sagerun:50"
- Enter password again if asked.
- Create a Scheduled Task as above.
- Under Run:, enter C:\WINDOWS\system32\defrag.exe C:.
- C: is the drive to defrag.
- C: is the drive to defrag.
How to automate System reboot
- Create a Scheduled Task as above.
- Under Run:, enter C:\WINDOWS\system32\shutdown.exe -r -t 01.
- Create a scheduled task to clean up temp files at 12:30 am.
- Then another scheduled task to defrag at 3:00 am.
- Finally, a scheduled task to reboot the machine at 8:00 am.
Doing this will give
you a fresh machine to work with each morning. Although a daily defrag
may be overkill. Personally, I clean up temp files daily, then reboot.
I do Defrag once a week.
Detect and repair disk errors
In addition to running Disk Cleanup and Disk Defragmenter to optimize the performance of your computer, you can check the integrity of the files stored on your hard disk by running the Error Checking utility.
As you use your hard drive, it can develop bad sectors. Bad sectors slow down hard disk performance and sometimes make data writing (such as file saving) difficult, or even impossible. The Error Checking utility scans the hard drive for bad sectors, and scans for file system errors to see whether certain files or folders are misplaced.
If you use your computer daily, you should run this utility once a week to help prevent data loss.
To run the Error Checking utility:
- Click Start, and then click My Computer.
- In the My Computer window, right-click the hard disk you want to search for bad sectors, and then click Properties.
- In the Properties dialog box, click the Tools tab.
- Click the Check Now button.
- In the Check Disk dialog box, select the Scan for and attempt recovery of bad sectors check box, and then click Start.
- If bad sectors are found, choose to fix them.
Speed Up Processing Time
- Turning off the fancy Windows XP graphics will noticeably increase the speed of your computer.
- Go to Start, (Settings), Control Panel, System. NOTE: You may need to 'Switch to Classic Mode' to see the System applet.
- Go to the Advanced tab. Click the Settings button under Performance.
- Select the 'Adjust for best performance' radio button, then Apply, and OK.
- The graphics aren't as flashy, but your computer will run a lot faster.
Windows by default is configured to wait 30 seconds before bootup. You can cut this wait time down for a faster boot as follows:
- Click Start, then Run.
- Type in 'msconfig' and press enter.
- Click on the BOOT.INI tab at the top.
- Over to the right there will be a box labeled Timeout with 30 in it. Change the 30 to a 3.
THANKS, Richard!!!
No comments:
Post a Comment