texhex / BiosSledgehammer

Automated BIOS, ME, TPM firmware update and BIOS settings for HP devices
Apache License 2.0
127 stars 16 forks source link

The files "Asset Tracking Number.txt" and "Universally Unique Identifier (UUID).txt" appear #11

Closed texhex closed 7 years ago

texhex commented 7 years ago

When running BIOS Sledgehammer, the above mentioned files suddenly appear in the working directory.

This comes from the fact that HP has changed the meaning of the BCU parameter /GetValue in 4.0.21:

VERSION: 4.0.21.1 REV: A PASS: 1
ENHANCEMENTS:
- Supports single value get (/getvalue) and save it to a file

(https://ftp.hp.com/pub/softpaq/sp79501-80000/sp79520.html)

BCU version 4.0.18 does not have this strange behavior.

To get around it, we might need to switch the current location with Set-Location to TEMP before running the command (see https://msdn.microsoft.com/en-us/powershell/scripting/getting-started/cookbooks/managing-current-location)

texhex commented 7 years ago

Changed in v3.0.3. Closing issue.