/build/static/layout/Breadcrumb_cap_w.png

Custom inventory field does not populate

Hi,

I am struggling with a problem. I want to find out which Dell command update on the network has the BIOS password set in it, for which there is a flag in Windows registry.

All great, i created a custom software and wrote this as a rule:  RegistryKeyExists (HKLM\Software\Dell\UpdateService\Clients\CommandUpdate\Preferences\Settings\General\BIOSPassword)

U7siHU9Cs5QAAAABJRU5ErkJggg==

But the problem is that it's either not running or it is but it's not working, because after 8h, i still see zero devices found

Hw5Mx55f45l1AAAAAElFTkSuQmCC


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: KevinG 1 month ago
Red Belt
0

What version of the SMA?

What version of the Agent is installed?

What is the Windows OS?


Comments:
  • SMA 11
    Agent 11.0.123
    Win 10 x64 - Empousa 1 month ago
    • Here is an example of code for a 64-bit reg key. As the agent is a 32-bit process it will otherwise run in 32-bit context (wow6432node/syswow64) you have to do similar workarounds for bat or PowerShell. RegistryKeyExists(HKEY_LOCAL_MACHINE64\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ProPlus2019Volume - en-us) - Kiyolaka 1 month ago
      • I tried that too and it return a missing key error. A different solution must exist. - Empousa 1 month ago
Posted by: jepoor61 1 month ago
White Belt
0

Top Answer

I found this script a while back at https://argentolee.wordpress.com/2017/12/29/kace-dell-bios-admin-password-status-custom-inventory-field/ . It's in custom inventory . I get a report of true or false. Hopefully that's what you're looking for.


ShellCommandTextReturn(c:\windows\sysnative\WindowsPowerShell\v1.0\powershell.exe "invoke-command -ScriptBlock {Get-WmiObject -namespace "root\DCIM\SYSMAN" -Class DCIM_BIOSPassword| where-object {$_.AttributeName -eq 'AdminPwd'}|Select -ExpandProperty IsSet} -ErrorAction SilentlyContinue" 2> nul)


H1N7C2APZSNgAAAAAElFTkSuQmCC


Comments:
  • Genius! Thank you very much - Empousa 1 month ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ