Post new question
Question
Reply
 
Highlighted
Student
Posts: 1
Member Since: ‎07-11-2017
Message 1 of 1 (126 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: 4.0.21.1

HPQPSWD64.exe version :  1.1.27.1

 

Issue:

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" />
</BIOSCONFIG>

 

Does HPQPSWD64 expect us to escape quote chars in a different way? 

Reply
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