Custom inventory field does not populate


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)


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


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: KevinG 9 months ago
Red Belt

What version of the SMA?

What version of the Agent is installed?

What is the Windows OS?

  • SMA 11
    Agent 11.0.123
    Win 10 x64 - Empousa 9 months 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 9 months ago
      • I tried that too and it return a missing key error. A different solution must exist. - Empousa 9 months ago
Posted by: jepoor61 9 months ago
White Belt

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)


  • Genius! Thank you very much - Empousa 9 months 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


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