Monday, September 8, 2008

Windows XP chkdsk

Windows XP chkdsk is a tool available for you in Windows. Everyone should run it from time to time because it can prevent your computer from becoming unstable.

There are different reasons why the data on your hard disk can become corrupt. Windows keeps "meta-data" about each file and every directory on your hard drive in a Master File Table (MFT).

Meta-data is data about the data. Windows needs it to physically locate your files on the hard drive, to know about user access rights for each file and so on.

In some cases, the information in the MFT can become corrupt. This can be the case when your computer experiences a sudden power cut or a system hang. To make things even worse, your hard disk may show signs of wear over time and some sectors may become unreadable.

Windows XP chkdsk is the tool to handle these situations. It can fix logical errors on your hard disk and it can detect bad sectors and flag them so that Windows no longer uses them.

It's a valuable tool, but it has a disadvantage …

… checking and fixing an entire hard disk is a tough job, so chkdsk can take a considerable amount of TIME under certain conditions.

The time needed for chkdsk to run is very hard to predict because it depends on many factors :

  • Overall speed of your pc
  • Number of files and directories on the disk
  • Size of the disk
  • Amount of RAM
  • ...

A gigantic disk with 2 extremely large files will take considerably less time to check than a small disk with 2 million tiny files, but so many other factors are to be considered … never easy to tell.

Windows XP chkdsk wants exclusive access to the computer

Schedule to run chkdsk at a time when you don't need your computer. In most cases chkdsk wants to restart your computer and during the time that it runs, you won't have access to your computer. You can always interrupt chkdsk during its work, but this is certainly not recommended.

How to use Windows XP chkdsk

  • Click the start button
  • Right-click "My Computer" and select "Explore"
  • Right-click the disk you want to check and select "Properties"
  • In the properties dialog click the tab "Tools"
  • Click "check now"
  • The "checking disk" dialog appears, check both options and click start
  • You will probably see a message that chkdsk wants exclusive access to the disk and therefore wants to begin first thing after you restart your computer. Accept by clicking ok.
  • Restart your computer

When your computer restarts you will see chkdsk advancing through several different stages of verification, examining your hard disk. If it detects no errors, Windows will continue to start to your normal desktop. If there are errors, chkdsk presents a report with what it has done and waits for your confirmation.

Windows XP chkdsk

Windows XP chkdsk at work ...

Why not schedule chkdsk to run while you sleep ?

Note : To schedule a Windows XP chkdsk task with task scheduler you need a Windows administrator account with a non-blank password.

  • In Explorer, navigate to c:\program files
  • If you see a message that this is a folder with hidden files, just click the link to show the files
  • Right-click an empty area in the right part of the Explorer window and select new -> text document
  • Windows creates a file named New Text Document.txt
  • Rename the file to "Restart and perform chkdsk.bat" (without the quotes)
  • Windows warns about changing the filename extension : click yes
  • Right-click your newly created file and select "edit"
  • Windows opens the new blank file in your default text editor : type the following lines and make sure not to press the enter key after the last line

Windows XP chkdsk

  • Save the file and close your text editor
  • Close all other programs except the Eplorer window where the newly created file is listed
  • Double-click the new file and see what happens (don't touch anything from this point on until your computer is ready with chkdsk

Now that you know that your batch file is working it's time to automatically schedule it.

  • Click start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks
  • In the Scheduled Tasks window, double-click "Add Scheduled Task"
  • Click next
  • Click browse
  • Navigate to the Restart and perform chkdsk.bat file that you created in the previous step and click "open"
  • Choose the frequency for this task (monthly would be a good minimum)
  • Enter the day and time to perform the task
  • Enter the (administrator) username and non-blank password (must be non-blank or the task won't run). Be careful to enter the password correctly because Windows doesn't verify it here.
  • Click next and then click finish

Your full-automatic Windows XP chkdsk task is now ready !


Windows XP System Restore

Windows XP System Restore is a very powerful feature that can save you lots of time and frustration.

  • Create a restore point before you install new software
  • Flashback your computer directly to a restore point
  • Use your computer's last known good configuration
  • Remark : Windows XP System Restore is pretty powerful, but it is not a replacement for a backup program. It doesn't make backup copies of your files, you still need to do this yourself.

    It does save important information about Windows system files, registry settings, and settings for different users on your pc. That makes Windows XP System Restore a pretty clever tool, providing capabilities to get your digital life back on track when something goes terribly wrong.

    When Windows XP System Restore is activated on your pc (we'll see how to do that in a minute), it creates system restore points automatically :

  • When you install new software (provided that the software behaves properly and warns Windows about its presence)
  • When you install a Windows patch, security update or service pack
  • When you install a non-signed driver
  • Before you restore to a previous restore point
  • Once a day

You can also initiate a manual restore point creation.

Windows XP System Restore for you ?

Suppose you want to install a piece of free software that came with a box of breakfast cereals. Generally not the best idea to keep your computer in good shape, so you manually create a system restore point before the install.

You need to have System Restore turned on on your computer to be able to do this.

To Turn on System Restore

Click start -> All Programs -> Accessories -> System Tools -> System Restore.

If System Restore was turned of on your computer, you will see the following dialog :

Turn on System Restore

If Windows shows you the System Restore wizard screen instead of the above image ...

... STOP ! You already have it enabled on your computer. Else ...

... click yes to enable it. Windows shows this screen :

Turn on System Restore

Make sure to UN-check the check box that says "Turn of System Restore on all drives" and click ok.

That's all ! The next time you launch System Restore, you will see the "Welcome to System Restore" wizard.

Now that you have System Restore enabled, you want to manually create a System Restore Point :

Click start -> All Programs -> Accessories -> System Tools -> System Restore

The Windows XP System Restore wizard appears. Click the option "Create a Restore Point" and click next. The wizard wants a name for your restore point. Don't enter the date here, because Windows keeps track of Restore Point dates automatically. Rather enter something descriptive like "Pre-breakfast cereal software point".

When you have entered the Restore Point Description, click "create".

The wizard may take some time to complete the operation but soon you will see the "Restore Point Created" screen.

That's all there is to it, you just created a System Restore Point. Now you have a safety net available to install new software.

Windows keeps your restore point 90 days or until System Restore runs out of disk space, whichever comes first. The restore data needs to be stored on your hard disk and you can reserve up to 12% of the total capacity on your hard disk for System Restore information.

Use Windows XP System Restore to flash back your pc to a point in time when it was working fine

Suppose that you installed your piece of software and that it isn't what you expected after all. Maybe it even crashed or caused your computer to be instable. Wouldn't it be great if you could just restore your computer to a point back in time when it was still running fine ?

With Windows XP System Restore you can.

If you are restoring your computer because of trouble with a piece of software that you installed, always un-install the program before you run system restore. To do this, click Start -> Control Panel -> Add or Remove Programs and use the program uninstall button.

With that out of the way you are now ready to restore your computer. Note that mail messages, word documents, your internet explorer favorites and personal documents are preserved by system restore. You will still have them after you restored your computer to an earlier point in time.

Just click start -> All Programs -> Accessories -> System Tools -> System Restore

The System Restore wizard appears. Click the "Restore my computer to an earlier time" option and click next.

The System Restore wizard shows a calendar with earlier restore points. Choose a restore point where your computer didn't have problems and click next. The wizard shows the system restore confirmation screen, click next. When the operation is complete, Windows restarts and you will see a message that the system was restored. You can even undo the restoration if you want : if you start system restore a next time, you will see a new option "undo my last restoration".


Your Ad Here