Defrag+Make+Windows+do+it+for+You

Defrag Make Windows do it for You

Also Check your disc

Scheduling a task to handle this chore automatically at regular intervals takes only a few minutes. First, to check your disk manually, click Start, Run (or press Windows-R) to open the command line, type :- cmd.exe /c echo y|chkdsk c: /f /x, and press Enter.

'Cmd.exe' is the command processor, which opens a command-prompt window in Windows.

The '/c' switch tells the command prompt to run the commands that follow, including the all-important chkdsk utility, which examines your drive for errors. (Change '/c' to /k if you want the command-prompt window to remain open so you can see any screen messages that might appear.)

In this example, you are checking the C: drive with the fix (/f) function and telling it to lock out the disk (/x) if necessary while the scan takes place.

(Your drive letter and switches may differ; type chkdsk /? at a command prompt to see all your choices.)

If you're checking the Windows drive, the command won't work while Windows is running but will schedule a check for the next time you restart your system. That's where the 'echo y|' portion comes in: it sends a "yes" answer to approve this option.

To automate disk checking in XP, choose :- Start > All Programs > Accessories. System Tools > Scheduled Tasks. Double-click Add Scheduled Task to start the Scheduled Task Wizard, and click Next.

In the Application list, select Command Prompt and click Next. If you don't see an entry for Command Prompt in the list, click Browse, find and select the file 'cmd.exe' in Windows' System32 folder, and click Open.

Choose a time interval (Monthly is a good choice) and click Next. Specify the time, day, and months, and click Next again. Enter the account name and password that you use for logging in, and click Next once more.

Check Open advanced properties for this task when you click Finish, and then click Finish. With the Task tab selected, edit the text in the Run box so that it reads: c:\windows\system32\cmd.exe /c echo y|chkdsk c: /f /x (your path and options may differ).

Click OK, and enter your account name and password again. Finally, click OK one more time (you may be asked to confirm your log-in ID and password once more).

Apart from the above at the same time do the following:-

Make Windows do the disk-defragmenting.

In XP, follow the same steps as in Automate Your Disk Checking to create a Scheduled Task, but when editing the command line in Advanced Properties, change it to:- cmd.exe /c defrag c: -f -v > "c:\doc\report.txt" (your switches and the path to your report file may be different).

In Vista, follow the same steps as in 'Automate Your Disk Checking', but change the text in the 'Add arguments (optional)' box to:- /c defrag -c -f -v -w > "c:\doc\report.txt" (your switches and report path may differ).

Please post your comments in :- Queries and Comments

To print off for your Crib Sheet:- Copy and Paste to Word.doc then Print  