• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Elitebook
Microsoft Windows 10 (64-bit)

Hello,

I hope I am asking in the correct place, if not feel free to redirect me elsewhere.

I am trying to use the biosconfigutility64.exe program to gather the Ownership Tag setting from the BIOS as part of a script in an organisation for setting up laptops. I am able to get the correct Ownership Tag setting using the command "biosconfigutility64.exe /getvalue:"Ownership Tag"" however the output is very messy and unusable for my purposes.

 

Here is the output:

 

<BIOSCONFIG Version="" Computername="DESKTOP-QNBN5GF" Date="2022/01/14" Time="16:00:45" UTC="0">
<SETTING changeStatus="pass" name = "Ownership Tag" returnCode="0">
<VALUE><![CDATA[CORRECT_OWNERSHIP_TAG]]></VALUE>
</SETTING>
<SUCCESS msg="No errors occurred" />
<Information msg="BCU return value" real="0" translated="0" />
</BIOSCONFIG>

 

I was just wondering if the program included any way to automatically parse the output to retrieve just the ownership tag? It would save me a lot of time.

1 REPLY 1
HP Recommended

@BK50 

 

Did you know playing around with BIOS is the shortest way to brick your machine ?

 

Regards.

BH
***
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.




† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.