Git Product home page Git Product logo

Comments (4)

texhex avatar texhex commented on July 19, 2024

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.

texhex avatar texhex commented on July 19, 2024

For the time being, I will add the setting IgnoreMEDetectionError which is more a workaround, but could be helpful anyway.

from biossledgehammer.

texhex avatar texhex commented on July 19, 2024

If someone has an idea how to solve this, please comment.

If not, I will close the issue at a later time.

from biossledgehammer.

texhex avatar texhex commented on July 19, 2024

Closing issue.

from biossledgehammer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.