

You can use the Get-ADUser cmdlet from the ActiveDirectory module (this module must be installed on all computers via RSAT, or you can just copy the necessary RSAT-AD-PowerShell module files without installing RSAT). There are two ways to get user photo from AD. Then we need to run a PowerShell script that should get a photo of the current user from Active Directory, save it in a jpg file and set it as a Windows user profile picture.

PowerShell Script to Get the AD User’s Photo and Set the User Profile Picture in Windows 10

However, non-admin users don’t have the necessary permissions to add values to this registry key. In Windows 10 you can set the user account profile picture through the registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users. Providing Permissions to Users to Change Profile Picture in Windows We have considered in detail how to manage AD user photos using PowerShell in the article How to Import User Photo to Active Directory.
