Author: Cory Ferro, Program Manager, Enterprise Client and Mobility
Windows Phone 8.1 has added a CSP to allow a GET request for the device’s International Mobile Equipment Identity (IMEI), a unique identifier for a mobile device. Inventory collection of mobile device IMEIs is not enabled by default, however it is possible to retrieve the value of Configuration Service Providers (CSP) nodes through inventory, provided these nodes provide GET operations. The steps provided below show you how to define a new inventory class using MOF (which will use URIs for the nodes/properties of interest), and importing the new class into Configuration Manager. Refer to the Windows Phone 8.1 MDM protocol documentation for information on available CSPs and properties.
Open notepad and copy the following text. Note: Exporting a MOF creates a MOF that explains the syntax used in a Hardware Inventory settings MOF.
#pragma namespace ("\\\\.\\root\\cimv2")
instance of __Namespace
Name = "SMS" ;
#pragma namespace ("\\\\.\\root\\cimv2\\SMS")
Name = "INV_TEMP" ;
#pragma namespace ("\\\\.\\root\\cimv2\\SMS\\INV_TEMP")
[ SMS_Report (TRUE),
SMS_DEVICE_URI ("") ]
class Device_CUSTOMINFO : SMS_Class_Template
[SMS_Report (TRUE), SMS_DEVICE_URI("WM:./Vendor/MSFT/DeviceInstanceService/IMEI")]
The new hardware inventory group will be called Device_CUSTOMINFO and the returned value will be named IMEI. These can be changed as needed.
In the Admin Console, choose Administration > Client Settings.
Right-click Default Client Settings and then choose Properties to. Click the Hardware Inventory tab and then click Set Classes…
Note: This must be done from Default Client Settings as we are defining a new class.
Click Import…, and then click the MOF file created earlier. After the file is processed, a new group representing the inventory class is created.
Because you have edited the Default Client Settings, the new inventory settings will be added to the existing deployment.
Configuration Manager Resources
Documentation Library for System Center 2012 Configuration Manager
System Center 2012 Configuration Manager Forums
System Center 2012 Configuration Manager Survival Guide
System Center Configuration Manager Support
This posting is provided "AS IS" with no warranties and confers no rights.
Is it possible to get the phone number also by adding this into Device_CUSTOMINFO class?
[SMS_Report (TRUE), SMS_DEVICE_URI("WM:./Vendor/MSFT/DeviceInstanceService/PhoneNumber")]
Will this process work for collecting IMEI and SIM number from notebook WWAN (Mobile broadband cards) ?