• ×
    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
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
HP Prodesk 600 G1 and above, PowerShell
Microsoft Windows 10 (64-bit)

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

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† 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>.