Is mdm devId stored in any registry key and how is this devId created

Bevan Thomas 60 Reputation points
2023-11-24T12:34:24.94+00:00

Is mdm devId stored in any registry key and how is this devId created?
Is it related to the hardware serial number and does it change during a device lifetime

Microsoft Security | Intune | Enrollment
Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Rudy Ooms 701 Reputation points MVP
    2023-11-29T08:01:46.88+00:00

    This deviceid is used when it reaches out to manage.microsoft.com (intune)https://r.manage.microsoft.com/devicegatewayproxy/cimhandler.ashx

    In the request you will notice the DevId:

    An unique device identifier. An application-specific global unique device identifier is provided in this node.

    UseHWDevID node of the DMAcc configuration service provider can be used to modify the return value to instead return a hardware device ID as follows:

    For GSM phones, the IMEI is returned.

    For CDMA phones, the MEID is returned.

    For dual SIM phones, this value is retrieved from the UICC of the primary data line.

    For Windows 10 for desktop editions (Home, Pro, Enterprise, and Education), an application specific global unique identifier (GUID) is returned irrespective of the value of UseHWDevID.

    https://learn.microsoft.com/en-us/windows/client-management/mdm/devinfo-csp

    You can also use the localmdm tool to fetch it...

    Send-LocalMDMRequest -OmaUri ./DevInfo/DevId

    CmdId : 1

    Cmd : Get

    Status : 200

    OmaUri : ./DevInfo/DevId

    Data : idfromtheregistry :)

    1 person found this answer helpful.
    0 comments No comments

  2. Crystal-MSFT 53,991 Reputation points Microsoft External Staff
    2023-11-27T01:21:54.6566667+00:00

    @Bevan Thomas, Thanks for posting in Q&A. For the evid, did you mean Intune device id? If yes, based as I know, the Mobile Device Management (MDM) registration enrolls a device into a management service, The device ID is created by the MDM server and is unique to each device. It is not related to the hardware serial number and can change during the device's lifetime if the device is wiped and re-enrolled in the MDM service.

    For the Intune device Id, you can find it in "EntDMID" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments\GUID\DMClient\MS DM Server

    Edit the reply.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Bevan Thomas 60 Reputation points
    2024-01-01T10:29:51.95+00:00

    Hi @Crystal-MSFT , intune asking for last four characters of device serial number during enrollment, is it the internal working because I didnt provide any serial number during enrollment


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.