This commit is contained in:
crt 2024-04-02 14:44:49 +02:00
parent 7052ef5e7d
commit 1fe4abac30
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ for %%a in (!charset!) do (
"!HPQPswdPath!" /p"!pass!" /f"!EncryptedPasswordFile!" "!HPQPswdPath!" /p"!pass!" /f"!EncryptedPasswordFile!"
REM Attempt to reset the BIOS password using the current password REM Attempt to reset the BIOS password using the current password
"!BiosConfigUtilityPath!" /cpwdfile:"!EncryptedPasswordFile!" /nowdfile:"" "!BiosConfigUtilityPath!" /cpwdfile:"!EncryptedPasswordFile!" /npwdfile:""
REM Optionally check for success and break the loop if succeeded REM Optionally check for success and break the loop if succeeded
REM This would depend on the output of BiosConfigUtility.exe indicating success REM This would depend on the output of BiosConfigUtility.exe indicating success

View File

@ -17,7 +17,7 @@ for /F "tokens=*" %%p in (%PasswordListFile%) do (
"%HPQPswdPath%" /p"%%p" /f"%EncryptedPasswordFile%" "%HPQPswdPath%" /p"%%p" /f"%EncryptedPasswordFile%"
REM Attempt to reset the BIOS password using the current password REM Attempt to reset the BIOS password using the current password
"%BiosConfigUtilityPath%" /cpwdfile:"%EncryptedPasswordFile%" /nowdfile:"" "%BiosConfigUtilityPath%" /cpwdfile:"%EncryptedPasswordFile%" /npwdfile:""
REM Optionally check for success and break the loop if succeeded REM Optionally check for success and break the loop if succeeded
REM This would depend on the output of BiosConfigUtility.exe indicating success REM This would depend on the output of BiosConfigUtility.exe indicating success