Set user account images in Windows 10

30 Jan

Just a bit more updating a branding on Windows 10 Pro devices. All are running 1709 and the standard grey user image was a little boring.


I first replaced the default image with company branded versions in the same dimensions. The images all live in %programdata%\Microsoft\User Account Pictures

The images to replace are:

  • guest.bmp (448 x 448px)
  • guest.jpg (448 x 448px)
  • guest.png (448 x 448px)
  • user.bmp (448 x 448px)
  • user.jpg (448 x 448px)
  • user.png (448 x 448px)
  • user-32.png (32 x 32px)
  • user-40.png (40 x 40px)
  • user-48.png (48 x 48px)
  • user-192.png (192 x 192px)

Next I set users that had photos to use this AD photo. I found a script for using AD photos, but these are currently all 96x96px and need to be under 100k and when these are scaled up they look a bit grainy.

As I already have a readable file share with all photos setup, I changed it slightly to use these instead.

First, create a GPO and set you logoff user script:

Once you’ve configured that there are likely a few other changes where users are not local admins.

In the same GPO, head to Computer Configuration > Policies > Windows Settings > Security Settings.

Under Registry Add a Key: MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users and give Users full control. Also, set it to “Replace existing permissions on all subkeys with inheritable permissions”

Then look under File System and add a new path for “%SystemDrive%\Users\Public\AccountPictures” and again give Users full access.

Next time the user logs out, it will create a sub-folder with their sid under C:\Users\Public\AccountPictures. These images will be saved in the registry and display for the given user.

I could still do with a way to change the login screen background in Windows 10 Pro.