microsoft/mu_plus

[Bug]: The MfciPolicy.py does not work with -d and -a parameter

Closed this issue · 1 comments

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

When we tried the MfciPolicy.py with -a or -d parameter, it will failed at the SetUefiVar function, below is the error message for reference.

Image

Expected Behavior

The MfciPolicy.py should be able to apply or delete Mfci related variables via SetUefiVar function

Steps To Reproduce

  1. boot to OS
  2. perform "python MfciPolicy.py -a " or "python MfciPolicy.py -d"

Build Environment

  • OS(s): Windows
  • Tool Chain(s): VS2022
  • Targets Impacted: RELEASE, DEBUG

Version Information

v2024050001.0.0

Urgency

Medium

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

@apop5

Fixed in #601