Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Command PowerShell 提供者 BIOS 密碼功能

Summary: 瞭解如何使用 PowerShell Provider BIOS 密碼功能。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

受影響的產品:

  • Dell Command | PowerShell Provider

整合可延伸韌體介面 (UEFI) BIOS 支援多種類型的 BIOS 密碼,可為 Dell 電腦提供不同等級的安全性。經常會使用管理員 (設定) 密碼和系統 (使用者) 密碼,兩者都有其獨特的安全性用途。

管理員密碼

管理員密碼可鎖定所有 BIOS 功能和設定,以確保安全性。使用者可開機並查看 BIOS 設定,但除非為電腦提供正確的管理員密碼,否則無法修改這些設定。

注意:設定管理員密碼後,無法修改除了「系統密碼」、「硬碟密碼」和「無線交換器」之外的任何 BIOS 設定。

系統密碼

系統密碼可防止使用者啟動電腦,藉此提供安全性。除非提供正確的系統密碼,否則使用者將無法看到開機功能表 (F2F12)。一旦將密碼提供給電腦,即可修改 BIOS 設定選項。若機器上也已設定管理員密碼,則也必須提供管理員密碼才能修改 BIOS 設定。

使用 Dell Command | PowerShell Provider (DCPP) 配置 BIOS 密碼

Dell Command | PowerShell Provider 可用來設定管理員密碼和系統密碼。使用者可以設定、修改和清除這些密碼。使用者也可以確認是否已設定密碼。如需深入瞭解如何在您的電腦上安裝和配置 Dell Command | PowerShell Provider 模組,請參閱使用者指南中的「下載與安裝」一節。若要下載使用者指南,請按一下 Dell Command | Powershell Provider 說明文件

驗證管理員/系統密碼

使用者可以使用 Dell Command | PowerShell Provider 確認 Dell 機器是否已設定管理員或系統密碼。若要進行驗證,請執行下列命令:

  • Get-Item -Path DellSmbios:\Security\IsAdminPasswordSet
  • Get-Item -Path DellSmbios:\Security\IsSystemPasswordSet

這兩個命令會根據機器上是否已設定各個密碼,輸出是或否的結果。

IsAdminPasswordSet
圖 1:(僅限英文版) IsAdminPasswordSet

設定管理員/系統密碼

管理員和系統密碼的長度皆為最少 4 個字元,最多 32 個字元。若要設定密碼,請使用下列命令。

  • Set-Item -Path DellSmbios:\Security\AdminPassword "$AdminPwd"
  • Set-Item -Path DellSmbios:\Security\SystemPassword "$SystemPwd"

AdminPassword
圖 2:(僅限英文版) AdminPassword

注意:如果電腦已設定管理員密碼,且使用者想要設定系統密碼,請使用下列命令提供管理員密碼:
Set-Item -Path DellSmbios:\Security\SystemPassword "$SystemPwd" -Password "$AdminPwd"

修改管理員/系統密碼

若要使用 DCPP 修改管理員或系統密碼,請執行下列命令:

  • Set-Item -Path DellSmbios:\Security\AdminPassword "$NewAdminPwd" -Password "$OldAdminPwd"
  • Set-Item -Path DellSmbios:\Security\SystemPassword "$NewSystemPwd" -Password "$OldSystemPwd"

PS AdminPassword (變更密碼)
圖 3:(僅限英文版) PS AdminPassword (變更密碼)

清除管理員/系統密碼

若要使用 DCPP 修改密碼,請執行下列命令:

  • Set-Item -Path DellSmbios:\Security\AdminPassword "" -Password "$OldAdminPwd"
  • Set-Item -Path DellSmbios:\Security\SystemPassword "" -Password "$OldSystemPwd"

Security AdminPassword (清除密碼)
圖 4:(僅限英文版) Security AdminPassword (清除密碼)

注意:
  • 如果已在電腦上設定系統或硬碟密碼,則無法設定管理員密碼。
  • 如果電腦處於舊版開機模式,所有 UEFI 開機路徑都需要管理員密碼,但如果電腦處於 UEFI 開機模式,則 UEFI 開機路徑不需要管理員密碼。
  • 清除管理員密碼也會清除系統密碼。

其他 BIOS 功能的相依性

強式密碼

強式密碼會將規則套用至管理員密碼和系統密碼。啟用強式密碼功能時,系統管理員密碼和系統密碼需要:

  • 至少八個字元
  • 必須包含至少一個大寫和一個小寫字元。

若要使用 DCPP 啟用或停用此設定,請執行下列命令:

  • Set-Item -Path DellSmbios:\Security\StrongPassword "Enabled"
  • Set-Item -Path DellSmbios:\Security\StrongPassword "Disabled"

StrongPassword
圖 5:(僅限英文版) StrongPassword

略過密碼

此 BIOS 設定可讓您在電腦重新開機或從待機狀態恢復時略過系統密碼。如果已停用「略過密碼」功能且已設定系統密碼,則電腦會在每次重新開機或從待機狀態恢復時要求輸入系統密碼。

  • 停用 - 如果已停用「略過密碼」功能,且已設定系統密碼,則電腦會在每次重新開機或從待機狀態恢復時要求輸入系統密碼。
  • 重新開機略過 - 電腦重新開機時,不會要求輸入系統密碼。
  • 恢復略過 - 電腦從待機狀態恢復時,不會要求輸入系統密碼。
  • 重新開機和恢復略過 - 電腦重新開機或從待機狀態恢復時,不會要求輸入系統密碼。

若要使用 DCPP 修改這些設定,請執行下列命令:

  • Set-Item -Path DellSmbios:\Security\PasswordBypass "Disabled"
  • Set-Item -Path DellSmbios:\Security\PasswordBypass "Reboot Bypass"
  • Set-Item -Path DellSmbios:\Security\PasswordBypass "Resume Bypass"
  • Set-Item -Path DellSmbios:\Security\PasswordBypass "Reboot and Resume Bypass"

PasswordBypass
圖 6:(僅限英文版) PasswordBypass

管理員設定鎖定

如果您的機器上已設定管理員密碼,使用者可在鎖定模式中檢視 BIOS 設定功能表 (F2/F12)。只有在使用者想要修改 BIOS 設定時,才需要管理員密碼。「管理員設定鎖定」功能可為電腦提供更多安全性。如果已啟用「管理員設定鎖定」且已設定管理員密碼,在使用者提供正確的管理員密碼之前,將無法檢視 BIOS 設定功能表 (F2/F12)。

若要使用 DCPP 啟用或停用此設定,請執行下列命令:

  • Set-Item -Path DellSmbios:\Security\AdminSetupLockout "Enabled">
  • Set-Item -Path DellSmbios:\Security\ AdminSetupLockout "Disabled">

AdminSetupLockout
圖 7:(僅限英文版) AdminSetupLockout

Additional Information

Article Properties


Affected Product

Dell Command | Powershell Provider

Last Published Date

10 Jan 2024

Version

11

Article Type

How To