Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Article Number: 000130046


Inventorying Wake-On-Lan Configuration for Dell Workstations using ConfigMgr and OMCI

Summary: Dell OS and Applications Solutions on Dell TechCenter - Project Sputnik, Microsoft Windows, Red Hat Linux, SUSE, Ubuntu, and more

Article Content


Symptoms

This is a step-by-step example of using OMCI with ConfigMgr. This example will use the tools found on the Using OMCI with ConfigMgr page. As with all ConfigMgr Changes - TEST FIRST!
 


Scenario - You want to use ConfigMgr to identify systems where the BIOS is not configured with Wake-On-LAN (WOL) enabled.

Configure Inventory:

  1. If you do not have OMCI installed, Install OMCI on all workstation systems. This will populate the root\dellomci namespace with hardware-specific information from the system. You can use traditional software distribution, or a Custom Updates deployment if you prefer.
  2. Review the OMCI Reference Guide - In this example, search the page for "Wake" - notice there is a property named WakeupOnLAN (See Table 1). This Property will tell us if WOL is enabled.Notice that the WakeupOnLAN property is in the Dell_SMBIOSSettings Class
  3. Review the OMCI/SCCM Whitepaper - You can search the paper for Dell_SMBIOSSettings Class, but due to word-wrap and other formatting requirements for the whitepaper, a straight copy-paste may not be easy to reproduce. For consistent formatting, download or open the Dell OMCI MOF Extensions for ConfigMgr link, which contains ALL Dell OMCI Reporting classes in MOF format. Copy the section for Dell_SMBIOSSettings, as shown in Table 2.
  4. On the ConfigMgr Central site navigate to %installdir%\Inboxes\clifiles.src\hinv, where %installdir% is the installation directory for ConfigMgr.
  5. Make a backup copy of SMS_DEF.MOF.
  6. Use Notepad to edit SMS_DEF.MOF. Review SMS_DEF.MOF to ensure that the Dell_SMBIOSSettings class does not already exist in the MOF file.
  7. Move to the end of the SMS_DEF.MOF File, and create a commented separator, so that you can easily identify additional reporting classes that you have added to the SMS_DEF.MOF. For example, create a separator similar to Table 3.
  8. Paste the reporting Class Information for Dell_SMBIOSSettings into the SMS_DEF.MOF.
  9. Enable the reporting class by setting the Report to TRUE, as shown in the first line of Table 2.
  10. Enable the properties to report by changing FALSE to TRUE on individual properties, as shown in Table 2 for WakeupOnLAN. Modify reporting for other properties as desired.
  11. Save SMS_DEF.MOF. Within a few minutes, ConfigMgr will detect the change in the SMS_DEF.MOF file, and automatically recompile it. View the SMS_INVENTORY_DATA_LOADER component status to verify success.
  12. Clients assigned to this site will report the updated inventory at the next scheduled hardware inventory cycle (default is every 7 days).
SLN311349_en_US__1icon *NOTE: As with all SMS_DEF.MOF changes, if you have multiple sites you must edit the SMS_DEF.MOF on all sites to obtain accurate reporting data. A best practice is to ensure all sites have the same SMS_DEF.MOF if possible.

Figure 1 Shows WOL inventory information in Configmgr Resource Explorer.

SLN311349_en_US__2i_OSandApplications_Inventorying Wake-On-Lan1_N_V1

Figure 1: Dell_SMBIOSSettings class information in Configmgr


Configure Reporting:

Now that you have the data in ConfigMgr, simply create a new web report, using the SQL statement in Table 4. You can also download a MOF file for a web report titled Wake On LAN Hardware Configuration.

WakeupOnLAN This property defines whether Wakeup On LAN is disabled, enabled for on-board NIC only or enabled for add-in NIC only. If Enabled with boot to NIC option is selected, the system boots from the NIC boot-ROM upon a remote wakeup The following values are defined: 1 = Other 2 = Unsupported 3 = Disabled 4 = Enabled for add-in NIC 5 = Enabled for on-board NIC 6 = Enabled for all NICs 7 = Enabled with boot to NIC 8 = LAN or WLAN

Table 1 - WakeupOnLan Property and description from the Dell_SMBIOSSettings Class


Dell_SMBIOSSettings Reporting Class

[ SMS_Report(TRUE), SMS_Group_Name("Dell SMBIOS Settings"), SMS_Class_ID("DELL|SMBIOSSETTINGS|1.0"), SMS_Namespace(FALSE), Namespace("\\\\\\\\.\\\\root\\\\DellOMCI") ]
class Dell_SMBIOSsettings : SMS_Class_Template
{
[SMS_Report (FALSE)] sint32 AGPSlot;
[SMS_Report (FALSE)] sint32 AmbientLightSensor;
[SMS_Report (FALSE)] sint32 ASFMode;
[SMS_Report (FALSE)] sint32 AudioMode;
[SMS_Report (FALSE)] sint32 AutoOn;
[SMS_Report (FALSE)] sint32 AutoOnHour;
[SMS_Report (FALSE)] sint32 AutoOnMinute;
[SMS_Report (FALSE)] sint32 BluetoothDevices;
[SMS_Report (FALSE)] sint32 BootSequence;
[SMS_Report (FALSE)] sint32 BuiltinFloppy;
[SMS_Report (FALSE)] sint32 BuiltinNIC;
[SMS_Report (FALSE)] sint32 BuiltinNIC2;
[SMS_Report (FALSE)] sint32 BuiltinPointingDevice;
[SMS_Report (FALSE)] string Caption;
[SMS_Report (FALSE)] sint32 CellularRadio;
[SMS_Report (FALSE)] sint32 Charger;
[SMS_Report (FALSE)] sint32 ChassisIntrusion;
[SMS_Report (TRUE)] sint32 ChassisIntrusionStatus;
[SMS_Report (FALSE)] sint32 ClearSystemEventLog;
[SMS_Report (FALSE)] sint32 CoolAndQuiet;
[SMS_Report (FALSE)] sint32 CPUVirtualization;
[SMS_Report (FALSE), Key] uint32 DellInstanceID;
[SMS_Report (FALSE)] string Description;
[SMS_Report (FALSE)] sint32 ESataPorts;
[SMS_Report (FALSE)] sint32 ExpressCharge;
[SMS_Report (FALSE)] sint32 ExternalHotkey;
[SMS_Report (FALSE)] sint32 FastBoot;
[SMS_Report (FALSE)] sint32 HardDiskAcousticMode;
[SMS_Report (FALSE)] sint32 HardDiskFailover;
[SMS_Report (FALSE)] sint32 HotDocking;
[SMS_Report (FALSE)] sint32 Hyperthreading;
[SMS_Report (FALSE)] sint32 IDEController;
[SMS_Report (FALSE)] sint32 IntegratedAudio;
[SMS_Report (FALSE)] sint32 IntegratedRAIDController;
[SMS_Report (FALSE)] sint32 IntegratedSASController;
[SMS_Report (FALSE)] sint32 IntegratedSATAController;
[SMS_Report (FALSE)] sint32 IntegratedUSBHub;
[SMS_Report (FALSE)] sint32 InternalMiniPCI;
[SMS_Report (FALSE)] sint32 KeyboardIllumination;
[SMS_Report (FALSE)] sint32 Keypad;
[SMS_Report (FALSE)] sint32 LimitCPUIDValue;
[SMS_Report (FALSE)] sint32 LowPowerS5;
[SMS_Report (FALSE)] sint32 MediaCardAnd1394;
[SMS_Report (FALSE)] sint32 Microphone;
[SMS_Report (FALSE)] sint32 ModuleBayDevice;
[SMS_Report (FALSE)] sint32 MonitorToggling;
[SMS_Report (FALSE)] sint32 MultiCore;
[SMS_Report (FALSE)] sint32 NMIButton;
[SMS_Report (FALSE)] sint32 NodeInterleave;
[SMS_Report (FALSE)] sint32 NoExecute;
[SMS_Report (FALSE)] sint32 NumLock;
[SMS_Report (FALSE)] sint32 Onboard1394;
[SMS_Report (FALSE)] sint32 OnboardModem;
[SMS_Report (FALSE)] sint32 OSInstallMode;
[SMS_Report (FALSE)] sint32 ParallelPortConfiguration;
[SMS_Report (FALSE)] sint32 ParallelPortMode;
[SMS_Report (FALSE)] sint32 PasswordBypass;
[SMS_Report (FALSE)] sint32 PCCard;
[SMS_Report (FALSE)] sint32 PCCardAnd1394;
[SMS_Report (FALSE)] sint32 PCISlots;
[SMS_Report (FALSE)] sint32 PenMissingIndication;
[SMS_Report (FALSE)] sint32 PenResumeOn;
[SMS_Report (FALSE)] sint32 PointingDevice;
[SMS_Report (FALSE)] sint32 POSTF12KeySetting;
[SMS_Report (FALSE)] sint32 POSTF2KeySetting;
[SMS_Report (FALSE)] sint32 POSTHelpDeskKeySetting;
[SMS_Report (FALSE)] sint32 POSTMEBxKeySetting;
[SMS_Report (FALSE)] sint32 PowerManagementSettings;
[SMS_Report (FALSE)] sint32 PrimaryParallelATAMaster;
[SMS_Report (FALSE)] sint32 PrimaryParallelATASlave;
[SMS_Report (FALSE)] sint32 PrimaryVideo;
[SMS_Report (FALSE)] sint32 RadioTransmission;
[SMS_Report (FALSE)] sint32 SATADIPM;
[SMS_Report (FALSE)] sint32 SecondaryParallelATAMaster;
[SMS_Report (FALSE)] sint32 SecondaryParallelATASlave;
[SMS_Report (FALSE)] sint32 SelectiveUSB;
[SMS_Report (FALSE)] sint32 SerialATAChannel1;
[SMS_Report (FALSE)] sint32 SerialATAChannel2;
[SMS_Report (FALSE)] sint32 SerialATAChannel3;
[SMS_Report (FALSE)] sint32 SerialATAChannel4;
[SMS_Report (FALSE)] sint32 SerialATAChannel5;
[SMS_Report (FALSE)] sint32 SerialATAChannel6;
[SMS_Report (FALSE)] sint32 SerialATAChannel7;
[SMS_Report (FALSE)] sint32 SerialATAChannel8;
[SMS_Report (FALSE)] sint32 SerialCommunication;
[SMS_Report (FALSE)] sint32 SerialPort1Configuration;
[SMS_Report (FALSE)] sint32 SerialPort2Configuration;
[SMS_Report (FALSE)] sint32 SERRDMIMessage;
[SMS_Report (FALSE)] sint32 SetCMOSToDefault;
[SMS_Report (FALSE)] string SettingID;
[SMS_Report (FALSE)] sint32 SingleByteECCLogging;
[SMS_Report (FALSE)] sint32 SingleCoreTurboMode;
[SMS_Report (FALSE)] sint32 SmartCardReader;
[SMS_Report (FALSE)] sint32 SMARTErrors;
[SMS_Report (FALSE)] sint32 SpeakerVolume;
[SMS_Report (FALSE)] sint32 SpeedStep;
[SMS_Report (FALSE)] sint32 SuspendMode;
[SMS_Report (FALSE)] sint32 TabletButtons;
[SMS_Report (FALSE)] sint32 TertiaryParallelATAMaster;
[SMS_Report (FALSE)] sint32 TertiaryParallelATASlave;
[SMS_Report (FALSE)] sint32 TrustedPlatformModule;
[SMS_Report (FALSE)] sint32 TrustedPlatformModuleActivation;
[SMS_Report (FALSE)] sint32 UARTPowerDown;
[SMS_Report (FALSE)] sint32 USBEmulation;
[SMS_Report (FALSE)] sint32 USBFlashDriveEmulation;
[SMS_Report (FALSE)] sint32 USBFrontPanelPorts;
[SMS_Report (FALSE)] sint32 USBPort00;
[SMS_Report (FALSE)] sint32 USBPort01;
[SMS_Report (FALSE)] sint32 USBPort02;
[SMS_Report (FALSE)] sint32 USBPort03;
[SMS_Report (FALSE)] sint32 USBPort04;
[SMS_Report (FALSE)] sint32 USBPort05;
[SMS_Report (FALSE)] sint32 USBPort06;
[SMS_Report (FALSE)] sint32 USBPort07;
[SMS_Report (FALSE)] sint32 USBPort08;
[SMS_Report (FALSE)] sint32 USBPort09;
[SMS_Report (FALSE)] sint32 USBPort10;
[SMS_Report (FALSE)] sint32 USBPort11;
[SMS_Report (FALSE)] sint32 USBPort12;
[SMS_Report (FALSE)] sint32 USBPort13;
[SMS_Report (FALSE)] sint32 USBPort14;
[SMS_Report (FALSE)] sint32 USBPort15;
[SMS_Report (FALSE)] sint32 USBPorts;
[SMS_Report (FALSE)] sint32 USBPortsExternal;
[SMS_Report (FALSE)] sint32 USBPortsUserAccessible;
[SMS_Report (FALSE)] sint32 USBRearDual;
[SMS_Report (FALSE)] sint32 USBRearQuad;
[SMS_Report (FALSE)] sint32 USBWake;
[SMS_Report (FALSE)] sint32 VideoExpansion;
[SMS_Report (FALSE)] sint32 VideoMemorySize;
[SMS_Report (FALSE)] sint32 VTforDirectIO;
[SMS_Report (TRUE)] sint32 WakeupOnLAN;
[SMS_Report (FALSE)] sint32 WakeupOnLANMethod;
[SMS_Report (FALSE)] sint32 WiFiCatcherChanges;
[SMS_Report (FALSE)] sint32 WiFiLocator;
[SMS_Report (FALSE)] sint32 WirelessDevice;
[SMS_Report (FALSE)] sint32 WirelessLAN;
[SMS_Report (FALSE)] sint32 WirelessSwitchBluetoothControl;
[SMS_Report (FALSE)] sint32 WirelessSwitchCellularControl;
[SMS_Report (FALSE)] sint32 WirelessSwitchChanges;
[SMS_Report (FALSE)] sint32 WirelessSwitchWirelessLANControl;
};

Table 2 - Dell_SMBIOSSettings Reporting Class


Example comment separator for SMS_DEF.MOF

//=============================================================================
//
// Custom Inventory - Start
//
//=============================================================================


(add custom reporting classes here)

//=============================================================================
//
// Custom Inventory - Finish
//
//=============================================================================

Table 3 - Example comment separator for SMS_DEF.MOF


SQL for Web Report

SELECT v_GS_SYSTEM.Name0,
CASE
WHEN DSMBIOS.WakeupOnLAN0 = 2 THEN 'Unsupported'
WHEN DSMBIOS.WakeupOnLAN0 = 3 THEN 'Disabled'
WHEN DSMBIOS.WakeupOnLAN0 = 4 THEN 'Enabled for add-in NIC'
WHEN DSMBIOS.WakeupOnLAN0 = 5 THEN 'Enabled for on-board NIC'
WHEN DSMBIOS.WakeupOnLAN0 = 6 THEN 'Enabled for all NICs'
WHEN DSMBIOS.WakeupOnLAN0 = 7 THEN 'Enabled with boot to NIC'
WHEN DSMBIOS.WakeupOnLAN0 = 8 THEN 'LAN or WLAN'
WHEN DSMBIOS.WakeupOnLAN0 = 9 THEN 'WLAN only'
ELSE CAST(WakeupOnLAN0 AS varchar)
END AS 'Wakeup On LAN',
CASE
WHEN DSMBIOS.WakeupOnLANMethod0 = 2 THEN 'Unsupported'
WHEN DSMBIOS.WakeupOnLANMethod0 = 3 THEN 'Magic Packet'
ELSE CAST(WakeupOnLANMethod0 AS varchar) END AS 'Wakeup On LAN Method'
FROM v_GS_Dell_SMBIOS_Settings0 AS DSMBIOS INNER JOIN
v_GS_SYSTEM ON DSMBIOS.ResourceID = v_GS_SYSTEM.ResourceID

Table 4 - SQL for Web Report

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution