Windows 7 Profile Default Image Files Location

13,796

Solution 1

Not really a programming question, but the location appears to be C:\ProgramData\Microsoft\User Account Pictures\Default Pictures.

Solution 2

I only have access to Windows XP here, but looking in the source code of picturespage.js inside nusrmgr.cpl (the users Control Panel applet), it loads the pictures using this code:

EnumPics(top.window.GetShell().NameSpace(35).Self.Path + "\\Microsoft\\User Account Pictures\\Default Pictures");

Namespace 35 (0x23) is apparently ssfCOMMONAPPDATA.

The 'Common App Data' path is [generally] C:\Documents and Settings\All Users\Application Data\ on XP, and C:\ProgramData\ on Vista and above. That path can retrieved through the Windows API by calling SHGetKnownFolderPath with CSIDL_COMMON_APPDATA.

Solution 3

You can find it here:

All - Default Pictures

C:\ProgramData\Microsoft\User Account Pictures\Default Pictures

Standard - Administrator

C:\ProgramData\Microsoft\User Account Pictures\user.bmp

Guest

C:\ProgramData\Microsoft\User Account Pictures\guest.bmp
Share:
13,796

Related videos on Youtube

James Oravec
Author by

James Oravec

I like egg rolls.

Updated on June 19, 2022

Comments

  • James Oravec
    James Oravec almost 2 years

    I'm looking for the location to the images that are used next user's accounts when a user logs into a windows 7 system. Can someone point me in the right direction.

    The following is a screenshot of the pictures I'm referring to: enter image description here

    Need the location so that I can add/edit/remove images via a program (E.g. Different icons for different employee types.)

  • James Oravec
    James Oravec about 11 years
    Need the location so I can add/remove/edit via programming :)

Related