When we setup a SharePoint environment without a
domain account or SharePoint setup in a domain which does not have a two way trust with corporate domain then people picker will not work. This issues
related to how SharePoint could communicate to active directory in order
retrieve the user information , when we use a local account it will not have
permission to talk to Active Directory so people picker will not work.
In SharePoint using stsadm command(unfortunately No
PowerShell script is available)we could set which account should be used when
people picker communicate to AD.
STSADM Command to set People Picker Search User
stsadm –o setapppassword
–password “Test”
Above command you could give
any phrase which will be used to encrypt the password
stsadm -o setproperty -url webapplicationurl
-pn peoplepicker-searchadforests -pv "domain:corp.abc.com,domain\username,password"
ex: stsadm -o setproperty -url http://localhost:6666
-pn peoplepicker-searchadforests -pv "domain:corp.abc.com,ABCAMERICA\SHYJU,111111"
Then run the following command to check it properly set

Join the conversation! Your thoughts help the community grow.