• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
HP EliteDesk 800 G5 SFF
Microsoft Windows 10 (64-bit)

Hello, I am trying to set my bios password through powershell as a test in order to deploy this for multiple computers in our organization.

 

My computer is a HP EliteDesk 800 G5 SFF

 

#Sets BIOS password
$passChange= Get-WMIObject -Namespace root\hp\instrumentedBIOS -Class HP_BIOSSettingInterface -ComputerName $env:computername
$passChange.SetBIOSSetting('Setup Password', '<utf-16/> + Password')

 

I am getting the following returned when I run it:

__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Return : 5
PSComputerName :

1 REPLY 1
HP Recommended

Thank you for visiting the HP Support Community.

 

According to the Community's Rules of Participation:

 

4d. No posts shall include instructions or directions intended to bypass or subvert security measures, including passwords, locking mechanisms, fingerprint scans, etc., or to bypass any safety measures.

 

Therefore, this topic is being locked. If you would like help resetting the password on your product, please Contact HP support in your region. 

 

Regards,

MayS. 

I work on behalf of HP
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.