The default image file name for Windows 7

I am looking for a place for images that are used in the following user accounts when a user logs on to Windows 7. Can someone point me in the right direction.

Below is a screenshot of which I am linking to: enter image description here

An arrangement is required so that I can add / edit / delete images through the program (for example, different icons for different types of employees.)

+4
source share
3 answers

Not a programming issue, but the layout looks like C:\ProgramData\Microsoft\User Account Pictures\Default Pictures .

+4
source

I only have access to Windows XP, but looking at the picturespage.js source code inside nusrmgr.cpl (the control panel applet for users), it downloads images using this code:

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

The 35 (0x23) namespace is apparently ssfCOMMONAPPDATA .

The "Common App Data" path is [usually] C:\Documents and Settings\All Users\Application Data\ in XP and C:\ProgramData\ in Vista and later. This path can be obtained through the Windows API by calling SHGetKnownFolderPath using CSIDL_COMMON_APPDATA .

+3
source

You can find it here:

All - default images

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

Standard - Administrator

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

a guest

 C:\ProgramData\Microsoft\User Account Pictures\guest.bmp 
+2
source

All Articles