07-12-2017 12:09 AM
BiosConfigurationUtility Version: 220.127.116.11
HPQPSWD64.exe version : 18.104.22.168
Generating a password which contains quote characters with silent mode of HPQPSWD64.exe doesn't generate correct password file which can be used by BiosConfigUtility64.exe
Generating a password file from HPQPSWD64 GUI works perfectly fine with BiosConfigUtility64. But the BiosConfigUtility command throws an error when the password file is generated with HPQPSWD64 command line.
If the BIOS password is --> password" ('password' followed by a double quote)
Command line tried before passing it to BiosConfigurationUtility:
HPQPSWD64.exe /s /p"password\"" /f"password.bin"
HPQPSWD64.exe /s /p"password""" /f"password.bin"
HPQPSWD64.exe /s /ppassword\" /f"password.bin"
Any of the generated files above when passed to BiosConfigurationUtility gives the following error:
<BIOSCONFIG Version="" Computername="MININT-SRDE79K" Date="2017/07/12" Time="11:33:59" UTC="-8">
<SUCCESS msg="Successfully read password from file" />
<ERROR msg="Unable to process command. Password is set, but password provided is invalid" />
<ERROR msg="BCU return value" real="10" translated="10" />
Does HPQPSWD64 expect us to escape quote chars in a different way?
03-28-2018 03:27 AM
The error is due to quotes not being allowed in bios password.
03-28-2018 04:29 AM
Welcome to HP Forums
The HP Bios config utility version used is slightly older
Use the latest version -22.214.171.124
Also , make sure the encrypted .bin file is save in another location other than the BIOS config utility folder
Save it to desktop or any other location but make sure that when this command is used , the complete path of the location of the .bin is mentioned
I have given an example of command used locally
BIOSConfigUtility.exe /nspwdfile: C:/users/......./new password.bin
Please click the 'Thumbs up' button to say Thanks
Click 'Accept as Solution' ,if it solves your problem