In addition to system and admin passwords, hard drive password adds a security layer to the computers to prevent unauthorized access to the hard drive. If the hard drive password is set, then computer generates the hard drive password prompt and verifies the hard drive password during boot.
UEFI BIOS supports the Secure Erase feature in order to provide more security to the data stored in the hard drive. If this feature is enabled on your hard drive, Secure Erase wipes all data from the hard disk when it is unlocked using the master password. While setting the hard drive password, the computer prompts to enable the support for a Secure Erase feature.
After clicking yes, the computer again prompts for confirmation of enabling the support for a Secure Erase feature.
Master hard drive password is used to clear the hard drive password in case the hard drive password is set but unknown. The master hard drive password is a secure password generated by Dell using secure algorithms involving the hard drive serial number. Master hard drive password can be entered at the hard drive password prompt using CTRL + Enter. Master hard drive Passwords are only given on a needed basis to customers and others.
Configuring hard drive password You can set, modify, and clear hard drive password using Dell Command | PowerShell Provider (DCPP). You can also verify whether the computer has hard drive password set, Secure Erase feature support, and so forth, using HDDInfo
. To know more about installing and configuring the Dell Command | PowerShell Provider module on your computer, reference the Download and Installation section in the user guide.
HDDInfo
provides the information about hard disks present in the machine. It displays the following information:To get this information using Dell Command | PowerShell provider, run the following command:
Get-Item -Path DellSmbios:\Security\HDDInfo | Select -ExpandProperty CurrentValue
In the image above, no password is set for both hard disks and other fields are also showing No.
A hard drive password contains a minimum 1 and a maximum 32 characters. To set the password, use the following command:
Set-Item -Path DellSmbios:\Security\HDDPassword "$HDDPwd"
As we can see from the image above, pending restart for both the hard disks is showing Yes. Restart the computer to apply the changes. The computer prompts during boot as shown below, after restarting.
To apply the change or to configure the hard drive password, click Modify. Click Ignore to cancel the changes. The computer prompts for each hard disk separately. If you click Modify, HDDInfo
displays the information as shown in the image below.
If the admin password is set,
Set-Item -Path DellSmbios:\Security\HDDPassword "$HDDPwd" -Password "$AdminPwd"
If the computer password is set,
Set-Item -Path DellSmbios:\Security\HDDPassword "$HDDPwd" -Password "$SystemPwd"
To modify the hard drive password, run the following command:
Set-Item -Path DellSmbios:\Security\HDDPassword "$NewHDDPwd" -Password "$OldHDDPwd"
To clear hard drive password, run the following command:
Set-Item -Path DellSmbios:\Security\HDDPassword "" -Password "$OldHDDPwd"
Other Parameters of hard drive password
Dell Command | PowerShell Provider supports two additional parameters to configure the hard drive password.
Set-Item -Path DellSmbios:\Security\HDDPassword "$HDDPwd" -AdminPassword "$AdminPwd"
Set-Item -Path DellSmbios:\Security\HDDPassword "$HDDPwd" -ATAMaximumSecurityMode "1"
Related Articles: