How to locate local user account image path

Sachin Jose 61 Reputation points
2023-04-02T09:44:38.8033333+00:00

I am working on a task to customize windows custom credential provider. My requirement includes using the account image which is set from windows itself. I am facing an issue to locate the local user account image path. To set the default account image, I got the location: "C:\ProgramData\Microsoft\User Account Pictures\user.bmp". But for image set for each user I couldn't find the location. Most of the result says following is the path: "%appdata%\Microsoft\Windows\AccountPictures". But it isn't.

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

1 answer

Sort by: Most helpful
  1. Thomas Nielsen 146 Reputation points
    2023-04-02T14:44:32.44+00:00

    Hi @Sachin jose

    My profile picture is located here: "%appdata%\Microsoft\Windows\AccountPictures" but try to check out the registry setting: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture

    Best Regards

    Thomas

    https://www.techthatworks.net/


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.