You need to open a command prompt window to unlock or lock the hard drive. In Windows, click the Start and enter cmd in the Search field, then press the Enter key.

The following commands only work in versions of Windows earlier than Windows XP. To lock or unlock a hard drive in Windows XP or later versions of Windows, use BitLocker or a third-party software program designed for locking and unlocking drives.

To unlock the hard drive

unlock x:

The x represents the letter of the hard drive that you want to unlock. For example, if you needed to unlock the C: drive, you would type unlock c:

To lock the hard drive

lock x:

The x represents the letter of the hard drive that you want to lock. For example, if you needed to lock the C: drive, you would type lock c: at the command prompt.

  • See our lock and unlock page for further information and related links on these commands.
  • Hard drive help and support.