-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- BIOS UEFI variable CpuSetup is write-protected. How to remov...

Create an account on the HP Community to personalize your profile and ask a question
12-24-2024 03:17 AM - edited 12-24-2024 03:20 AM
Hello everyone,
I am using the HP Client Management tools to modify UEFI variables. I want to modify only 2 bytes in the CpuSetup UEFI variables whose GUID is B08F97FF-E6E8-4193-A997-5E9E9B0ADB32 so that I can turn off CFG Lock at 0x043 and Overclocking Lock at 0x10E so I can unlock full undervolting on my i7-14700HX cpu (YES IT IS AN HX PROCESSOR BUT HP PREVENTS YOU FROM UNDERVOLTING OR OVERCLOCKING IT LIKE WTTTFFFF, anyways).
In the screenshot I am running the following command:
Set-HPUEFIVariable -Namespace "{B08F97FF-E6E8-4193-A997-5E9E9B0ADB32}" -Name CpuSetup -Value $customValues -Verbose
Does anyone know how to remove the write-protection on the CpuSetup variable?
The CpuSetup variable only has 3 attributes:
-VARIABLE_ATTRIBUTE_NON_VOLATILE = 0x00000001
-VARIABLE_ATTRIBUTE_BOOTSERVICE_ACCESS = 0x00000002
-VARIABLE_ATTRIBUTE_RUNTIME_ACCESS = 0x00000004
It definitely does NOT have the VARIABLE_ATTRIBUTE_AUTHENTICATED_WRITE_ACCESS attribute or the VARIABLE_ATTRIBUTE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS attribute.
This means that the write-protection is applied in a different way. From the UEFI documentation I was able to find the following:
This problem can be solved in two possible ways:
Solved! Go to Solution.
Accepted Solutions
12-26-2024 12:38 AM
Hello, thank you for your reply. My board is in manufacturing programming mode, but as far as I can tell, this MPM only allows me to change my Device's name and serial number and such things.
I determined the location and values to be used using UEFITool and IFRExtractor, basically you can use UEFITool on the official BIOS file from hp's website, and then using IFRExtractor you turn the file into text to see which variable addresses correspond to which setting.
Anyways, for your specific problem check OmenMon on github, it has direct BIOS controls for the lights. It basically has all the features of Omen Gaming Hub + some more + more freedom
Regarding the links you suggested, yea I am trying to do the same thing as them, but I am stuck exactly on the step to change the variable because I get the error that CpuSetup is write-protected, and I am only interested in removing this write-protection to continue with what everyone else is doing. I have done this on many laptops before, none of them had such a write-protection.
12-25-2024 06:37 AM - edited 12-27-2024 07:56 AM
I do not think you can do that using that ClientManagement app.
Your board is probably not in factory setup mode.
I also noticed the warning about Legacy instead of UEFI
There is probably a setting for allow (unlock) that undervolting option
possibly this also
I have an HP Shire motherboard that is in factory setup mode and there are still items that cannot be changed. The board also has an option (jumper) to restore the original bios which is nice to use if I mess too much with factory setup.
How did you determine the locations and values to be used?
If you get it to work, please post back here.
I have a somewhat similar problem with my Shire motherboard in a 30L case: the Led lighting is Obelisk instead of Omen 30L as determined by a BIOS setting. I have not figured out how to spoof the bios to make the lighting studio think I have a real 30L
https://youtube.com/shorts/EcxafA7CWJk?feature=share
Thank you for using HP products and posting to the community.
I am a community volunteer and do not work for HP. If you find
this post useful click the Yes button. If I helped solve your
problem please mark this as a solution so others can find it
12-26-2024 12:38 AM
Hello, thank you for your reply. My board is in manufacturing programming mode, but as far as I can tell, this MPM only allows me to change my Device's name and serial number and such things.
I determined the location and values to be used using UEFITool and IFRExtractor, basically you can use UEFITool on the official BIOS file from hp's website, and then using IFRExtractor you turn the file into text to see which variable addresses correspond to which setting.
Anyways, for your specific problem check OmenMon on github, it has direct BIOS controls for the lights. It basically has all the features of Omen Gaming Hub + some more + more freedom
Regarding the links you suggested, yea I am trying to do the same thing as them, but I am stuck exactly on the step to change the variable because I get the error that CpuSetup is write-protected, and I am only interested in removing this write-protection to continue with what everyone else is doing. I have done this on many laptops before, none of them had such a write-protection.
12-27-2024 08:35 AM - edited 12-27-2024 09:18 AM
Thanks, I will look at Omen Mon.
I have several different systems. One used mystic lights but MSIRGB at Github was better.
Another is an Area51 case with a non-D.ell motherboard but I got the lights working by spoofing the bios.
I am looking at using OpenRGB on the HP motheboard but have never used QT Creator before. Supposedly it will work with VS2022.
----
you might try registering at the HP developer portal and ask over there
https://developers.hp.com/hp-client-management/forum/client-management-solutions
Thank you for using HP products and posting to the community.
I am a community volunteer and do not work for HP. If you find
this post useful click the Yes button. If I helped solve your
problem please mark this as a solution so others can find it