I use my credential provider for RDP login on server windows.
I customize UpdateRemoteCredential
to transport login data like as username and password. and I can login successfully by the user and pass:
pcpcsOut->ulAuthenticationPackage = pcpcsIn->ulAuthenticationPackage;
pcpcsOut->cbSerialization = pcpcsIn->cbSerialization;
pcpcsOut->rgbSerialization = pcpcsIn->rgbSerialization;
pcpcsOut->clsidCredentialProvider = CLSID_CSamanV2Provider;
if (pcpcsOut->cbSerialization > 0 && (pcpcsOut->rgbSerialization = static_cast<BYTE*>(CoTaskMemAlloc(pcpcsIn->cbSerialization))) != nullptr)
{
CopyMemory(pcpcsOut->rgbSerialization, pcpcsIn->rgbSerialization, pcpcsIn->cbSerialization);
return S_OK;
}
After do this, I create a new Initialize function to create a new tile and login auto.
_rgpCredentials[0]->Initialize(_cpus, s_rgCredProvFieldDescriptors, s_rgFieldStateNormalPairs, _dwCredUIFlags, wszDomain, wszUsername, wszPassword);
like above picture, the tile's title is "other user". How can I change this to user name that logon by rdp?
So, my question is:
If any way to create the new tile for a user (not Other User) on my scenario? or If any way to change the Other User big title on the my tile?