Windows 10: How to get the Windows display identity number programmatically?

Discus and support How to get the Windows display identity number programmatically? in Windows 10 Customization to solve the problem; I would like to get the "Monitor identity number" which is on "Windows Display setting -> Rearrange your displays" menu. The numbers as in the picture... Discussion in 'Windows 10 Customization' started by MarkChoi, Dec 8, 2019.

  1. MarkChoi Win User

    How to get the Windows display identity number programmatically?


    I would like to get the "Monitor identity number" which is on "Windows Display setting -> Rearrange your displays" menu.

    The numbers as in the picture below.

    Please refer to this link: https://stackoverflow.com/questions/56570256/how-do-i-get-the-windows-display-monitor-screen-identity-number-programmatically

    This post describes my issue.

    How to get the Windows display identity number programmatically? 70dc4508-54e5-44e1-8526-afd6b20b60d8?upload=true.png

    Here are we I have tried so far. but, any of those are returning the data we want.

    - EnumDisplayDevices, EnumDisplayMonitors, GetMonitorInfo functions from Windows GDI.

    - Windows registry.

    :)
     
    MarkChoi, Dec 8, 2019
    #1
  2. KyleMit Win User

    Windows 10 - Change Display Numbers / Identity

    I can get to the display setting where I can re-order displays:


    How to get the Windows display identity number programmatically? VkWCB.png


    But is it possible to actually re-number them as well?

    The reason simply re-ordering doesn't fit my use case, is because other applications, like Skype, will use the original numbers and locations, which leads to some counterintuitive selections


    How to get the Windows display identity number programmatically? XGnEu.png


    All of these threads just suggest using display settings to shuffle monitors around:

     
    KyleMit, Dec 8, 2019
    #2
  3. Arun B J Win User
    Windows 10 Login Screen not respecting primary display. Identity Issues?

    Hi,



    I understand your concern and will assist you to resolve this issue.

    I suggest you to follow the steps below and check if it helps.


    • Press Windows +X.

    • Select Control panel.

    • Click on Display.

    • Select Change display settings at top left corner.

    • Click on Identify then you will be able to check the primary display.
    Keep us posted on this issue so that we can assist you better.
     
    Arun B J, Dec 8, 2019
    #3
  4. How to get the Windows display identity number programmatically?

    How does one change their monitor's "Identity Number"?

    I've been have problems that seems to be tied to Monitor Identity Numbers that fully ignores the settings for which monitor is set to main monitor. I have looked up for days through "Microsoft Support" and through the community in here
    (and in other places), and came to the conclusion that the majority of the answers I find are just ignorant people of what is actually being asked.

    My current monitors I have are as shown below, with their "Identity Numbers" and with the addition of stating which one is marked "Make This My Main Display":

    M422i-B1 (TV screen)

    Resolution: 1920 x 1080

    Monitor Identity Number: 1

    Acer LCD Monitor P201W (Computer Screen) "Main Display"

    Resolution: 1680 x 1050

    Monitor Identity Number: 2

    In the beginning prior to set-up, their "Identity Numbers" were originally swapped as the Acer was the original "Identity Number 1" screen, but now every time plug in a second screen (or monitor), it lists Acer as "#2". Despite the Acer Monitor is
    set to be the "Main Dispaly", almost all applications are opened up on my tv screen. The only way I can seem to remedy this is by moving them to the Acer Monitor and close the app on that one, but this would require to do upon right after logging into my pc.
    I
    have seen suggestions of using 3rd party applications for "Window Settings", only to be failed by the many versus the few stating that Windows OS supersede those settings in terms of "Monitor Identity".

    To state, a lot of people seem to assume that the "Monitor's Identity Number" is not important, but in terms of experience (that seems many has shared), that this is actually relevant to the system regardless of the display settings
    for what is marked as the "Main Display".
    I do hope I get a proper answer for a question that has been asked for 10 years that seems to have not been dodged and/or misunderstood.
    To add, I do not seek for the answer of going through display setting and moving the monitors around as that too is, painfully in truth, a sign of ignorance.

    I do apologize for typing up a long explanation, but sometimes, one needs to be detailed about the situation to show not just the big picture, but also the small ones the create the larger problem.
     
    RenardTheKitsune, Dec 8, 2019
    #4
Thema:

How to get the Windows display identity number programmatically?

Loading...
  1. How to get the Windows display identity number programmatically? - Similar Threads - display identity number

  2. How to change the monitor identities?

    in Windows 10 Graphic Cards
    How to change the monitor identities?: As the title says, I want to know how can I change my monitor's identities? I want the big monitor to be the number 1, and the small one to be number 2, if I made myself clear enough. Is there a way to do this? [img] 147758
  3. Display identically named computers in a Home network

    in Windows 10 Network and Sharing
    Display identically named computers in a Home network: Hi folks Is there any way to display identically named Windows computers on a Home network -- If I have 2 computers say named asgeir then only one appears in the network map even though both can logon and see other parts of the network. By computer name I'm referring to the...
  4. Windows PowerShell - Pin and Unpin Programmatically

    in Windows 10 Customization
    Windows PowerShell - Pin and Unpin Programmatically: Hey MS Community, I'm looking for a method to programmatically unpin Microsoft Edge and pin Internet Explorer. Currently, our vendors have sites that are only supported in Internet Explorer, and will result in an error if opened with Microsoft Edge. Since the two icons are...
  5. How to get rid of the number behind the ssid?

    in Windows 10 Network and Sharing
    How to get rid of the number behind the ssid?: So I had this problem for a while now, I mostly use tethering for internet access so I always turn it on and off and each time I did it the number increase. I know I can get rid of it from regedit, but is there any other way to do it? Also, I'm running windows 10 version...
  6. How to change Monitor Identities?!

    in Windows 10 Customization
    How to change Monitor Identities?!: I've been dealing with this issue for years and nobody has ever been able to confirm an answer. I am extremely disappointed that I am unable to change the identity of my monitors. The only TEMPORARY fix occurs when I uninstall my monitors, delete their registry keys, then...
  7. How to remove adminstrator identity

    in User Accounts and Family Safety
    How to remove adminstrator identity: I just purchased a new PC for my condo office. I made the mistake of using my personal email address when I set it up. Now my personal files can be seen on this machine. Is there any way to remove my identity from the machine? 77436
  8. No display number

    in Windows 10 Graphic Cards
    No display number: Hi. I have an HP notebook and wish to display screen on tv. When I plug in HDMI cable, the display appears on tv, but notebook display goes black. When I go into display settings there is no display number showing so I cannot select 1/2. It did display originally but some...
  9. Possible to re-assign monitor identities/numbers?

    in Windows 10 Graphic Cards
    Possible to re-assign monitor identities/numbers?: No matter what I do Windows always labels my secondary TV screen as my PC screen and vice versa. It's not really a problem in terms of functionality but it does annoy me that I can't change it. I've been through countless televisions and GPU's over the years but it always...
  10. monitor Display Identities.

    in Windows 10 Graphic Cards
    monitor Display Identities.: Hi, I have a AMD R9 280 video card. I am running Windows 10. I have a new LG 27" lcd desktop monitor, and a 40" Panasonic plasma wall mounted, for watching movies. Outputs from my vid card are hdmi out to lg, displayport out to hdmi in on my surround sound receiver that is...