Open in the explorer

Apply the default account picture to all users

Appliquer l’avatar de compte par défaut à tous les utilisateurs

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Control Panel › User Accounts FR: Configuration ordinateur › Stratégies › Modèles d'administration › Panneau de configuration › Comptes d’utilisateurs
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
Cpls.admx
Internal name
Cpls/UseDefaultTile

Explanation

This policy setting allows an administrator to standardize the account pictures for all users on a system to the default account picture. One application for this policy setting is to standardize the account pictures to a company logo.

Note: The default account picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. The default guest picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\guest.jpg. If the default pictures do not exist, an empty frame is displayed.

If you enable this policy setting, the default user account picture will display for all users on the system with no customization allowed.

If you disable or do not configure this policy setting, users will be able to customize their account pictures.

French text from Windows 11 26H2

Ce paramètre de stratégie permet à un administrateur d’appliquer l’avatar de compte standard à tous les utilisateurs d’un système. Ce paramètre de stratégie permet notamment d’utiliser en standard un logo d’entreprise comme avatar de compte.

Remarque : l’avatar de compte par défaut est enregistré dans le dossier %PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. L’avatar d’invité par défaut se trouve dans le dossier %PROGRAMDATA%\Microsoft\User Account Pictures\guest.jpg. Si les avatars par défaut n’existent pas, un cadre vide apparaît.

Si vous activez ce paramètre de stratégie, l’avatar du compte d’utilisateur par défaut s’affiche pour tous les utilisateurs du système et les personnalisations ne sont pas autorisées.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent personnaliser leur avatar de compte.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
UseDefaultTile
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: Cpls/UseDefaultTile
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseDefaultTile' -Value 1 -Type DWord

Disable

# Disable: Cpls/UseDefaultTile
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseDefaultTile' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Cpls/UseDefaultTile
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'UseDefaultTile' -ErrorAction SilentlyContinue

Availability