Data recovery and disk repair questions and discussions related to old-fashioned SATA, SAS, SCSI, IDE, MFM hard drives - any type of storage device that has moving parts
Post a reply

Unlock USB drive (WD My Book Essential Edition 2)

February 5th, 2011, 20:36

Hey,

I have a WD My Book Essential Edition 2 WD5000H1U-00 (http://support.wdc.com/product/install.asp?groupid=110&lang=en) and wanted to run an ATA security erase. For that purpose I started hdparm 9.37:
Code:
hdparm --user-master u --security-set-pass asdf /dev/sdb

Code:
hdparm --user-master u --security-erase-enhanced asdf /dev/sdb

The first command worked but the second one to start the security erase showed an error message. So I tried
Code:
hdparm --user-master u --security-erase asdf /dev/sdb
but this doesn't work either. So I gave up and wanted to unlock the drive:
Code:
hdparm --user-master u --security-unlock asdf /dev/sdb
The output was:
Code:
security_password="asdf"

/dev/sdb:
Issuing SECURITY_UNLOCK command, password="asdf", user=user
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
SECURITY_UNLOCK: Invalid argument


Do you know how to unlock the drive? I think the problem is that the USB controller does not pass the unlock and security erase commands to the hard drive. I don't want to dismantle the hard drive to connect it directly because I don't want to damage the enclosure.

I've attached the output of
Code:
hdparm -I /dev/sdb
Attachments
hdparm.txt
Output of hdparm -I /dev/sdb
(2.84 KiB) Downloaded 501 times

Re: Unlock USB drive (WD My Book Essential Edition 2)

February 6th, 2011, 12:56

Hey,

I disassembled the HDD and connected it directly to the SATA port. Unlock fails in hdparm and MHDD. How can I reset the password? There is no important data on the drive.
Post a reply