ATATool
# ATATool

ATATool is freeware software that is used to display and modify ATA disk information from a Microsoft Windows environment. The software is typically used to manage host protected area (HPA) and device configuration overlay (DCO) features and is broadly similar to the hdparm for Linux. The software can also be used to generate and sometimes repair bad sectors. Recent versions include support for DCO restore and freeze operations, HPA security (password) operations and simulated bad sectors.

## Usage examples

ATATool must be run with administrator privileges. On Windows Vista and later it requires an elevated-privileges command prompt (see User Account Control). The target drive must be connected to a physical disk controller. The software cannot be used via a USB bridge or similar device.

Display detected hard disks:

Display information on hard disk 1:

Set HPA to 10GB on hard disk 1 (volatile – will be lost on next power cycle):

Set HPA to 10GB on hard disk 1 (non-volatile):

Remove HPA to 10GB on hard disk 1 (non-volatile):

Set DCO to 5GB on hard disk 1:

Remove DCO on hard disk 1:

Make sector 10 bad:

Make sector 10 not bad:

Make sector 10 bad and then not bad again (alternative method):

## Data safety

Use of the ATATool can permanently change the disk configuration, may result in permanent data loss by making some sectors of the disk inaccessible. The tool should therefore be used with extreme care.

