How to lock or unlock the hard disk drive?

Question

How do I lock or unlock the hard disk drive?

Answer

This question was answered on April 13, 2003. Much of the information contained herein may have changed since posting.

SYNTAX

LOCK [drive:]

drive: Specifies the drive that needs to be locked

UNLOCK [drive:]

drive: Specifies the drive that needs to be unlocked

EXAMPLES

lock c: - This would lock the C: drive

When typing the above command you will receive the following prompt:

WARNING: The LOCK command enables direct access by programs

that can CORRUPT file names and/or DESTROY disk data, resulting in the

loss of files on your disk

Are you sure (Y/N)?

unlock c: - This would unlock the C: drive

It is important to know that if errors occur indicating that a process such as fdisk or a setup of a new program or operating system occur indicating that the process cannot continue because the hard disk drive is locked that using the unlock command will resolve this issue

Need Help with this Issue?

We help people with technology! It's what we do.
Schedule an Appointment with a location for help!

Author

Posted by olivia of Katharine Gibbs School - New York on April 13, 2003