• ×
    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
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Microsoft Windows 10 (64-bit)

Trying to create a powershell script that will set my bios password.

 

#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 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

@joshnunez95 

We're not permitted, by forum policy, to provide any assistance on means of changing passwords.



I am a volunteer and I do not work for, nor represent, HP

View solution in original post

2 REPLIES 2
HP Recommended

@joshnunez95 

We're not permitted, by forum policy, to provide any assistance on means of changing passwords.



I am a volunteer and I do not work for, nor represent, HP
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,

 

MarcusC

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>.