A customer brought a Dell Latitude C840 to me saying he could not get into it. I booted it up only to come across a screen that said that hard drive had a password on it. When I told him about it he said he had gotten it used. The service tag is 1x30y11-595B. Can anyone help?

Dani AI

Generated

Short, practical notes for anyone who runs into a hard‑drive password on a used laptop.

A drive password at the ATA level is stored in the drive’s firmware (the ATA Security Feature Set). It prevents the drive from revealing data until unlocked and survives removal from the laptop. That is why attempts to reset the motherboard or swap the drive into another machine usually do not remove the lock. For a concise technical reference see the ATA Secure Erase overview: ATA Secure Erase.

If the original password is available, the normal tools are the safest route. On Linux the first diagnostic is to check the drive security state and then use the drive’s unlock or secure‑erase commands (these commands will destroy data if you use erase). Typical hdparm checks look like:

sudo hdparm -I /dev/sdX | grep -i security

# unlock if you know the password
sudo hdparm --user-master u --security-unlock 'PASSWORD' /dev/sdX

# or securely erase (destroys data)
sudo hdparm --user-master u --security-erase 'PASSWORD' /dev/sdX

Read the hdparm manual before using these commands: hdparm manual. Do not attempt an erase if the data must be saved.

If the password is unknown there are three realistic paths: (1) provide proof of ownership to the drive/manufacturer and ask if they will assist (many vendors will not unlock drives even for owners), (2) engage a professional data‑recovery/forensics lab that can perform vendor‑level or chip‑off recovery, or (3) replace the drive and reinstall the OS if data is not required. Professional recovery is costly and not guaranteed. This echoes the practical points raised by and : resets are worth trying but replacement is often the fastest solution when recovery is not essential.

For future purchases of used laptops: insist the seller boots to BIOS and removes any HDD/Bios passwords in front of you, or supply a drive that you can test immediately. Also document ownership if you expect vendor assistance.

Recommended Answers

All 3 Replies

Is there any way of reseting the H/D or Motherboard? I would try this first. Failing this I would call Dell

I had a hard drive with a password come into my shop a few years ago. Spent way too much time looking for a solution that apparently doesn't exist. Finally called and informed him that he would need a new HD. He agreed quickly and all lived happily ever after. Some problems can tie you up so long that you can't make any money on the job even though the customer is pleased.

You're exactly right. It DID take too much time to resolve and I ended up swapping out the hard drive in the end anyway.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.