This post is more than 5 years old

5 Posts

15714

April 20th, 2018 06:00

getting bios password set with WMI on DELL computers

Dear All,

 

Is there any way to check if BIOS password has been set on remote DELL desktops and laptops using WMI query?

 

Thks

 

JJC

11 Legend

 • 

47K Posts

April 20th, 2018 07:00

"standalone application on each Client" can't be any more specific than that.  Default Windows wmic is not going to work

 

11 Legend

 • 

47K Posts

April 20th, 2018 06:00

 Open Manage Client Instrumentation would be required.

There isn't any way to SET or READ the password from WMI

This script sample demonstrates how to confirm if a BIOS level password is set on a Dell client system. This script requires that Dell Command | Monitor (DCM) previously known as (Open Manage Client Instrumentation) OMCI is installed on the system.

The latest version of Dell Command | Monitor is v9.3.

Dell Command | Monitor 9.3 for Windows

 
This script queries the WMI class DCIM_BiosPassword in the Dell namespace root\dcim\sysman.
WMI namespace root\dcim\sysman is available if DCM is installed on the system.
 

wmic /namespace:\\root\dcim\sysman path __namespace

If (DCM)OMCI is not installed , the above command will output -

ERROR:  Description = Invalid namespace

 
BIOS Administrator password is reported as 'AdminPwd' and
BIOS System password is reported as "SystemPwd'.
  
SCRIPT
 
<#  
.Synopsis  
   Confirm if a BIOS level password is set on a Dell client system.   
.Description
    This script queries the WMI class DCIM_BiosPassword in the Dell
    namespace root\dcim\sysman.
Namespace root\dcim\sysman is available if DCM is installed on the system.    
 
BIOS Admin password is reported as 'AdminPwd' and BIOS System password
    is reported as "SystemPwd'.
 
#>
 
$dcm = Get-CimInstance -Namespace root -Class __Namespace | where-object Name -eq DCIM
 
if (!$dcm) {
 
    Write-Output "DCM is not installed. Exiting...."
    return
}
 
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword 
 
$passwords | foreach-Object {
 
        $output = $_.AttributeName
  
        if ($_.IsSet -match "True") {
            $output += " is set on $env:COMPUTERNAME."
        }
        elseif ($_.IsSet -match "False") {
            $output += " is not set on $env:COMPUTERNAME."
        }
        else
        {
        }
 
        Write-Output $output
                    
    } 

 

 

11 Legend

 • 

47K Posts

April 20th, 2018 07:00

The Microsoft Group Policy Management Console (GPMC) is not the same as Dell Command Monitor (DCM) or OMCI.  DCM is installed on each client.

There is support for what you are asking about HOWEVER its not free.

Neither Dell nor Microsoft provide DCM or GPO support and training free.

 Dell Command Update is installed as a standalone application on each Client with Enhanced CLI options. The command line interface allows administrators to use their automated remote deployment infrastructure for updates. 

 

 

 

5 Posts

April 20th, 2018 07:00

Thks speestep,

I am deploying this from a GPO. Does this mean DELL command monitor must be installed on the server where the GPO script is running or all desktop/laptops before running the WMI query?

5 Posts

April 20th, 2018 07:00

OK. But you do not answer to my question. Does DCM must be installed on both server and workstations or just the server?. I'll run the script from the server to query WMI bios settings on all the workstations I have on my network.

Thks

1 Rookie

 • 

1 Message

January 12th, 2019 21:00

Thanks speedstep for sharing the script. In my organisation we are using over 700 dell optiplex series desktops. dell optiplex 3020 dell optiples 3040 dell optiplex 7050 i use PDQ deploy to upgrade the bios to latest version with silent code. The problem is each and everytime i must redeploy the package with different set of bios password credentials.. What i planned is to change all bios password to one unified password so that i can deploy various bios updates and as well as Dell command configure multi package to disable front usb. change boot order. power on methods. disable sleep mode.. etc.. I tried ur script but i get error and also i dont know where to fetch input of computers hostnames to change the bios password remotely. please suggest your ideas.. Awaiting for your reply

No Events found!

Top