Post new question
Posts: 1
Member Since: ‎07-11-2017
Message 1 of 1 (767 Views)

HPQPSWD64.exe doesn't create correct password file if the password has double quote characters (")

Product Name: HP EliteBook 840 G2
Operating System: Microsoft Windows 10 (64-bit)

BiosConfigurationUtility Version:

HPQPSWD64.exe version :



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? 

0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation