**********************
Windows PowerShell transcript start
Start time: 20180313155717
Username:
RunAs User:
Machine:
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\BiosSledgehammer.ps1 -WaitAtEnd -Verbose
Process ID: 13836
PSVersion: 5.1.14393.1944
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.1944
BuildVersion: 10.0.14393.1944
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcript started, output file is C:\WINDOWS\temp\BiosSledgehammer.ps1.log-04.txt
_
jgs ./ |
/ / BIOS Sledgehammer Version 3.4.0
/' / Copyright (c) 2015-2018 Michael 'Tex' Hex
/ /
/ \ https://github.com/texhex/BiosSledgehammer
| `\
| | ___________________
| |___________________...-------'''- - - =- - = - = `.
/| | \- = = - -= - = - =- = - =|
( | | |= -= - = - = - = - =--= = - = =|
\| |___________________/- = - -= =_- =_-=_- -=_=-=_=_= -|
| | ```-------...___________________.'
|________|
\ / This is *NOT* sponsored/endorsed by HP or Intel.
| | This is *NOT* an official HP or Intel tool.
,-' `-,
| | Use at your own risk.
`--------'
####################################################################
## THIS SCRIPT MIGHT ALTER YOUR FIRMWARE AND/OR BIOS SETTINGS ##
## ##
## You have 15 seconds to press CTRL+C to stop it. ##
####################################################################
Verifying environment...
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_ComputerSystem'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
Success
Verifying BIOS Configuration Utility (BCU) can communicate with BIOS.
Trying to read Universally Unique Identifier (UUID)...
VERBOSE: Reading BIOS setting using different setting names
VERBOSE: Trying using setting name [Universally Unique Identifier (UUID)]...
VERBOSE: Read BIOS value: Result from BCU =============
VERBOSE:
VERBOSE: ==============================================
VERBOSE: Value: 601B0CFD109EE711BD61700E7201C099
VERBOSE: Return code: 0
Success
Collecting system information...
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_ComputerSystem'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
Name.........:
Model........: HP EliteBook 840 G3
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_Bios'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Trying to parse BIOS data [N75 Ver. 01.24]
VERBOSE: BIOS Family: N75
VERBOSE: BIOS Version: 01.24
VERBOSE: BIOS Data parsed: True
BIOS (Raw)...: N75 Ver. 01.24
BIOS Family..: N75
BIOS Version.: 01.24 (Numerical: 1.24)
VERBOSE: Trying to get TPM data...
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2\Security\MicrosoftTpm,'className' = Win32_Tpm'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
TPM Vendor...: 1229346816
TPM Firmware.: 6.43 (Numerical: 6.43)
TPM Spec.....: 1.2 (Numerical: 1.2)
***** Locate Model Folder ***************************************
Searching [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models]
for [HP EliteBook 840 G3] ...
Searching for exactly matching folder for this model...
Matching folder: [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3]
Model folder is [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3]
Section -Model Folder- finished
*****************************************************************
***** Determine BIOS Password ***********************************
Testing BIOS passwords...
Reading BIOS setting [Asset Tracking Number]...
VERBOSE: Read BIOS value: Result from BCU =============
VERBOSE:
VERBOSE: ==============================================
VERBOSE: Value: 5CG7382XBD
VERBOSE: Return code: 0
Setting read: [5CG7382XBD]
Original Asset Tag [5CG7382XBD]
Asset Tag used for testing [oa7pvjhc3olo99]
Trying password file []
VERBOSE:
VERBOSE: Will not use a password file
VERBOSE: === BCU Result ===============================
VERBOSE:
VERBOSE: ==============================================
VERBOSE: Message: Unable to process command. Password is set, but password provided is invalid
VERBOSE: Change status: Unknown
VERBOSE: Return code: 10
VERBOSE: Return code text: Valid password not provided
Trying password file [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\PwdFiles\VF_default.bin]
VERBOSE:
VERBOSE: Using password file C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\PwdFiles\.bin
VERBOSE: === BCU Result ===============================
VERBOSE:
VERBOSE: ==============================================
VERBOSE: Message: No errors occurred
VERBOSE: Change status: pass
VERBOSE: Return code: 0
VERBOSE: Return code text: Success
Password file is [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\PwdFiles\.bin]!
Restoring old Asset Tag...
VERBOSE:
VERBOSE: Using password file C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\PwdFiles\.bin
VERBOSE: === BCU Result ===============================
VERBOSE:
VERBOSE: ==============================================
VERBOSE: Message: No errors occurred
VERBOSE: Change status: pass
VERBOSE: Return code: 0
VERBOSE: Return code text: Success
Section -Determine BIOS Password- finished
*****************************************************************
***** BIOS Update ***********************************************
Reading BIOS update information from [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3\BIOS-Update.txt]...
VERBOSE: Reading hashtable from C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3\BIOS-Update.txt
Current BIOS Version: 01.24 (Numerical: 1.24)
Desired BIOS Version: 1.24 (Numerical: 1.24)
BIOS update not required
Section -BIOS Update- finished
*****************************************************************
***** Management Engine (ME) Update *****************************
Checking if [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3\ME-VulnerabilityScan.txt] or
[C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3\ME-Update.txt] exist...
No ME setting file found, nothing to do
Section -ME Update- finished
*****************************************************************
***** TPM Update ************************************************
Reading TPM update information from [C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3\TPM-Update.txt]...
VERBOSE: Reading hashtable from C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\Models\HP EliteBook 840 G3\TPM-Update.txt
[Manufacturer] not defined in configuration file, will not check TPM manufacturer ID
Current TPM Spec: 1.2 (Numerical: 1.2)
Desired TPM Spec: 2.0 (Numerical: 2.0)
TPM Spec is lower than desired, update required
Current TPM firmware: 6.43 (Numerical: 6.43)
Desired TPM firmware: 7.62 (Numerical: 7.62)
Firmware version is lower than desired, update required
Update required result:
Update required because of TPM Spec....: True
Update required because of TPM firmware: True
TPM update required!
Searching firmware file entry for [6.43]...
Firmware file found:
[Firmware\TPM12_6.43.243.0_to_TPM20_7.62.3126.0.BIN]
Checking BitLocker status...
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root/CIMV2/Security/MicrosoftVolumeEncryption,'className' = Win32_EncryptableVolume'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Testing if system drive C: is BitLocker encrypted
Invoke-BitLockerDecryption : BitLocker Decryption error: You cannot call a method on a null-valued expression.
At C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\BiosSledgehammer.ps1:1746 char:63
+ ... $BitLockerDecrypted = Invoke-BitLockerDecryption
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-BitLockerDecryption
Invoke-BitLockerDecryption : BitLocker Decryption error: You cannot call a method on a null-valued expression.
At C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\BiosSledgehammer.ps1:1746 char:63
+ ... $BitLockerDecrypted = Invoke-BitLockerDecryption
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-BitLockerDecryption
Update-TPMFirmware : BitLocker is in use, TPM update not possible
At C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\BiosSledgehammer.ps1:2890 char:51
+ ... pmUpdated = Update-TPMFirmware -Modelfolder $modelfolder -TPMDetails ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-TPMFirmware
Update-TPMFirmware : BitLocker is in use, TPM update not possible
At C:\Users\Desktop\TPM_BIOS_Upgrade_2.0\BiosSledgehammer.ps1:2890 char:51
+ ... pmUpdated = Update-TPMFirmware -Modelfolder $modelfolder -TPMDetails ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-TPMFirmware
PS>TerminatingError(): "Update-TPMFirmware: BitLocker active"
BIOS Sledgehammer finished, return code 666.
Thank you, please come again!
Waiting 30 seconds...
**********************
Windows PowerShell transcript end
End time: 20180313155819
**********************