Where is stored lock screen default profile picture?

Discussion in 'Windows 11' started by n3ro97, Sep 28, 2023.

  1. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    #1 n3ro97, Sep 28, 2023
    Last edited: Sep 28, 2023
    It's not here:
    %AppData%\Microsoft\Windows\AccountPictures
    %ProgramData%\Microsoft\User Account Pictures
    %LocalAppData%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy
    So it has to be embedded as bitmap in some .dll because I cannot find it anywhere in image format file.
    Does anyone know where it can be exactly?
    I need it for OS custom modification purpose & ready to go deployment.
    UseDefaultTile "1" registry method is not a solution because it prevents user from changing profile picture through Settings App and if I'm not mistaken, it has other limitations.
     
  2. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,449
    1,344
    120
    Usually in C:\ProgramData\Microsoft\User Account Pictures (as .dat file) or Microsoft account (as picture).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    File USER.dat & defaultuser0.dat are 0 bytes, so it is not stored here.
     
  4. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    886
    385
    30
    C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_Z

    It takes years for Microsoft to resolve simple bugs in Windows 10 & 11 while they keep working hard to make everyone embrace these OS's.

    Lets see how long will it take for them to resolve that infamous defaultuser0
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    886
    385
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    Maybe here? C:\Windows\SystemResources, but idk which file. It is so many of them, I opened *.dll.mun files with ResourceHacker, but there is too many bitmap resources in each file. It's like looking for a needle in a haystack.
     
  7. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    886
    385
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. MrG

    MrG MDL Expert

    May 31, 2010
    1,430
    1,731
    60
    I just took a look they are at:
    You can find the pictures (without an extension, so you have to append .jpg) in:

    C:\Users\<Your_Username>\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

    I use a small app to copy to another folder & add the .jpg extension to them.
     
  9. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    182
    214
    10
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\UserManager\Users\1044477]
    "UserPicture"="C:\\Users\\<UserName>\\AppData\\Local\\Microsoft\\Windows\\AccountPicture\\UserImage.jpg"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    It does not work.
     
  11. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    #13 n3ro97, Sep 28, 2023
    Last edited: Sep 28, 2023
    (OP)
    I just said in 1st post, this directory doesn't contain lock screen default profile picture. There are only default profile pictures for apps, start menu, settings app, but not for lock screen default profile picture.
     
  12. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    is the any help ?

    upload_2023-9-28_21-32-13.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,449
    1,344
    120
    Yes, they have put this and a few other things in new places and I can't identify just now where exactly is the new place.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    I checked them all, nothing useful or related.
     
  15. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,449
    1,344
    120
    #18 kaljukass, Sep 28, 2023
    Last edited: Sep 28, 2023
    They have never been stored there. There are only Windows Spotlight images and some app icons (thumbnails actually, not icons). That's all.
    @n3ro97
    Look there, maybe they are in it.
    NB! This is a hidden folder.
    C:\Users\Public\AccountPictures\S-1-5-21-1237995652-4202878324-3148682802-1001
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
    Nope, AccountPictures folder is empty, besides desktop.ini file with:
    Code:
    [.ShellClassInfo]
    LocalizedResourceName=@C:\Windows\System32\Windows.UI.Immersive.dll,-38304
     
  17. MrG

    MrG MDL Expert

    May 31, 2010
    1,430
    1,731
    60
    From Win11 b25951

    Win11 b25951_ 4aLocalAccount_ 11d1Lock screens.jpg