- Community Home
- >
- Welcome
- >
- Other HPE Product Questions
- >
- Re: Powershell script failed for resetting BIOS pa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2020 12:13 AM
тАО02-25-2020 12:13 AM
Powershell script failed for resetting BIOS password on newer HP desktops
Hi guys,
The following script works perfectly on the older HP business pro machines such as HP 7900, 8100, 8300 desktops.
$Bios = Get-WmiObject -class HP_BIOSSettingInterface -Namespace "root\HP\InstrumentedBIOS" -ComputerName "xxx"
$Bios.SetBIOSSetting('Setup Password', '<utf-16/>test', '<utf-16/> ')
However, the script is unsuccessful with the newer machines such as HP Prodesk 600 G1, G2, G3, here is the output from the script.
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Return : 32768 (Failure)
PSComputerName :
So, kindly help me on this matter.
Faraz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2020 10:02 PM
тАО02-25-2020 10:02 PM
Re: Powershell script failed for resetting BIOS password on newer HP desktops
Hi @fraz_pk ,
You have reached the wrong company for HP products.
This community is for customers and friends of Hewlett Packard Enterprise, which is an independent company.
For HP products, you may have to register and post in the HP Support Forums: https://h30434.www3.hp.com/ or Please visit www.hp.com.
Thanks,
Parvez_Admin
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2020 09:12 PM
тАО02-26-2020 09:12 PM
Re: Powershell script failed for resetting BIOS password on newer HP desktops
Ops, my apologies! and thanks for the direction.
Faraz