Hi i have a dell Optiplex F160 and the hard disk is locked and i do not know what the user or master password is. Does anyone know what i can do to unlock this drive or somehow reformat it?
thanks

actually nevermind i just unlocked it..

My pc hard drive is not working, I want to change it temporary basis. Is it possible and when it is possible.

My pc hard drive is not working, I want to change it temporary basis. Is it possible and when it is possible.

What do you mean by change it to temporary basis? Do you want to replace it with a new one?

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:

Lock the C: drive

When typing the above command you will receive the below 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:

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, cannot continue because the hard disk drive is locked, that using the unlock command will resolve this issue.

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.