同時按 下 鍵以開啟電源使用者選單。從選項清單中,選取以系統管理員開啟命令提示。
PS C:\temp> (dir dellsmbios:\security\hddinfo | select -ExpandProperty currentvalue).PwdProtected
No
PS C:\temp>
C:\Program Files (x86)\Dell\Command Configure\X86_64>cctk --hddinfo
HDD Information in the current system.
--------------------------------------------
Index : 0
HDD Name: Internal- SN: W3N0FRH7
Present: Yes
Pwd-Protected: No
Pending-Restart: No
Admin-only-change: No
-------------------------------------------
(硬碟密碼存在)
C:\dell\DCC\X86_64>cctk --hddpwd=
The HDD 0 is password protected. Provide the password.
C:\dell\DCC\X86_64>
(沒有硬碟密碼)
C:\dell\DCC\x86_64>cctk --hddpwd=
HDD password cannot be cleared as the HDD is not password protected.
C:\dell\DCC\X86_64>
檢查您的安裝基座時,您可以將這些工具的回應納入腳本,以檢查是否存在硬碟密碼。