How to unlock `WD My Passport Drive` on Linux

By default WD My Passport Drive supports only Windows and OS X. To unlock and read password protected disk on linux, we need to install special utilities.

Get utils for WD My Passport Drive

  1. Install required packages:
  2.  Install py_sg library:
  3.  Download wd utils to your home directory:
  4.  Everything is ready 😉

Unlock WD My Passport Drive

  1. Plug in your password protected drive.
  2. Run in terminal this command and enter password:

 

Change/create/remove password on WD My Passport Drive

  1. Plug in your drive.
  2. Run in terminal this command and enter password:

     

I ask you to review this article

Rating 4.7 Stars from 26 reviews

11 thoughts on “How to unlock `WD My Passport Drive` on Linux”

      1. hello again, the previous command worked but now its saying “Something wrong opening device “””.

  1. Thanks for the script, however I’m getting an error:

    [[email protected] ~]$ ./wdpassport-utils.py -u
    File “./wdpassport-utils.py”, line 13
    except ImportError\, e:
    ^
    SyntaxError: unexpected character after line continuation character

    I’m running Manjaro 17.1.11 (i3), Python 3.6.6, pip 10.0.1 from /usr/lib/python3.6/site-packages/pip (python 3.6)

    Any help really appreciated 🙂

    1. Hey Radial,
      How did you solved this error?
      $ ./wdpassport-utils.py -u
      File “./wdpassport-utils.py”, line 13
      except ImportError\, e:

      Thanks in advance,
      Jorge

  2. Works great ! Thank you very much 🙂

    I have encrypted the drive in Windows by utility from WD and I was able to unlock it by this script at Fedora 27.

  3. What about contacting WD if they want to include this into their official page ? I think many people would highly appreciate that and you could get some credit 🙂

    Good job !

  4. This worked for me:
    :~$ sudo python2.7 ~/wdpassport-utils.py -u
    WD Passport Ultra linux utility v0.1 by duke
    [+] Insert password to Unlock the device
    Password:
    [*] Device unlocked.

    Cheers,
    Jorge

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × three =