How to Remove Bad Sector from Hard Disk Drive in Windows

In the last tutorial, we discussed about how to set dirty bit. In this tutorial we will discuss on how to remove dirty bit from a hard disk partition in windows.

First of all let us discuss what exactly is a dirty bit – A Dirty bit is a bad sector on your hard disk drive. This bad sector can never recover. You might think that by running some disc scanning utilities, you might have removed the dirty bit but the answer is that you have not repaired it instead you tell your operating system to never access that sector for storage.

To Remove a Bad Sector from your windows hard drive partition, you have 2 known methods. In this tutorial we will discuss both the methods. What ever method you use, eventually you are using the utility chkdsk only. CHSDSK is the only utility in all versions of windows through which you can remove hard disk bad sectors. CHKDSK can be run via 2 methods Graphical and Command Line.

To run the graphical method you will need to go to your hard disk partition properties and then run Disk Scanning.

To run the Command Line method you will need to run the following command in the windows command prompt.

go to bios and change a boot device polarity and select boot from c d
and then insert a windows os cd and lunch a setup
after copying systems files select a repair option and repair your os
Thats all . after completing in repair option log in your windows ..

Seems to be some confusion here. Dirty bit is a flag that is set to initiate a disk check. It is set on by various triggers such as removal of external drive unsafely. Read/write error. And other similar situations. Bad sector is different. This is a part of the drive that is considered unreliable or damaged. The system will transparently mark it out of service. If the dirty flag has been set, next boot or inserting a removable drive, it will offer to be scanned for errors.