Comments (4)
I’m giving up on this. I have no idea where to store the current state if the ME version is UNKNOWN and a restart was requested so the second start of the script does not want to trigger a BIOS change again and causing a loop, without breaking the general expectations of the operator.
The registry would be the most obvious choice, but this could lead to the following situation:
- Run 1, ME version is UNKNOWN. BIOS changes are requested, and state is stored in registry
- Restart, BIOS requests change to AMT but Admin denies it
- Run 2, ME version is still UNKNOWN, BIOS Sledgehammer errors out and sets the registry value to “Tried change, no gain”
- Admin runs BIOS Sledgehammer again and want to allow the changes now
- Run 3, ME version is UNKNOWN, however registry contains the value that this was already tried so the section is skipped.
- Result: Admins expects the script to update ME and relies on it, but in fact we just ignored it
Somewhat encoding the current version of BIOS Sledgehammer and the target ME version would help a little, but if the admin just restarts (as noted above) with the same version and ME version, this won’t help at all.
The only real solution I could think of would be to check the BIOS value, controlling AMT, directly and trigger the restart if those value need to changed (e.g. AMT == Disabled to AMT == Enabled). However, I have seen several cases where BCU reports a BIOS value to be changed, while in fact it was unchanged. This would again cause a loop.
from biossledgehammer.
For the time being, I will add the setting IgnoreMEDetectionError
which is more a workaround, but could be helpful anyway.
from biossledgehammer.
If someone has an idea how to solve this, please comment.
If not, I will close the issue at a later time.
from biossledgehammer.
Closing issue.
from biossledgehammer.
Related Issues (20)
- Disable TXT require shutdown? HOT 3
- Communication with BCU fails for systems with PowerShell 4.0 HOT 2
- BIOS update needs BIOS-Update-Settings.txt HOT 37
- Running BiosSledgehammer.ps1 from SCCM task sequence HOT 23
- New HPFIRMWAREUPDREC tool with new HP models HOT 3
- Enable TPM before TPM Update section HOT 10
- IFXTPMUpdate_TPM12_v0443.com HOT 2
- HP EliteBoolk Folio 9480m - BIOS Update 1.46/ME Update 9.5.65.3000 HOT 1
- HP EliteBook 9470m - BIOS Update F.72 (ME is still the same) HOT 1
- HP EliteBook 8xx G4 (Shared): BIOS 01.25/ME 11.8.60.3561 HOT 1
- HP EliteBook 8xx G5 (Shared): BIOS Update 1.06 HOT 1
- Update BIOS Configuration Utility (BCU) to 4.0.26.1 HOT 1
- Change TPM-BIOS-Settings.txt to TPM-Update-BIOS-Settings.txt HOT 1
- Ampersand in BIOS Settings HOT 5
- Issues getting HP EliteDesk 800 G1 SFF to boot after applying BIOS settings HOT 2
- Issues updating HP Elite Compaq 8300 BIOS HOT 3
- Not running as expected HOT 2
- Intel Software Guard Extensions (SGX) changes require key presence HOT 3
- Can't update BIOS settings since BIOS manual upgrade HOT 1
- HP ZBook 14 G2 Model Not Listed - Can't Update TPM from 1.2 to 2.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biossledgehammer.