User management of sharing user name, account picture, and domain information with apps (not desktop apps): registry value AllowUserInfoAccessComputerHKLM\Software\Policies\Microsoft\Windows\System

Policy ID
UserInfoAccessAction
Scope
Computer Configuration
Supported on
At least Windows Server 2012, Windows 8 or Windows RT
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › User Profiles

Registry

AllowUserInfoAccess

-Computer

AllowUserInfoAccess

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Action:
Options
ItemStored value
Always on1
Always off2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; Options (use only one)
; Always on
"AllowUserInfoAccess"=dword:00000001
; Always off
"AllowUserInfoAccess"=dword:00000002
CMD
:: Options (use only one)

:: Always on
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "AllowUserInfoAccess" /t REG_DWORD /d 1 /f
:: Always off
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "AllowUserInfoAccess" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Options (use only one)
# Always on
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'AllowUserInfoAccess' -PropertyType DWord -Value 1 -Force | Out-Null
# Always off
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'AllowUserInfoAccess' -PropertyType DWord -Value 2 -Force | Out-Null