Can this Device icon be changed in Win 7?

Discussion in 'Windows 7' started by triggat, Dec 16, 2009.

  1. triggat

    triggat MDL Member

    Feb 18, 2009
    199
    13
    10
    #1 triggat, Dec 16, 2009
    Last edited: Dec 16, 2009
  2. jbysmith

    jbysmith MDL Junior Member

    Feb 8, 2008
    79
    8
    0
    If you're comfortable with a resource editor, change icon #2061 in DDORes.DLL in your System32 folder.

    You might be able to fake it without a DLL hack. 7 keeps that information in "%LocalAppData%\Microsoft\Device Metadata\dmrccache\". I've zero experience with that area, toyed with it a bit and Windows kept reverting back to what it had. Maybe somebody has an idea for that option.
     
  3. genuine555

    genuine555 MDL Expert

    Oct 3, 2009
    1,672
    88
    60
    The best AND easiest way is the resource hack in DDores.dll, like mentioned in previous post.

    The how to can be easily derived from the thread in my sig.

    EDIT : if running win7 x64, then you need to do the hack also in c:\windows\syswow64\ddores.dll
     
  4. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    that means anything windows thinks should have that icon would be assigned a laptop icon
     
  5. Brandrune

    Brandrune MDL Addicted

    Jul 30, 2009
    528
    6
    30
    Anything relating to the laptop that uses that image will always be your appended image.
     
  6. genuine555

    genuine555 MDL Expert

    Oct 3, 2009
    1,672
    88
    60
    That icon isn't assigned anywhere else, as far as I know. Could be wrong though.
    #2068 in ddores.dll is a high res laptop icon. You could asssign that one to 2061 too. But do keep the original ddores.dll as a backup, just in case.
     
  7. triggat

    triggat MDL Member

    Feb 18, 2009
    199
    13
    10
  8. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    #8 FreeStyler, Dec 16, 2009
    Last edited by a moderator: Apr 20, 2017
  9. jbysmith

    jbysmith MDL Junior Member

    Feb 8, 2008
    79
    8
    0
    That worked perfectly. It does what I was looking at earlier, adds an entry in "%LocalAppData%\Microsoft\Device Metadata\dmrccache\" for the machine. (I had zero idea how to do that by hand.) Just supply your own icon. Nice find.
     
  10. triggat

    triggat MDL Member

    Feb 18, 2009
    199
    13
    10
    "%LocalAppData%\Microsoft\Device Metadata\dmrccache\" where is this located???
     
  11. jbysmith

    jbysmith MDL Junior Member

    Feb 8, 2008
    79
    8
    0
    Copy/paste that into an Explorer window address bar, minus the quotes. It'll take you right to it. (%LocalAppData% is a variable which changes depending on the user name, etc etc.. that was much easier than trying to explain where it is.)
     
  12. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    What about this dir?
    C:\ProgramData\Microsoft\Windows\DeviceMetadataStore\en-US

    Same file is in here on my installation
     
  13. genuine555

    genuine555 MDL Expert

    Oct 3, 2009
    1,672
    88
    60
    if it's a .mui file, you don't need to change that. It holds only language properties related to DDores.dll
     
  14. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
  15. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
  16. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
  17. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    nah it's not... its actually the devicemetadata-ms (cab) file containing the data which is inserted into "%LocalAppData%\Microsoft\Device Metadata\dmrccache\"

    DDores.dll??? i'm not using Resource Hacker or such... i've used the proper method
     
  18. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    #20 FreeStyler, Dec 17, 2009
    Last edited by a moderator: Apr 20, 2017