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
-ComputerHKLM\Software\Policies\Microsoft\Windows\System Current key
AllowUserInfoAccess
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\System Current key
- Enabled value
- Depends on the option value
- Element
- Action:
| Item | Stored value |
|---|---|
| Always on | 1 |
| Always off | 2 |
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